From: sandholm@chromium.org Date: Fri, 5 Nov 2010 13:33:12 +0000 (+0000) Subject: Another minor regexp cleanup. X-Git-Tag: upstream/4.7.83~20991 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8838fdea663552fc7b4ca9588830ced5226290f3;p=platform%2Fupstream%2Fv8.git Another minor regexp cleanup. Review URL: http://codereview.chromium.org/4577001 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5774 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/string.js b/src/string.js index 1f2255a..d82ce05 100644 --- a/src/string.js +++ b/src/string.js @@ -162,9 +162,6 @@ function StringMatch(regexp) { var subject = TO_STRING_INLINE(this); if (IS_REGEXP(regexp)) { if (!regexp.global) return regexp.exec(subject); - - var saveAnswer = false; - %_Log('regexp', 'regexp-match,%0S,%1r', [subject, regexp]); // lastMatchInfo is defined in regexp.js. return %StringMatch(subject, regexp, lastMatchInfo); @@ -562,8 +559,6 @@ function StringSplit(separator, limit) { return result; } - var saveAnswer = false; - %_Log('regexp', 'regexp-split,%0S,%1r', [subject, separator]); if (length === 0) {