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-array-writer.h" | 5 #include "src/interpreter/bytecode-array-writer.h" |
6 | 6 |
7 #include "src/api.h" | 7 #include "src/api.h" |
8 #include "src/interpreter/bytecode-label.h" | 8 #include "src/interpreter/bytecode-label.h" |
9 #include "src/interpreter/bytecode-register.h" | 9 #include "src/interpreter/bytecode-register.h" |
10 #include "src/interpreter/constant-array-builder.h" | 10 #include "src/interpreter/constant-array-builder.h" |
11 #include "src/log.h" | 11 #include "src/log.h" |
| 12 #include "src/objects-inl.h" |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 namespace interpreter { | 16 namespace interpreter { |
16 | 17 |
17 STATIC_CONST_MEMBER_DEFINITION const size_t | 18 STATIC_CONST_MEMBER_DEFINITION const size_t |
18 BytecodeArrayWriter::kMaxSizeOfPackedBytecode; | 19 BytecodeArrayWriter::kMaxSizeOfPackedBytecode; |
19 | 20 |
20 BytecodeArrayWriter::BytecodeArrayWriter( | 21 BytecodeArrayWriter::BytecodeArrayWriter( |
21 Zone* zone, ConstantArrayBuilder* constant_array_builder, | 22 Zone* zone, ConstantArrayBuilder* constant_array_builder, |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 node->update_operand0(k32BitJumpPlaceholder); | 320 node->update_operand0(k32BitJumpPlaceholder); |
320 break; | 321 break; |
321 } | 322 } |
322 } | 323 } |
323 EmitBytecode(node); | 324 EmitBytecode(node); |
324 } | 325 } |
325 | 326 |
326 } // namespace interpreter | 327 } // namespace interpreter |
327 } // namespace internal | 328 } // namespace internal |
328 } // namespace v8 | 329 } // namespace v8 |
OLD | NEW |