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); | |
132 void BuildForInPrepare(); | 131 void BuildForInPrepare(); |
133 void BuildForInNext(); | 132 void BuildForInNext(); |
134 void BuildInvokeIntrinsic(); | 133 void BuildInvokeIntrinsic(); |
135 | 134 |
136 // Control flow plumbing. | 135 // Control flow plumbing. |
137 void BuildJump(); | 136 void BuildJump(); |
138 void BuildConditionalJump(Node* condition); | 137 void BuildConditionalJump(Node* condition); |
139 void BuildJumpIfEqual(Node* comperand); | 138 void BuildJumpIfEqual(Node* comperand); |
140 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); | 139 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); |
141 void BuildJumpIfNotHole(); | 140 void BuildJumpIfNotHole(); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 ZoneVector<Node*> exit_controls_; | 242 ZoneVector<Node*> exit_controls_; |
244 | 243 |
245 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 244 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
246 }; | 245 }; |
247 | 246 |
248 } // namespace compiler | 247 } // namespace compiler |
249 } // namespace internal | 248 } // namespace internal |
250 } // namespace v8 | 249 } // namespace v8 |
251 | 250 |
252 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 251 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |