| Index: src/regexp.js
|
| diff --git a/src/regexp.js b/src/regexp.js
|
| index 8a805b0a19b487781e2ae95c5b6220a2fd051207..86f55cfc7673afbfd7c3ad976ec26d5728ce9ab4 100644
|
| --- a/src/regexp.js
|
| +++ b/src/regexp.js
|
| @@ -381,7 +381,7 @@ var lastMatchInfoOverride = null;
|
| function SetUpRegExp() {
|
| %CheckIsBootstrapping();
|
| %FunctionSetInstanceClassName($RegExp, 'RegExp');
|
| - %SetProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM);
|
| + %DefineProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM);
|
| %SetCode($RegExp, RegExpConstructor);
|
|
|
| InstallFunctions($RegExp.prototype, DONT_ENUM, $Array(
|
|
|