aboutsummaryrefslogtreecommitdiff
path: root/src/regexp.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/regexp.js')
-rw-r--r--src/regexp.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regexp.js b/src/regexp.js
index a7f42d59..38d44961 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();