| Index: src/regexp.js
|
| diff --git a/src/regexp.js b/src/regexp.js
|
| index 9d36411a63109cd95c0d7b58b96f796059c10f13..38d4496153909f41d98ada01cd18ee5fa367fe63 100644
|
| --- a/src/regexp.js
|
| +++ b/src/regexp.js
|
| @@ -408,9 +408,9 @@ var lastMatchInfoOverride = null;
|
| function SetUpRegExp() {
|
| %CheckIsBootstrapping();
|
| %FunctionSetInstanceClassName($RegExp, 'RegExp');
|
| + %FunctionSetPrototype($RegExp, new $Object());
|
| %SetProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM);
|
| %SetCode($RegExp, RegExpConstructor);
|
| - %FunctionSetPrototype($RegExp, new $RegExp());
|
|
|
| InstallFunctions($RegExp.prototype, DONT_ENUM, $Array(
|
| "exec", RegExpExec,
|
|
|