| Index: src/regexp.js
|
| diff --git a/src/regexp.js b/src/regexp.js
|
| index 9f5056bc5371807b7c6695b2e48276e101fea9bb..9f89a6a1ac20863b98d5165003277776af7de7c3 100644
|
| --- a/src/regexp.js
|
| +++ b/src/regexp.js
|
| @@ -55,8 +55,8 @@
|
| pattern = pattern.source;
|
| }
|
|
|
| - pattern = IS_UNDEFINED(pattern) ? '' : $toString(pattern);
|
| - flags = IS_UNDEFINED(flags) ? '' : $toString(flags);
|
| + pattern = IS_UNDEFINED(pattern) ? '' : ToString(pattern);
|
| + flags = IS_UNDEFINED(flags) ? '' : ToString(flags);
|
|
|
| %RegExpInitializeAndCompile(object, pattern, flags);
|
| }
|
| @@ -381,7 +381,7 @@
|
| return IS_UNDEFINED(regExpInput) ? "" : regExpInput;
|
| };
|
| var RegExpSetInput = function(string) {
|
| - LAST_INPUT($regexpLastMatchInfo) = $toString(string);
|
| + LAST_INPUT($regexpLastMatchInfo) = ToString(string);
|
| };
|
|
|
| %OptimizeObjectForAddingMultipleProperties(GlobalRegExp, 22);
|
|
|