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 interpreter::Register callee, | 115 interpreter::Register callee, |
116 interpreter::Register first_arg, size_t arity); | 116 interpreter::Register first_arg, size_t arity); |
117 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, | 117 Node* ProcessCallRuntimeArguments(const Operator* call_runtime_op, |
118 interpreter::Register first_arg, | 118 interpreter::Register first_arg, |
119 size_t arity); | 119 size_t arity); |
120 | 120 |
121 void BuildCreateLiteral(const Operator* op); | 121 void BuildCreateLiteral(const Operator* op); |
122 void BuildCreateRegExpLiteral(); | 122 void BuildCreateRegExpLiteral(); |
123 void BuildCreateArrayLiteral(); | 123 void BuildCreateArrayLiteral(); |
124 void BuildCreateObjectLiteral(); | 124 void BuildCreateObjectLiteral(); |
125 void BuildCreateArguments(CreateArgumentsParameters::Type type); | 125 void BuildCreateArguments(CreateArgumentsParameters::Type type, int index); |
126 void BuildLoadGlobal(TypeofMode typeof_mode); | 126 void BuildLoadGlobal(TypeofMode typeof_mode); |
127 void BuildStoreGlobal(); | 127 void BuildStoreGlobal(); |
128 void BuildNamedLoad(); | 128 void BuildNamedLoad(); |
129 void BuildKeyedLoad(); | 129 void BuildKeyedLoad(); |
130 void BuildNamedStore(); | 130 void BuildNamedStore(); |
131 void BuildKeyedStore(); | 131 void BuildKeyedStore(); |
132 void BuildLdaLookupSlot(TypeofMode typeof_mode); | 132 void BuildLdaLookupSlot(TypeofMode typeof_mode); |
133 void BuildStaLookupSlot(LanguageMode language_mode); | 133 void BuildStaLookupSlot(LanguageMode language_mode); |
134 void BuildCall(); | 134 void BuildCall(); |
135 void BuildCallJSRuntime(); | 135 void BuildCallJSRuntime(); |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 ZoneVector<Node*> exit_controls_; | 257 ZoneVector<Node*> exit_controls_; |
258 | 258 |
259 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); | 259 DISALLOW_COPY_AND_ASSIGN(BytecodeGraphBuilder); |
260 }; | 260 }; |
261 | 261 |
262 } // namespace compiler | 262 } // namespace compiler |
263 } // namespace internal | 263 } // namespace internal |
264 } // namespace v8 | 264 } // namespace v8 |
265 | 265 |
266 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 266 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
OLD | NEW |