| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, | 115 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, |
| 116 interpreter::Register first_arg, | 116 interpreter::Register first_arg, |
| 117 size_t arity); | 117 size_t arity); |
| 118 | 118 |
| 119 void BuildCreateLiteral(const Operator* op); | 119 void BuildCreateLiteral(const Operator* op); |
| 120 void BuildCreateRegExpLiteral(); | 120 void BuildCreateRegExpLiteral(); |
| 121 void BuildCreateArrayLiteral(); | 121 void BuildCreateArrayLiteral(); |
| 122 void BuildCreateObjectLiteral(); | 122 void BuildCreateObjectLiteral(); |
| 123 void BuildCreateArguments(CreateArgumentsType type); | 123 void BuildCreateArguments(CreateArgumentsType type); |
| 124 void BuildLoadGlobal(TypeofMode typeof_mode); | 124 void BuildLoadGlobal(TypeofMode typeof_mode); |
| 125 void BuildStoreGlobal(); | 125 void BuildStoreGlobal(LanguageMode language_mode); |
| 126 void BuildNamedLoad(); | 126 void BuildNamedLoad(); |
| 127 void BuildKeyedLoad(); | 127 void BuildKeyedLoad(); |
| 128 void BuildNamedStore(); | 128 void BuildNamedStore(LanguageMode language_mode); |
| 129 void BuildKeyedStore(); | 129 void BuildKeyedStore(LanguageMode language_mode); |
| 130 void BuildLdaLookupSlot(TypeofMode typeof_mode); | 130 void BuildLdaLookupSlot(TypeofMode typeof_mode); |
| 131 void BuildStaLookupSlot(LanguageMode language_mode); | 131 void BuildStaLookupSlot(LanguageMode language_mode); |
| 132 void BuildCall(); | 132 void BuildCall(); |
| 133 void BuildCallJSRuntime(); | 133 void BuildCallJSRuntime(); |
| 134 void BuildCallRuntime(); | 134 void BuildCallRuntime(); |
| 135 void BuildCallRuntimeForPair(); | 135 void BuildCallRuntimeForPair(); |
| 136 void BuildCallConstruct(); | 136 void BuildCallConstruct(); |
| 137 void BuildThrow(); | 137 void BuildThrow(); |
| 138 void BuildBinaryOp(const Operator* op); | 138 void BuildBinaryOp(const Operator* op); |
| 139 void BuildCompareOp(const Operator* op); | 139 void BuildCompareOp(const Operator* op); |
| 140 void BuildDelete(); | 140 void BuildDelete(LanguageMode language_mode); |
| 141 void BuildCastOperator(const Operator* op); | 141 void BuildCastOperator(const Operator* op); |
| 142 void BuildForInPrepare(); | 142 void BuildForInPrepare(); |
| 143 void BuildForInNext(); | 143 void BuildForInNext(); |
| 144 | 144 |
| 145 // Control flow plumbing. | 145 // Control flow plumbing. |
| 146 void BuildJump(); | 146 void BuildJump(); |
| 147 void BuildConditionalJump(Node* condition); | 147 void BuildConditionalJump(Node* condition); |
| 148 void BuildJumpIfEqual(Node* comperand); | 148 void BuildJumpIfEqual(Node* comperand); |
| 149 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); | 149 void BuildJumpIfToBooleanEqual(Node* boolean_comperand); |
| 150 | 150 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 ZoneVector<Node*> exit_controls_; | 253 ZoneVector<Node*> exit_controls_; |
| 254 | 254 |
| 255 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 255 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
| 256 }; | 256 }; |
| 257 | 257 |
| 258 } // namespace compiler | 258 } // namespace compiler |
| 259 } // namespace internal | 259 } // namespace internal |
| 260 } // namespace v8 | 260 } // namespace v8 |
| 261 | 261 |
| 262 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 262 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
| OLD | NEW |