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 <tuple> | 5 #include <tuple> |
6 | 6 |
7 #include "src/v8.h" | 7 #include "src/v8.h" |
8 | 8 |
9 #include "src/execution.h" | 9 #include "src/execution.h" |
10 #include "src/handles.h" | 10 #include "src/handles.h" |
11 #include "src/interpreter/bytecode-array-builder.h" | 11 #include "src/interpreter/bytecode-array-builder.h" |
12 #include "src/interpreter/bytecode-array-iterator.h" | 12 #include "src/interpreter/bytecode-array-iterator.h" |
13 #include "src/interpreter/bytecode-label.h" | 13 #include "src/interpreter/bytecode-label.h" |
14 #include "src/interpreter/interpreter.h" | 14 #include "src/interpreter/interpreter.h" |
| 15 #include "src/objects-inl.h" |
15 #include "src/unicode-cache.h" | 16 #include "src/unicode-cache.h" |
16 #include "test/cctest/cctest.h" | 17 #include "test/cctest/cctest.h" |
17 #include "test/cctest/interpreter/interpreter-tester.h" | 18 #include "test/cctest/interpreter/interpreter-tester.h" |
18 #include "test/cctest/test-feedback-vector.h" | 19 #include "test/cctest/test-feedback-vector.h" |
19 | 20 |
20 namespace v8 { | 21 namespace v8 { |
21 namespace internal { | 22 namespace internal { |
22 namespace interpreter { | 23 namespace interpreter { |
23 | 24 |
24 | 25 |
(...skipping 4806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4831 auto callable = tester.GetCallable<>(); | 4832 auto callable = tester.GetCallable<>(); |
4832 | 4833 |
4833 Handle<i::Object> return_value = callable().ToHandleChecked(); | 4834 Handle<i::Object> return_value = callable().ToHandleChecked(); |
4834 CHECK(return_value->SameValue(*tests[i].second)); | 4835 CHECK(return_value->SameValue(*tests[i].second)); |
4835 } | 4836 } |
4836 } | 4837 } |
4837 | 4838 |
4838 } // namespace interpreter | 4839 } // namespace interpreter |
4839 } // namespace internal | 4840 } // namespace internal |
4840 } // namespace v8 | 4841 } // namespace v8 |
OLD | NEW |