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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 void BuildCallRuntime(); | 128 void BuildCallRuntime(); |
129 void BuildCallRuntimeForPair(); | 129 void BuildCallRuntimeForPair(); |
130 void BuildCallConstruct(); | 130 void BuildCallConstruct(); |
131 void BuildThrow(); | 131 void BuildThrow(); |
132 void BuildBinaryOp(const Operator* op); | 132 void BuildBinaryOp(const Operator* op); |
133 void BuildCompareOp(const Operator* op); | 133 void BuildCompareOp(const Operator* op); |
134 void BuildDelete(LanguageMode language_mode); | 134 void BuildDelete(LanguageMode language_mode); |
135 void BuildCastOperator(const Operator* op); | 135 void BuildCastOperator(const Operator* op); |
136 void BuildForInPrepare(); | 136 void BuildForInPrepare(); |
137 void BuildForInNext(); | 137 void BuildForInNext(); |
| 138 void BuildInvokeIntrinsic(); |
138 | 139 |
139 // Control flow plumbing. | 140 // Control flow plumbing. |
140 void BuildJump(); | 141 void BuildJump(); |
141 void BuildConditionalJump(Node* condition); | 142 void BuildConditionalJump(Node* condition); |
142 void BuildJumpIfEqual(Node* comperand); | 143 void BuildJumpIfEqual(Node* comperand); |
143 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); | 144 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); |
144 void BuildJumpIfNotHole(); | 145 void BuildJumpIfNotHole(); |
145 | 146 |
146 // Simulates control flow by forward-propagating environments. | 147 // Simulates control flow by forward-propagating environments. |
147 void MergeIntoSuccessorEnvironment(int target_offset); | 148 void MergeIntoSuccessorEnvironment(int target_offset); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 ZoneVector<Node*> exit_controls_; | 251 ZoneVector<Node*> exit_controls_; |
251 | 252 |
252 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 253 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
253 }; | 254 }; |
254 | 255 |
255 } // namespace compiler | 256 } // namespace compiler |
256 } // namespace internal | 257 } // namespace internal |
257 } // namespace v8 | 258 } // namespace v8 |
258 | 259 |
259 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 260 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |