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

Side by Side Diff: runtime/vm/code_descriptors_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: Fixed Rn/Rd modes for R31 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #include "platform/globals.h"
6 #if !defined(TARGET_ARCH_ARM64)
7
5 #include "platform/assert.h" 8 #include "platform/assert.h"
6 #include "vm/globals.h" 9 #include "vm/globals.h"
7 10
8 #include "vm/ast.h" 11 #include "vm/ast.h"
9 #include "vm/assembler.h" 12 #include "vm/assembler.h"
10 #include "vm/code_descriptors.h" 13 #include "vm/code_descriptors.h"
11 #include "vm/compiler.h" 14 #include "vm/compiler.h"
12 #include "vm/dart_entry.h" 15 #include "vm/dart_entry.h"
13 #include "vm/native_entry.h" 16 #include "vm/native_entry.h"
14 #include "vm/parser.h" 17 #include "vm/parser.h"
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 276
274 // Now invoke 'A.moo' and it will trigger a GC when the native function 277 // Now invoke 'A.moo' and it will trigger a GC when the native function
275 // is called, this should then cause the stack map of function 'A.foo' 278 // is called, this should then cause the stack map of function 'A.foo'
276 // to be traversed and the appropriate objects visited. 279 // to be traversed and the appropriate objects visited.
277 const Object& result = Object::Handle( 280 const Object& result = Object::Handle(
278 DartEntry::InvokeFunction(function_foo, Object::empty_array())); 281 DartEntry::InvokeFunction(function_foo, Object::empty_array()));
279 EXPECT(!result.IsError()); 282 EXPECT(!result.IsError());
280 } 283 }
281 284
282 } // namespace dart 285 } // namespace dart
286
287 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698