| OLD | NEW |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | 1 // Copyright 2016 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/api.h" | 7 #include "src/api.h" |
| 8 #include "src/factory.h" | 8 #include "src/factory.h" |
| 9 #include "src/interpreter/bytecode-array-writer.h" | 9 #include "src/interpreter/bytecode-array-writer.h" |
| 10 #include "src/interpreter/bytecode-label.h" | 10 #include "src/interpreter/bytecode-label.h" |
| 11 #include "src/interpreter/constant-array-builder.h" | 11 #include "src/interpreter/constant-array-builder.h" |
| 12 #include "src/isolate.h" | 12 #include "src/isolate.h" |
| 13 #include "src/objects-inl.h" |
| 13 #include "src/source-position-table.h" | 14 #include "src/source-position-table.h" |
| 14 #include "src/utils.h" | 15 #include "src/utils.h" |
| 15 #include "test/unittests/interpreter/bytecode-utils.h" | 16 #include "test/unittests/interpreter/bytecode-utils.h" |
| 16 #include "test/unittests/test-utils.h" | 17 #include "test/unittests/test-utils.h" |
| 17 | 18 |
| 18 namespace v8 { | 19 namespace v8 { |
| 19 namespace internal { | 20 namespace internal { |
| 20 namespace interpreter { | 21 namespace interpreter { |
| 21 | 22 |
| 22 class BytecodeArrayWriterUnittest : public TestWithIsolateAndZone { | 23 class BytecodeArrayWriterUnittest : public TestWithIsolateAndZone { |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 expected.source_position); | 228 expected.source_position); |
| 228 CHECK_EQ(source_iterator.is_statement(), expected.is_statement); | 229 CHECK_EQ(source_iterator.is_statement(), expected.is_statement); |
| 229 source_iterator.Advance(); | 230 source_iterator.Advance(); |
| 230 } | 231 } |
| 231 CHECK(source_iterator.done()); | 232 CHECK(source_iterator.done()); |
| 232 } | 233 } |
| 233 | 234 |
| 234 } // namespace interpreter | 235 } // namespace interpreter |
| 235 } // namespace internal | 236 } // namespace internal |
| 236 } // namespace v8 | 237 } // namespace v8 |
| OLD | NEW |