From 8838fdea663552fc7b4ca9588830ced5226290f3 Mon Sep 17 00:00:00 2001 From: "sandholm@chromium.org" Date: Fri, 5 Nov 2010 13:33:12 +0000 Subject: [PATCH] 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 --- src/string.js | 5 ----- 1 file changed, 5 deletions(-) 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) { -- 2.7.4