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

Side by Side Diff: test/cctest/test-identity-map.cc

Issue 2344143003: Moved zones and zone related stuff in its own directory. (Closed)
Patch Set: Merge branch 'master' into zonefolder Created 4 years, 3 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
« no previous file with comments | « test/cctest/test-bit-vector.cc ('k') | test/cctest/test-liveedit.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/factory.h" 5 #include "src/factory.h"
6 #include "src/identity-map.h" 6 #include "src/identity-map.h"
7 #include "src/isolate.h" 7 #include "src/isolate.h"
8 #include "src/objects.h" 8 #include "src/objects.h"
9 #include "src/zone/zone.h"
9 // FIXME(mstarzinger, marja): This is weird, but required because of the missing 10 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
10 // (disallowed) include: src/factory.h -> src/objects-inl.h 11 // (disallowed) include: src/factory.h -> src/objects-inl.h
11 #include "src/objects-inl.h" 12 #include "src/objects-inl.h"
12 // FIXME(mstarzinger, marja): This is weird, but required because of the missing 13 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
13 // (disallowed) include: src/type-feedback-vector.h -> 14 // (disallowed) include: src/type-feedback-vector.h ->
14 // src/type-feedback-vector-inl.h 15 // src/type-feedback-vector-inl.h
15 #include "src/type-feedback-vector-inl.h" 16 #include "src/type-feedback-vector-inl.h"
16 #include "src/v8.h" 17 #include "src/v8.h"
17 #include "src/zone.h"
18 #include "test/cctest/cctest.h" 18 #include "test/cctest/cctest.h"
19 19
20 namespace v8 { 20 namespace v8 {
21 namespace internal { 21 namespace internal {
22 22
23 // Helper for testing. A "friend" of the IdentityMapBase class, it is able to 23 // Helper for testing. A "friend" of the IdentityMapBase class, it is able to
24 // "move" objects to simulate GC for testing the internals of the map. 24 // "move" objects to simulate GC for testing the internals of the map.
25 class IdentityMapTester : public HandleAndZoneScope { 25 class IdentityMapTester : public HandleAndZoneScope {
26 public: 26 public:
27 IdentityMap<void*> map; 27 IdentityMap<void*> map;
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 CHECK_NE(string4.location(), string6.location()); 419 CHECK_NE(string4.location(), string6.location());
420 CHECK_NE(number1.location(), number6.location()); 420 CHECK_NE(number1.location(), number6.location());
421 CHECK_NE(string1.location(), string6.location()); 421 CHECK_NE(string1.location(), string6.location());
422 CHECK_EQ(number5.location(), number6.location()); 422 CHECK_EQ(number5.location(), number6.location());
423 CHECK_EQ(string5.location(), string6.location()); 423 CHECK_EQ(string5.location(), string6.location());
424 } 424 }
425 } 425 }
426 426
427 } // namespace internal 427 } // namespace internal
428 } // namespace v8 428 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/test-bit-vector.cc ('k') | test/cctest/test-liveedit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698