Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index a1d720797cb7b4fe34a4edbdfd3b5db21b7565f5..fa82314f3b0e9c757b3af72e9231a6159f04d7e7 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -2286,7 +2286,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
{ |
Handle<JSFunction> fun = SimpleCreateFunction( |
isolate, factory->InternalizeUtf8String("[Symbol.replace]"), |
- Builtins::kRegExpPrototypeReplace, 2, true); |
+ Builtins::kRegExpPrototypeReplace, 2, false); |
InstallFunction(prototype, fun, factory->replace_symbol(), DONT_ENUM); |
} |
@@ -2300,7 +2300,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
{ |
Handle<JSFunction> fun = SimpleCreateFunction( |
isolate, factory->InternalizeUtf8String("[Symbol.split]"), |
- Builtins::kRegExpPrototypeSplit, 2, true); |
+ Builtins::kRegExpPrototypeSplit, 2, false); |
InstallFunction(prototype, fun, factory->split_symbol(), DONT_ENUM); |
} |