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

Side by Side Diff: test/unittests/interpreter/constant-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/factory.h" 7 #include "src/factory.h"
8 #include "src/handles-inl.h" 8 #include "src/handles-inl.h"
9 #include "src/interpreter/constant-array-builder.h" 9 #include "src/interpreter/constant-array-builder.h"
10 #include "src/isolate.h" 10 #include "src/isolate.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 ConstantArrayBuilderTest : public TestWithIsolateAndZone { 18 class ConstantArrayBuilderTest : public TestWithIsolateAndZone {
18 public: 19 public:
19 ConstantArrayBuilderTest() {} 20 ConstantArrayBuilderTest() {}
20 ~ConstantArrayBuilderTest() override {} 21 ~ConstantArrayBuilderTest() override {}
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 343
343 // Check values after reserved entries are inserted. 344 // Check values after reserved entries are inserted.
344 for (size_t i = 0; i < k16BitCapacity; i++) { 345 for (size_t i = 0; i < k16BitCapacity; i++) {
345 CHECK_EQ(Handle<Smi>::cast(builder.At(i))->value(), static_cast<int>(i)); 346 CHECK_EQ(Handle<Smi>::cast(builder.At(i))->value(), static_cast<int>(i));
346 } 347 }
347 } 348 }
348 349
349 } // namespace interpreter 350 } // namespace interpreter
350 } // namespace internal 351 } // namespace internal
351 } // namespace v8 352 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/interpreter/bytecode-register-allocator-unittest.cc ('k') | test/unittests/value-serializer-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698