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

Side by Side Diff: src/interpreter/bytecode-generator.h

Issue 1412953007: [Interpreter] Fill out function prologue support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 5 years, 2 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 | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_INTERPRETER_BYTECODE_GENERATOR_H_ 5 #ifndef V8_INTERPRETER_BYTECODE_GENERATOR_H_
6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_ 6 #define V8_INTERPRETER_BYTECODE_GENERATOR_H_
7 7
8 #include "src/ast.h" 8 #include "src/ast.h"
9 #include "src/interpreter/bytecode-array-builder.h" 9 #include "src/interpreter/bytecode-array-builder.h"
10 #include "src/interpreter/bytecodes.h" 10 #include "src/interpreter/bytecodes.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void VisitPropertyLoad(Register obj, Property* expr); 58 void VisitPropertyLoad(Register obj, Property* expr);
59 void VisitPropertyLoadForAccumulator(Register obj, Property* expr); 59 void VisitPropertyLoadForAccumulator(Register obj, Property* expr);
60 60
61 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot); 61 void VisitVariableLoad(Variable* variable, FeedbackVectorSlot slot);
62 void VisitVariableLoadForAccumulatorValue(Variable* variable, 62 void VisitVariableLoadForAccumulatorValue(Variable* variable,
63 FeedbackVectorSlot slot); 63 FeedbackVectorSlot slot);
64 MUST_USE_RESULT Register VisitVariableLoadForRegisterValue( 64 MUST_USE_RESULT Register VisitVariableLoadForRegisterValue(
65 Variable* variable, FeedbackVectorSlot slot); 65 Variable* variable, FeedbackVectorSlot slot);
66 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot); 66 void VisitVariableAssignment(Variable* variable, FeedbackVectorSlot slot);
67 67
68 void VisitArgumentsObject(Variable* variable);
69 void VisitThisFunctionVariable(Variable* variable);
70 void VisitNewTargetVariable(Variable* variable);
68 void VisitNewLocalFunctionContext(); 71 void VisitNewLocalFunctionContext();
69 void VisitBuildLocalActivationContext(); 72 void VisitBuildLocalActivationContext();
70 void VisitNewLocalBlockContext(Scope* scope); 73 void VisitNewLocalBlockContext(Scope* scope);
71 void VisitFunctionClosureForContext(); 74 void VisitFunctionClosureForContext();
72 void VisitSetHomeObject(Register value, Register home_object, 75 void VisitSetHomeObject(Register value, Register home_object,
73 ObjectLiteralProperty* property, int slot_number = 0); 76 ObjectLiteralProperty* property, int slot_number = 0);
74 void VisitObjectLiteralAccessor(Register home_object, 77 void VisitObjectLiteralAccessor(Register home_object,
75 ObjectLiteralProperty* property, 78 ObjectLiteralProperty* property,
76 Register value_out); 79 Register value_out);
77 80
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 133
131 int binary_expression_depth_; 134 int binary_expression_depth_;
132 ZoneSet<int> binary_expression_hazard_set_; 135 ZoneSet<int> binary_expression_hazard_set_;
133 }; 136 };
134 137
135 } // namespace interpreter 138 } // namespace interpreter
136 } // namespace internal 139 } // namespace internal
137 } // namespace v8 140 } // namespace v8
138 141
139 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_ 142 #endif // V8_INTERPRETER_BYTECODE_GENERATOR_H_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-array-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698