Commit 88ba93d9 authored by kasperl@chromium.org's avatar kasperl@chromium.org

Remove unused function and function declaration.

Review URL: http://codereview.chromium.org/523036

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3529 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent fd03f6c1
...@@ -75,13 +75,6 @@ class RegExpImpl { ...@@ -75,13 +75,6 @@ class RegExpImpl {
int index, int index,
Handle<JSArray> lastMatchInfo); 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. // Prepares a JSRegExp object with Irregexp-specific data.
static void IrregexpPrepare(Handle<JSRegExp> re, static void IrregexpPrepare(Handle<JSRegExp> re,
Handle<String> pattern, Handle<String> pattern,
......
...@@ -140,12 +140,6 @@ function DoRegExpExec(regexp, string, index) { ...@@ -140,12 +140,6 @@ function DoRegExpExec(regexp, string, index) {
} }
function DoRegExpExecGlobal(regexp, string) {
// Returns an array of arrays of substring indices.
return %RegExpExecGlobal(regexp, string, lastMatchInfo);
}
function RegExpExec(string) { function RegExpExec(string) {
if (!IS_REGEXP(this)) { if (!IS_REGEXP(this)) {
throw MakeTypeError('method_called_on_incompatible', throw MakeTypeError('method_called_on_incompatible',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment