Revision: 3529
Author: [email protected]
Date: Mon Jan 4 03:24:03 2010
Log: Remove unused function and function declaration.
Review URL: http://codereview.chromium.org/523036
http://code.google.com/p/v8/source/detail?r=3529
Modified:
/branches/bleeding_edge/src/jsregexp.h
/branches/bleeding_edge/src/regexp-delay.js
=======================================
--- /branches/bleeding_edge/src/jsregexp.h Mon Nov 9 02:01:23 2009
+++ /branches/bleeding_edge/src/jsregexp.h Mon Jan 4 03:24:03 2010
@@ -75,13 +75,6 @@
int index,
Handle<JSArray> lastMatchInfo);
- // Call RegExp.prototyp.exec(string) in a loop.
- // Used by String.prototype.match and String.prototype.replace.
- // This function calls the garbage collector if necessary.
- static Handle<Object> ExecGlobal(Handle<JSRegExp> regexp,
- Handle<String> subject,
- Handle<JSArray> lastMatchInfo);
-
// Prepares a JSRegExp object with Irregexp-specific data.
static void IrregexpPrepare(Handle<JSRegExp> re,
Handle<String> pattern,
=======================================
--- /branches/bleeding_edge/src/regexp-delay.js Mon Jun 29 01:14:06 2009
+++ /branches/bleeding_edge/src/regexp-delay.js Mon Jan 4 03:24:03 2010
@@ -138,12 +138,6 @@
function DoRegExpExec(regexp, string, index) {
return %RegExpExec(regexp, string, index, lastMatchInfo);
}
-
-
-function DoRegExpExecGlobal(regexp, string) {
- // Returns an array of arrays of substring indices.
- return %RegExpExecGlobal(regexp, string, lastMatchInfo);
-}
function RegExpExec(string) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev