| 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/js-graph.h" | 9 #include "src/compiler/js-graph.h" |
| 10 #include "src/interpreter/bytecode-array-iterator.h" | 10 #include "src/interpreter/bytecode-array-iterator.h" |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 interpreter::Register callee, | 90 interpreter::Register callee, |
| 91 interpreter::Register receiver, size_t arity); | 91 interpreter::Register receiver, size_t arity); |
| 92 | 92 |
| 93 void BuildLoadGlobal(const interpreter::BytecodeArrayIterator& iterator, | 93 void BuildLoadGlobal(const interpreter::BytecodeArrayIterator& iterator, |
| 94 TypeofMode typeof_mode); | 94 TypeofMode typeof_mode); |
| 95 void BuildStoreGlobal(const interpreter::BytecodeArrayIterator& iterator); | 95 void BuildStoreGlobal(const interpreter::BytecodeArrayIterator& iterator); |
| 96 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator); | 96 void BuildNamedLoad(const interpreter::BytecodeArrayIterator& iterator); |
| 97 void BuildCall(const interpreter::BytecodeArrayIterator& iterator); | 97 void BuildCall(const interpreter::BytecodeArrayIterator& iterator); |
| 98 void BuildBinaryOp(const Operator* op, | 98 void BuildBinaryOp(const Operator* op, |
| 99 const interpreter::BytecodeArrayIterator& iterator); | 99 const interpreter::BytecodeArrayIterator& iterator); |
| 100 void BuildDelete(const interpreter::BytecodeArrayIterator& iterator); |
| 100 | 101 |
| 101 // Growth increment for the temporary buffer used to construct input lists to | 102 // Growth increment for the temporary buffer used to construct input lists to |
| 102 // new nodes. | 103 // new nodes. |
| 103 static const int kInputBufferSizeIncrement = 64; | 104 static const int kInputBufferSizeIncrement = 64; |
| 104 | 105 |
| 105 // Field accessors | 106 // Field accessors |
| 106 CommonOperatorBuilder* common() const { return jsgraph_->common(); } | 107 CommonOperatorBuilder* common() const { return jsgraph_->common(); } |
| 107 Zone* graph_zone() const { return graph()->zone(); } | 108 Zone* graph_zone() const { return graph()->zone(); } |
| 108 CompilationInfo* info() const { return info_; } | 109 CompilationInfo* info() const { return info_; } |
| 109 JSGraph* jsgraph() const { return jsgraph_; } | 110 JSGraph* jsgraph() const { return jsgraph_; } |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 NodeVector values_; | 201 NodeVector values_; |
| 201 int register_base_; | 202 int register_base_; |
| 202 }; | 203 }; |
| 203 | 204 |
| 204 | 205 |
| 205 } // namespace compiler | 206 } // namespace compiler |
| 206 } // namespace internal | 207 } // namespace internal |
| 207 } // namespace v8 | 208 } // namespace v8 |
| 208 | 209 |
| 209 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ | 210 #endif // V8_COMPILER_BYTECODE_GRAPH_BUILDER_H_ |
| OLD | NEW |