Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 6f5dcff189a37235eb57ea0ec26a8d18c136c5c4..f08d4a7beb90f2a9ab67dcd0e7b7600324847f00 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1444,6 +1444,7 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
InstallFunction(string_iterator_prototype, "next", JS_OBJECT_TYPE, |
JSObject::kHeaderSize, MaybeHandle<JSObject>(), |
Builtins::kStringIteratorPrototypeNext); |
+ next->shared()->set_builtin_function_id(kStringIteratorPrototypeNext); |
// Set the expected parameters for %StringIteratorPrototype%.next to 0 (not |
// including the receiver), as required by the builtin. |