| Index: src/v8natives.js
|
| diff --git a/src/v8natives.js b/src/v8natives.js
|
| index 490f39f4b4a2b95a2b9aa227204ad38a1ac0144e..1acc922a2dd68cee474330d5a2b7202708fd7621 100644
|
| --- a/src/v8natives.js
|
| +++ b/src/v8natives.js
|
| @@ -1843,7 +1843,7 @@ function NewFunctionFromString(arguments, function_token) {
|
| // If the formal parameters string include ) - an illegal
|
| // character - it may make the combined function expression
|
| // compile. We avoid this problem by checking for this early on.
|
| - if (%_CallFunction(p, ')', StringIndexOfJS) != -1) {
|
| + if (%_CallFunction(p, ')', $stringIndexOf) != -1) {
|
| throw MakeSyntaxError('paren_in_arg_string', []);
|
| }
|
| // If the formal parameters include an unbalanced block comment, the
|
|
|