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

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

Issue 262793006: Uses double load/store on arm64, enables tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/flow_graph_compiler_arm64.cc ('k') | runtime/vm/intermediate_language_arm64.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
9 #include "vm/dart_api_impl.h" 5 #include "vm/dart_api_impl.h"
10 #include "vm/dart_api_state.h" 6 #include "vm/dart_api_state.h"
11 #include "vm/intermediate_language.h" 7 #include "vm/intermediate_language.h"
12 #include "vm/object.h" 8 #include "vm/object.h"
13 #include "vm/unit_test.h" 9 #include "vm/unit_test.h"
14 10
15 namespace dart { 11 namespace dart {
16 12
17 RawField* LookupField(Dart_Handle library, const char* class_name, 13 RawField* LookupField(Dart_Handle library, const char* class_name,
18 const char* field_name) { 14 const char* field_name) {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 Dart_Handle result = Dart_Invoke(lib, NewString("main"), 0, NULL); 263 Dart_Handle result = Dart_Invoke(lib, NewString("main"), 0, NULL);
268 EXPECT_VALID(result); 264 EXPECT_VALID(result);
269 Field& f3 = Field::ZoneHandle(LookupField(lib, "A", "f3")); 265 Field& f3 = Field::ZoneHandle(LookupField(lib, "A", "f3"));
270 const intptr_t no_length = Field::kNoFixedLength; 266 const intptr_t no_length = Field::kNoFixedLength;
271 EXPECT_EQ(no_length, f3.guarded_list_length()); 267 EXPECT_EQ(no_length, f3.guarded_list_length());
272 EXPECT_EQ(kTypedDataFloat32ArrayCid, f3.guarded_cid()); 268 EXPECT_EQ(kTypedDataFloat32ArrayCid, f3.guarded_cid());
273 EXPECT_EQ(false, f3.is_nullable()); 269 EXPECT_EQ(false, f3.is_nullable());
274 } 270 }
275 271
276 } // namespace dart 272 } // namespace dart
277
278 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/intermediate_language_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698