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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 BuildLdaLookupContextSlot(TypeofMode typeof_mode); |
| 135 void BuildLdaLookupGlobalSlot(TypeofMode typeof_mode); |
135 void BuildStaLookupSlot(LanguageMode language_mode); | 136 void BuildStaLookupSlot(LanguageMode language_mode); |
136 void BuildCall(TailCallMode tail_call_mode); | 137 void BuildCall(TailCallMode tail_call_mode); |
137 void BuildThrow(); | 138 void BuildThrow(); |
138 void BuildBinaryOp(const Operator* op); | 139 void BuildBinaryOp(const Operator* op); |
139 void BuildBinaryOpWithImmediate(const Operator* op); | 140 void BuildBinaryOpWithImmediate(const Operator* op); |
140 void BuildCompareOp(const Operator* op); | 141 void BuildCompareOp(const Operator* op); |
141 void BuildDelete(LanguageMode language_mode); | 142 void BuildDelete(LanguageMode language_mode); |
142 void BuildCastOperator(const Operator* op); | 143 void BuildCastOperator(const Operator* op); |
143 void BuildForInPrepare(); | 144 void BuildForInPrepare(); |
144 void BuildForInNext(); | 145 void BuildForInNext(); |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 static int const kBinaryOperationSmiHintIndex = 2; | 303 static int const kBinaryOperationSmiHintIndex = 2; |
303 | 304 |
304 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 305 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
305 }; | 306 }; |
306 | 307 |
307 } // namespace compiler | 308 } // namespace compiler |
308 } // namespace internal | 309 } // namespace internal |
309 } // namespace v8 | 310 } // namespace v8 |
310 | 311 |
311 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 312 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |