Chromium Code Reviews

Unified Diff: src/bootstrapper.cc

Issue 2373983004: [turbofan] inline %StringIteratorPrototype%.next in JSBuiltinReducer. (Closed)
Patch Set: some readability changes Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/compiler/access-builder.h » ('j') | src/compiler/js-builtin-reducer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/bootstrapper.cc
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc
index 16e77300a03ab6ba622b11a0d403dee8fa7bb42e..9ba985a759520326b181788f2e7b586b327c3b44 100644
--- a/src/bootstrapper.cc
+++ b/src/bootstrapper.cc
@@ -1442,6 +1442,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.
« no previous file with comments | « no previous file | src/compiler/access-builder.h » ('j') | src/compiler/js-builtin-reducer.cc » ('J')

Powered by Google App Engine