Index: src/regexp.js |
diff --git a/src/regexp.js b/src/regexp.js |
index 0d42b3acff3eabdca3e05ff5660274e8bebebb7e..0f49c3f80ebef2689550642f05d9be32a2e90cd8 100644 |
--- a/src/regexp.js |
+++ b/src/regexp.js |
@@ -145,7 +145,7 @@ function RegExpExecNoTests(regexp, string, start) { |
} |
-function RegExpExec(string) { |
+function RegExpExecJS(string) { |
if (!IS_REGEXP(this)) { |
throw MakeTypeError('incompatible_method_receiver', |
['RegExp.prototype.exec', this]); |
@@ -365,7 +365,7 @@ function RegExpMakeCaptureGetter(n) { |
%SetCode(GlobalRegExp, RegExpConstructor); |
InstallFunctions(GlobalRegExp.prototype, DONT_ENUM, GlobalArray( |
- "exec", RegExpExec, |
+ "exec", RegExpExecJS, |
"test", RegExpTest, |
"toString", RegExpToString, |
"compile", RegExpCompileJS |