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.h" | 8 #include "src/compiler.h" |
9 #include "src/compiler/bytecode-branch-analysis.h" | 9 #include "src/compiler/bytecode-branch-analysis.h" |
10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 void BuildStoreGlobal(LanguageMode language_mode); | 117 void BuildStoreGlobal(LanguageMode language_mode); |
118 Node* BuildNamedLoad(); | 118 Node* BuildNamedLoad(); |
119 void BuildNamedStore(LanguageMode language_mode); | 119 void BuildNamedStore(LanguageMode language_mode); |
120 Node* BuildKeyedLoad(); | 120 Node* BuildKeyedLoad(); |
121 void BuildKeyedStore(LanguageMode language_mode); | 121 void BuildKeyedStore(LanguageMode language_mode); |
122 void BuildLdaLookupSlot(TypeofMode typeof_mode); | 122 void BuildLdaLookupSlot(TypeofMode typeof_mode); |
123 void BuildStaLookupSlot(LanguageMode language_mode); | 123 void BuildStaLookupSlot(LanguageMode language_mode); |
124 void BuildCall(TailCallMode tail_call_mode); | 124 void BuildCall(TailCallMode tail_call_mode); |
125 void BuildThrow(); | 125 void BuildThrow(); |
126 void BuildBinaryOp(const Operator* op); | 126 void BuildBinaryOp(const Operator* op); |
| 127 void BuildBinaryOpWithImmediate(const Operator* op); |
127 void BuildCompareOp(const Operator* op); | 128 void BuildCompareOp(const Operator* op); |
128 void BuildDelete(LanguageMode language_mode); | 129 void BuildDelete(LanguageMode language_mode); |
129 void BuildCastOperator(const Operator* op); | 130 void BuildCastOperator(const Operator* op); |
130 void BuildForInPrepare(); | 131 void BuildForInPrepare(); |
131 void BuildForInNext(); | 132 void BuildForInNext(); |
132 void BuildInvokeIntrinsic(); | 133 void BuildInvokeIntrinsic(); |
133 | 134 |
134 // Control flow plumbing. | 135 // Control flow plumbing. |
135 void BuildJump(); | 136 void BuildJump(); |
136 void BuildConditionalJump(Node* condition); | 137 void BuildConditionalJump(Node* condition); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 ZoneVector<Node*> exit_controls_; | 242 ZoneVector<Node*> exit_controls_; |
242 | 243 |
243 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 244 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
244 }; | 245 }; |
245 | 246 |
246 } // namespace compiler | 247 } // namespace compiler |
247 } // namespace internal | 248 } // namespace internal |
248 } // namespace v8 | 249 } // namespace v8 |
249 | 250 |
250 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 251 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |