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

Side by Side 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, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/access-builder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_ 5 #ifndef V8_COMPILER_ACCESS_BUILDER_H_
6 #define V8_COMPILER_ACCESS_BUILDER_H_ 6 #define V8_COMPILER_ACCESS_BUILDER_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/elements-kind.h" 10 #include "src/elements-kind.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 // Provides access to JSFunction::feedback_vector() field. 67 // Provides access to JSFunction::feedback_vector() field.
68 static FieldAccess ForJSFunctionFeedbackVector(); 68 static FieldAccess ForJSFunctionFeedbackVector();
69 69
70 // Provides access to JSFunction::code() field. 70 // Provides access to JSFunction::code() field.
71 static FieldAccess ForJSFunctionCodeEntry(); 71 static FieldAccess ForJSFunctionCodeEntry();
72 72
73 // Provides access to JSFunction::next_function_link() field. 73 // Provides access to JSFunction::next_function_link() field.
74 static FieldAccess ForJSFunctionNextFunctionLink(); 74 static FieldAccess ForJSFunctionNextFunctionLink();
75 75
76 // Provides access to JSBoundFunction::bound_target_function() field.
77 static FieldAccess ForJSBoundFunctionBoundTargetFunction();
78
79 // Provides access to JSBoundFunction::bound_this() field.
80 static FieldAccess ForJSBoundFunctionBoundThis();
81
82 // Provides access to JSBoundFunction::bound_arguments() field.
83 static FieldAccess ForJSBoundFunctionBoundArguments();
84
76 // Provides access to JSGeneratorObject::context() field. 85 // Provides access to JSGeneratorObject::context() field.
77 static FieldAccess ForJSGeneratorObjectContext(); 86 static FieldAccess ForJSGeneratorObjectContext();
78 87
79 // Provides access to JSGeneratorObject::continuation() field. 88 // Provides access to JSGeneratorObject::continuation() field.
80 static FieldAccess ForJSGeneratorObjectContinuation(); 89 static FieldAccess ForJSGeneratorObjectContinuation();
81 90
82 // Provides access to JSGeneratorObject::input_or_debug_pos() field. 91 // Provides access to JSGeneratorObject::input_or_debug_pos() field.
83 static FieldAccess ForJSGeneratorObjectInputOrDebugPos(); 92 static FieldAccess ForJSGeneratorObjectInputOrDebugPos();
84 93
85 // Provides access to JSGeneratorObject::register_file() field. 94 // Provides access to JSGeneratorObject::register_file() field.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 289
281 private: 290 private:
282 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder); 291 DISALLOW_IMPLICIT_CONSTRUCTORS(AccessBuilder);
283 }; 292 };
284 293
285 } // namespace compiler 294 } // namespace compiler
286 } // namespace internal 295 } // namespace internal
287 } // namespace v8 296 } // namespace v8
288 297
289 #endif // V8_COMPILER_ACCESS_BUILDER_H_ 298 #endif // V8_COMPILER_ACCESS_BUILDER_H_
OLDNEW
« 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