Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: test/cctest/interpreter/test-interpreter.cc

Issue 2622503002: include fixing: api.h shouldn't include objects-inl.h (Closed)
Patch Set: static type check Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « test/cctest/interpreter/test-bytecode-generator.cc ('k') | test/cctest/interpreter/test-source-positions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698