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

Side by Side Diff: runtime/vm/object_id_ring_test.cc

Issue 221133002: Begins work on ARM64, first assembler test. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: adds files Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object_arm64_test.cc ('k') | runtime/vm/object_test.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // TODO(zra): Remove when tests are ready to enable.
6 #include "platform/globals.h"
7 #if !defined(TARGET_ARCH_ARM64)
8
5 #include "platform/assert.h" 9 #include "platform/assert.h"
6 #include "vm/globals.h" 10 #include "vm/globals.h"
7 #include "vm/object_id_ring.h" 11 #include "vm/object_id_ring.h"
8 #include "vm/unit_test.h" 12 #include "vm/unit_test.h"
9 #include "vm/dart_api_impl.h" 13 #include "vm/dart_api_impl.h"
10 #include "vm/dart_api_state.h" 14 #include "vm/dart_api_state.h"
11 15
12 namespace dart { 16 namespace dart {
13 17
14 18
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // those ids. 187 // those ids.
184 heap->CollectGarbage(Heap::kOld); 188 heap->CollectGarbage(Heap::kOld);
185 RawObject* raw_object_moved1 = ring->GetObjectForId(raw_obj_id1); 189 RawObject* raw_object_moved1 = ring->GetObjectForId(raw_obj_id1);
186 RawObject* raw_object_moved2 = ring->GetObjectForId(raw_obj_id2); 190 RawObject* raw_object_moved2 = ring->GetObjectForId(raw_obj_id2);
187 // Objects should now be null. 191 // Objects should now be null.
188 EXPECT_EQ(Object::null(), raw_object_moved1); 192 EXPECT_EQ(Object::null(), raw_object_moved1);
189 EXPECT_EQ(Object::null(), raw_object_moved2); 193 EXPECT_EQ(Object::null(), raw_object_moved2);
190 } 194 }
191 195
192 } // namespace dart 196 } // namespace dart
197
198 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW
« no previous file with comments | « runtime/vm/object_arm64_test.cc ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698