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

Side by Side Diff: runtime/vm/dart_entry_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/assembler.h" 9 #include "vm/assembler.h"
7 #include "vm/class_finalizer.h" 10 #include "vm/class_finalizer.h"
8 #include "vm/compiler.h" 11 #include "vm/compiler.h"
9 #include "vm/dart_entry.h" 12 #include "vm/dart_entry.h"
10 #include "vm/object.h" 13 #include "vm/object.h"
11 #include "vm/resolver.h" 14 #include "vm/resolver.h"
12 #include "vm/symbols.h" 15 #include "vm/symbols.h"
13 #include "vm/unit_test.h" 16 #include "vm/unit_test.h"
14 17
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 EXPECT(!function.IsNull()); 107 EXPECT(!function.IsNull());
105 const Array& args = Array::Handle(Array::New(1)); 108 const Array& args = Array::Handle(Array::New(1));
106 args.SetAt(0, instance); 109 args.SetAt(0, instance);
107 const Object& retval = Object::Handle(DartEntry::InvokeFunction(function, 110 const Object& retval = Object::Handle(DartEntry::InvokeFunction(function,
108 args)); 111 args));
109 EXPECT(retval.IsError()); 112 EXPECT(retval.IsError());
110 EXPECT_SUBSTRING("++++", Error::Cast(retval).ToErrorCString()); 113 EXPECT_SUBSTRING("++++", Error::Cast(retval).ToErrorCString());
111 } 114 }
112 115
113 } // namespace dart 116 } // namespace dart
117
118 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698