Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 065b5dd70df308ec990e44ec51ee5c86296cd83f..8d8cb3d6a4552926ea741dcde65dded6f04dec6b 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1746,6 +1746,13 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
Builtins::kRegExpPrototypeSearch, 1, false); |
InstallFunction(prototype, fun, factory->search_symbol(), DONT_ENUM); |
} |
+ |
+ { |
+ Handle<JSFunction> fun = SimpleCreateFunction( |
+ isolate, factory->InternalizeUtf8String("[Symbol.split]"), |
+ Builtins::kRegExpPrototypeSplit, 2, false); |
+ InstallFunction(prototype, fun, factory->split_symbol(), DONT_ENUM); |
+ } |
} |
{ |