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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 Node* ProcessCallArguments(const Operator* call_op, Node* callee, | 104 Node* ProcessCallArguments(const Operator* call_op, Node* callee, |
105 interpreter::Register receiver, size_t arity); | 105 interpreter::Register receiver, size_t arity); |
106 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee, | 106 Node* ProcessCallNewArguments(const Operator* call_new_op, Node* callee, |
107 Node* new_target, | 107 Node* new_target, |
108 interpreter::Register first_arg, size_t arity); | 108 interpreter::Register first_arg, size_t arity); |
109 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, | 109 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, |
110 interpreter::Register first_arg, | 110 interpreter::Register first_arg, |
111 size_t arity); | 111 size_t arity); |
112 | 112 |
113 void BuildCreateLiteral(const Operator* op); | 113 void BuildCreateLiteral(const Operator* op); |
114 void BuildCreateRegExpLiteral(); | |
115 void BuildCreateArrayLiteral(); | |
116 void BuildCreateObjectLiteral(); | |
117 void BuildCreateArguments(CreateArgumentsType type); | 114 void BuildCreateArguments(CreateArgumentsType type); |
118 void BuildLoadGlobal(TypeofMode typeof_mode); | 115 void BuildLoadGlobal(TypeofMode typeof_mode); |
119 void BuildStoreGlobal(LanguageMode language_mode); | 116 void BuildStoreGlobal(LanguageMode language_mode); |
120 void BuildNamedLoad(); | 117 void BuildNamedLoad(); |
121 void BuildKeyedLoad(); | 118 void BuildKeyedLoad(); |
122 void BuildNamedStore(LanguageMode language_mode); | 119 void BuildNamedStore(LanguageMode language_mode); |
123 void BuildKeyedStore(LanguageMode language_mode); | 120 void BuildKeyedStore(LanguageMode language_mode); |
124 void BuildLdaLookupSlot(TypeofMode typeof_mode); | 121 void BuildLdaLookupSlot(TypeofMode typeof_mode); |
125 void BuildStaLookupSlot(LanguageMode language_mode); | 122 void BuildStaLookupSlot(LanguageMode language_mode); |
126 void BuildCall(TailCallMode tail_call_mode); | 123 void BuildCall(TailCallMode tail_call_mode); |
127 void BuildCallJSRuntime(); | |
128 void BuildCallRuntime(); | |
129 void BuildCallRuntimeForPair(); | |
130 void BuildCallConstruct(); | |
131 void BuildThrow(); | 124 void BuildThrow(); |
132 void BuildBinaryOp(const Operator* op); | 125 void BuildBinaryOp(const Operator* op); |
133 void BuildCompareOp(const Operator* op); | 126 void BuildCompareOp(const Operator* op); |
134 void BuildDelete(LanguageMode language_mode); | 127 void BuildDelete(LanguageMode language_mode); |
135 void BuildCastOperator(const Operator* op); | 128 void BuildCastOperator(const Operator* op); |
136 void BuildForInPrepare(); | 129 void BuildForInPrepare(); |
137 void BuildForInNext(); | 130 void BuildForInNext(); |
138 | 131 |
139 // Control flow plumbing. | 132 // Control flow plumbing. |
140 void BuildJump(); | 133 void BuildJump(); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 ZoneVector<Node*> exit_controls_; | 243 ZoneVector<Node*> exit_controls_; |
251 | 244 |
252 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 245 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
253 }; | 246 }; |
254 | 247 |
255 } // namespace compiler | 248 } // namespace compiler |
256 } // namespace internal | 249 } // namespace internal |
257 } // namespace v8 | 250 } // namespace v8 |
258 | 251 |
259 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 252 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |