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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 Node* BuildKeyedLoad(); | 121 Node* BuildKeyedLoad(); |
122 void BuildKeyedStore(LanguageMode language_mode); | 122 void BuildKeyedStore(LanguageMode language_mode); |
123 void BuildLdaLookupSlot(TypeofMode typeof_mode); | 123 void BuildLdaLookupSlot(TypeofMode typeof_mode); |
124 void BuildStaLookupSlot(LanguageMode language_mode); | 124 void BuildStaLookupSlot(LanguageMode language_mode); |
125 void BuildCall(TailCallMode tail_call_mode); | 125 void BuildCall(TailCallMode tail_call_mode); |
126 void BuildThrow(); | 126 void BuildThrow(); |
127 void BuildBinaryOp(const Operator* op); | 127 void BuildBinaryOp(const Operator* op); |
128 void BuildBinaryOpWithImmediate(const Operator* op); | 128 void BuildBinaryOpWithImmediate(const Operator* op); |
129 void BuildCompareOp(const Operator* op); | 129 void BuildCompareOp(const Operator* op); |
130 void BuildDelete(LanguageMode language_mode); | 130 void BuildDelete(LanguageMode language_mode); |
| 131 void BuildCastOperator(const Operator* op); |
131 void BuildForInPrepare(); | 132 void BuildForInPrepare(); |
132 void BuildForInNext(); | 133 void BuildForInNext(); |
133 void BuildInvokeIntrinsic(); | 134 void BuildInvokeIntrinsic(); |
134 | 135 |
135 // Control flow plumbing. | 136 // Control flow plumbing. |
136 void BuildJump(); | 137 void BuildJump(); |
137 void BuildConditionalJump(Node* condition); | 138 void BuildConditionalJump(Node* condition); |
138 void BuildJumpIfEqual(Node* comperand); | 139 void BuildJumpIfEqual(Node* comperand); |
139 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); | 140 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); |
140 void BuildJumpIfNotHole(); | 141 void BuildJumpIfNotHole(); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 ZoneVector<Node*> exit_controls_; | 244 ZoneVector<Node*> exit_controls_; |
244 | 245 |
245 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 246 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
246 }; | 247 }; |
247 | 248 |
248 } // namespace compiler | 249 } // namespace compiler |
249 } // namespace internal | 250 } // namespace internal |
250 } // namespace v8 | 251 } // namespace v8 |
251 | 252 |
252 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 253 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |