OLD | NEW |
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_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 5 #ifndef V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 6 #define V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
7 | 7 |
8 #include "src/compiler/bytecode-branch-analysis.h" | 8 #include "src/compiler/bytecode-branch-analysis.h" |
9 #include "src/compiler/bytecode-loop-analysis.h" | 9 #include "src/compiler/bytecode-loop-analysis.h" |
10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 void BuildCreateLiteral(const Operator* op); | 124 void BuildCreateLiteral(const Operator* op); |
125 void BuildCreateArguments(CreateArgumentsType type); | 125 void BuildCreateArguments(CreateArgumentsType type); |
126 Node* BuildLoadContextSlot(); | 126 Node* BuildLoadContextSlot(); |
127 Node* BuildLoadGlobal(TypeofMode typeof_mode); | 127 Node* BuildLoadGlobal(TypeofMode typeof_mode); |
128 void BuildStoreGlobal(LanguageMode language_mode); | 128 void BuildStoreGlobal(LanguageMode language_mode); |
129 Node* BuildNamedLoad(); | 129 Node* BuildNamedLoad(); |
130 void BuildNamedStore(LanguageMode language_mode); | 130 void BuildNamedStore(LanguageMode language_mode); |
131 Node* BuildKeyedLoad(); | 131 Node* BuildKeyedLoad(); |
132 void BuildKeyedStore(LanguageMode language_mode); | 132 void BuildKeyedStore(LanguageMode language_mode); |
133 void BuildLdaLookupSlot(TypeofMode typeof_mode); | 133 void BuildLdaLookupSlot(TypeofMode typeof_mode); |
| 134 void BuildLdaLookupContextSlot(TypeofMode typeof_mode); |
134 void BuildStaLookupSlot(LanguageMode language_mode); | 135 void BuildStaLookupSlot(LanguageMode language_mode); |
135 void BuildCall(TailCallMode tail_call_mode); | 136 void BuildCall(TailCallMode tail_call_mode); |
136 void BuildThrow(); | 137 void BuildThrow(); |
137 void BuildBinaryOp(const Operator* op); | 138 void BuildBinaryOp(const Operator* op); |
138 void BuildBinaryOpWithImmediate(const Operator* op); | 139 void BuildBinaryOpWithImmediate(const Operator* op); |
139 void BuildCompareOp(const Operator* op); | 140 void BuildCompareOp(const Operator* op); |
140 void BuildDelete(LanguageMode language_mode); | 141 void BuildDelete(LanguageMode language_mode); |
141 void BuildCastOperator(const Operator* op); | 142 void BuildCastOperator(const Operator* op); |
142 void BuildForInPrepare(); | 143 void BuildForInPrepare(); |
143 void BuildForInNext(); | 144 void BuildForInNext(); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 static int const kBinaryOperationSmiHintIndex = 2; | 302 static int const kBinaryOperationSmiHintIndex = 2; |
302 | 303 |
303 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 304 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
304 }; | 305 }; |
305 | 306 |
306 } // namespace compiler | 307 } // namespace compiler |
307 } // namespace internal | 308 } // namespace internal |
308 } // namespace v8 | 309 } // namespace v8 |
309 | 310 |
310 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 311 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |