Index: src/regexp.js |
diff --git a/src/regexp.js b/src/regexp.js |
index a7f42d59c25ef2e5723df1ac70db16ab05aeb13b..38d4496153909f41d98ada01cd18ee5fa367fe63 100644 |
--- a/src/regexp.js |
+++ b/src/regexp.js |
@@ -405,7 +405,8 @@ var lastMatchInfoOverride = null; |
// ------------------------------------------------------------------- |
-function SetupRegExp() { |
+function SetUpRegExp() { |
+ %CheckIsBootstrapping(); |
%FunctionSetInstanceClassName($RegExp, 'RegExp'); |
%FunctionSetPrototype($RegExp, new $Object()); |
%SetProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM); |
@@ -484,5 +485,4 @@ function SetupRegExp() { |
} |
} |
- |
-SetupRegExp(); |
+SetUpRegExp(); |