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

Side by Side Diff: test/cctest/interpreter/test-bytecode-generator.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 <fstream> 5 #include <fstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/interpreter/bytecode-array-iterator.h" 9 #include "src/interpreter/bytecode-array-iterator.h"
10 #include "src/interpreter/bytecode-generator.h" 10 #include "src/interpreter/bytecode-generator.h"
11 #include "src/interpreter/interpreter.h" 11 #include "src/interpreter/interpreter.h"
12 #include "src/objects-inl.h"
12 #include "test/cctest/cctest.h" 13 #include "test/cctest/cctest.h"
13 #include "test/cctest/interpreter/bytecode-expectations-printer.h" 14 #include "test/cctest/interpreter/bytecode-expectations-printer.h"
14 #include "test/cctest/test-feedback-vector.h" 15 #include "test/cctest/test-feedback-vector.h"
15 16
16 namespace v8 { 17 namespace v8 {
17 namespace internal { 18 namespace internal {
18 namespace interpreter { 19 namespace interpreter {
19 20
20 #define XSTR(A) #A 21 #define XSTR(A) #A
21 #define STR(A) XSTR(A) 22 #define STR(A) XSTR(A)
(...skipping 2316 matching lines...) Expand 10 before | Expand all | Expand 10 after
2338 "})();\n", 2339 "})();\n",
2339 }; 2340 };
2340 2341
2341 CHECK(CompareTexts(BuildActual(printer, snippets), 2342 CHECK(CompareTexts(BuildActual(printer, snippets),
2342 LoadGolden("SuperCallAndSpread.golden"))); 2343 LoadGolden("SuperCallAndSpread.golden")));
2343 } 2344 }
2344 2345
2345 } // namespace interpreter 2346 } // namespace interpreter
2346 } // namespace internal 2347 } // namespace internal
2347 } // namespace v8 2348 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/interpreter/interpreter-tester.cc ('k') | test/cctest/interpreter/test-interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698