Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: src/compiler/access-builder.h

Issue 2916063002: [turbofan] Optimize Function.prototype.bind for the common case. (Closed)
Patch Set: Address feedback. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/access-builder.h
diff --git a/src/compiler/access-builder.h b/src/compiler/access-builder.h
index b4c3ed0615883b085523f2cc08d755a83d2353b3..eb8dd50198b6d7c53b9e713d9e405059cbe525c4 100644
--- a/src/compiler/access-builder.h
+++ b/src/compiler/access-builder.h
@@ -73,6 +73,15 @@ class V8_EXPORT_PRIVATE AccessBuilder final
// Provides access to JSFunction::next_function_link() field.
static FieldAccess ForJSFunctionNextFunctionLink();
+ // Provides access to JSBoundFunction::bound_target_function() field.
+ static FieldAccess ForJSBoundFunctionBoundTargetFunction();
+
+ // Provides access to JSBoundFunction::bound_this() field.
+ static FieldAccess ForJSBoundFunctionBoundThis();
+
+ // Provides access to JSBoundFunction::bound_arguments() field.
+ static FieldAccess ForJSBoundFunctionBoundArguments();
+
// Provides access to JSGeneratorObject::context() field.
static FieldAccess ForJSGeneratorObjectContext();
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698