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

Side by Side Diff: test/unittests/interpreter/bytecode-array-builder-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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/interpreter/bytecode-array-builder.h" 7 #include "src/interpreter/bytecode-array-builder.h"
8 #include "src/interpreter/bytecode-array-iterator.h" 8 #include "src/interpreter/bytecode-array-iterator.h"
9 #include "src/interpreter/bytecode-label.h" 9 #include "src/interpreter/bytecode-label.h"
10 #include "src/interpreter/bytecode-register-allocator.h" 10 #include "src/interpreter/bytecode-register-allocator.h"
11 #include "src/objects-inl.h"
11 #include "test/unittests/test-utils.h" 12 #include "test/unittests/test-utils.h"
12 13
13 namespace v8 { 14 namespace v8 {
14 namespace internal { 15 namespace internal {
15 namespace interpreter { 16 namespace interpreter {
16 17
17 class BytecodeArrayBuilderTest : public TestWithIsolateAndZone { 18 class BytecodeArrayBuilderTest : public TestWithIsolateAndZone {
18 public: 19 public:
19 BytecodeArrayBuilderTest() {} 20 BytecodeArrayBuilderTest() {}
20 ~BytecodeArrayBuilderTest() override {} 21 ~BytecodeArrayBuilderTest() override {}
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 iterator.Advance(); 760 iterator.Advance();
760 } 761 }
761 CHECK_EQ(iterator.current_bytecode(), Bytecode::kReturn); 762 CHECK_EQ(iterator.current_bytecode(), Bytecode::kReturn);
762 iterator.Advance(); 763 iterator.Advance();
763 CHECK(iterator.done()); 764 CHECK(iterator.done());
764 } 765 }
765 766
766 } // namespace interpreter 767 } // namespace interpreter
767 } // namespace internal 768 } // namespace internal
768 } // namespace v8 769 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/node-test-utils.cc ('k') | test/unittests/interpreter/bytecode-array-iterator-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698