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

Side by Side Diff: test/unittests/interpreter/bytecode-array-iterator-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/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/objects-inl.h"
9 #include "test/unittests/test-utils.h" 10 #include "test/unittests/test-utils.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 namespace interpreter { 14 namespace interpreter {
14 15
15 class BytecodeArrayIteratorTest : public TestWithIsolateAndZone { 16 class BytecodeArrayIteratorTest : public TestWithIsolateAndZone {
16 public: 17 public:
17 BytecodeArrayIteratorTest() {} 18 BytecodeArrayIteratorTest() {}
18 ~BytecodeArrayIteratorTest() override {} 19 ~BytecodeArrayIteratorTest() override {}
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 CHECK_EQ(iterator.current_offset(), offset); 279 CHECK_EQ(iterator.current_offset(), offset);
279 CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle); 280 CHECK_EQ(iterator.current_operand_scale(), OperandScale::kSingle);
280 CHECK(!iterator.done()); 281 CHECK(!iterator.done());
281 iterator.Advance(); 282 iterator.Advance();
282 CHECK(iterator.done()); 283 CHECK(iterator.done());
283 } 284 }
284 285
285 } // namespace interpreter 286 } // namespace interpreter
286 } // namespace internal 287 } // namespace internal
287 } // namespace v8 288 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698