| 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 #include "src/interpreter/bytecode-pipeline.h" | 5 #include "src/interpreter/bytecode-pipeline.h" |
| 6 | 6 |
| 7 #include <iomanip> | 7 #include <iomanip> |
| 8 #include "src/interpreter/source-position-table.h" | 8 #include "src/source-position-table.h" |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| 11 namespace internal { | 11 namespace internal { |
| 12 namespace interpreter { | 12 namespace interpreter { |
| 13 | 13 |
| 14 BytecodeNode::BytecodeNode(Bytecode bytecode) { | 14 BytecodeNode::BytecodeNode(Bytecode bytecode) { |
| 15 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), 0); | 15 DCHECK_EQ(Bytecodes::NumberOfOperands(bytecode), 0); |
| 16 bytecode_ = bytecode; | 16 bytecode_ = bytecode; |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 } | 136 } |
| 137 | 137 |
| 138 std::ostream& operator<<(std::ostream& os, const BytecodeNode& node) { | 138 std::ostream& operator<<(std::ostream& os, const BytecodeNode& node) { |
| 139 node.Print(os); | 139 node.Print(os); |
| 140 return os; | 140 return os; |
| 141 } | 141 } |
| 142 | 142 |
| 143 } // namespace interpreter | 143 } // namespace interpreter |
| 144 } // namespace internal | 144 } // namespace internal |
| 145 } // namespace v8 | 145 } // namespace v8 |
| OLD | NEW |