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

Side by Side Diff: runtime/vm/exceptions_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 "include/dart_api.h" 8 #include "include/dart_api.h"
6 #include "platform/assert.h" 9 #include "platform/assert.h"
7 #include "vm/dart_api_impl.h" 10 #include "vm/dart_api_impl.h"
8 #include "vm/unit_test.h" 11 #include "vm/unit_test.h"
9 12
10 namespace dart { 13 namespace dart {
11 14
12 15
13 #define FUNCTION_NAME(name) UnhandledExcp_##name 16 #define FUNCTION_NAME(name) UnhandledExcp_##name
14 #define REGISTER_FUNCTION(name, count) \ 17 #define REGISTER_FUNCTION(name, count) \
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 " UnhandledExceptions.equals(2, Second.method1(1));\n" 129 " UnhandledExceptions.equals(2, Second.method1(1));\n"
127 " UnhandledExceptions.equals(3, Second.method3(1));\n" 130 " UnhandledExceptions.equals(3, Second.method3(1));\n"
128 "}"; 131 "}";
129 Dart_Handle lib = TestCase::LoadTestScript( 132 Dart_Handle lib = TestCase::LoadTestScript(
130 kScriptChars, 133 kScriptChars,
131 reinterpret_cast<Dart_NativeEntryResolver>(native_lookup)); 134 reinterpret_cast<Dart_NativeEntryResolver>(native_lookup));
132 EXPECT_VALID(Dart_Invoke(lib, NewString("testMain"), 0, NULL)); 135 EXPECT_VALID(Dart_Invoke(lib, NewString("testMain"), 0, NULL));
133 } 136 }
134 137
135 } // namespace dart 138 } // namespace dart
139
140 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698