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

Side by Side Diff: test/unittests/compiler/bytecode-analysis-unittest.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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/compiler/bytecode-analysis.h" 7 #include "src/compiler/bytecode-analysis.h"
8 #include "src/interpreter/bytecode-array-builder.h" 8 #include "src/interpreter/bytecode-array-builder.h"
9 #include "src/interpreter/bytecode-array-iterator.h" 9 #include "src/interpreter/bytecode-array-iterator.h"
10 #include "src/interpreter/bytecode-decoder.h" 10 #include "src/interpreter/bytecode-decoder.h"
11 #include "src/interpreter/bytecode-label.h" 11 #include "src/interpreter/bytecode-label.h"
12 #include "src/interpreter/control-flow-builders.h" 12 #include "src/interpreter/control-flow-builders.h"
13 #include "src/objects-inl.h"
13 #include "test/unittests/test-utils.h" 14 #include "test/unittests/test-utils.h"
14 15
15 namespace v8 { 16 namespace v8 {
16 namespace internal { 17 namespace internal {
17 namespace compiler { 18 namespace compiler {
18 19
19 class BytecodeAnalysisTest : public TestWithIsolateAndZone { 20 class BytecodeAnalysisTest : public TestWithIsolateAndZone {
20 public: 21 public:
21 BytecodeAnalysisTest() {} 22 BytecodeAnalysisTest() {}
22 ~BytecodeAnalysisTest() override {} 23 ~BytecodeAnalysisTest() override {}
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 expected_liveness.emplace_back("...L", "...."); 409 expected_liveness.emplace_back("...L", "....");
409 410
410 Handle<BytecodeArray> bytecode = builder.ToBytecodeArray(isolate()); 411 Handle<BytecodeArray> bytecode = builder.ToBytecodeArray(isolate());
411 412
412 EnsureLivenessMatches(bytecode, expected_liveness); 413 EnsureLivenessMatches(bytecode, expected_liveness);
413 } 414 }
414 415
415 } // namespace compiler 416 } // namespace compiler
416 } // namespace internal 417 } // namespace internal
417 } // namespace v8 418 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler-dispatcher/compiler-dispatcher-helper.cc ('k') | test/unittests/compiler/node-test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698