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

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

Issue 9242025: Enable remaining execution tests on x64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 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/isolate_test.cc ('k') | runtime/vm/snapshot_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) 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/assert.h" 5 #include "platform/assert.h"
6 #include "vm/assembler.h" 6 #include "vm/assembler.h"
7 #include "vm/class_finalizer.h" 7 #include "vm/class_finalizer.h"
8 #include "vm/compiler.h" 8 #include "vm/compiler.h"
9 #include "vm/dart_entry.h" 9 #include "vm/dart_entry.h"
10 #include "vm/object.h" 10 #include "vm/object.h"
11 #include "vm/resolver.h" 11 #include "vm/resolver.h"
12 #include "vm/unit_test.h" 12 #include "vm/unit_test.h"
13 13
14 namespace dart { 14 namespace dart {
15 15
16 #if defined(TARGET_ARCH_IA32) // only ia32 can run execution tests. 16 // Only ia32 and x64 can run execution tests.
17 #if defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64)
17 18
18 // Setup function for invocation. 19 // Setup function for invocation.
19 static void SetupFunction(const char* test_library_name, 20 static void SetupFunction(const char* test_library_name,
20 const char* test_class_name, 21 const char* test_class_name,
21 const char* test_static_function_name, 22 const char* test_static_function_name,
22 bool is_static) { 23 bool is_static) {
23 // Setup a dart class and function. 24 // Setup a dart class and function.
24 char script_chars[1024]; 25 char script_chars[1024];
25 OS::SNPrint(script_chars, 26 OS::SNPrint(script_chars,
26 sizeof(script_chars), 27 sizeof(script_chars),
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 String::Handle(String::New("dynCall")); 216 String::Handle(String::New("dynCall"));
216 const Function& super_function = Function::Handle( 217 const Function& super_function = Function::Handle(
217 Resolver::ResolveDynamic(receiver, 218 Resolver::ResolveDynamic(receiver,
218 super_function_name, 219 super_function_name,
219 kNumPositionalArguments, 220 kNumPositionalArguments,
220 kNumNamedArguments)); 221 kNumNamedArguments));
221 EXPECT(!super_function.IsNull()); 222 EXPECT(!super_function.IsNull());
222 } 223 }
223 } 224 }
224 225
225 #endif // TARGET_ARCH_IA32. 226 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64).
226 227
227 } // namespace dart 228 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate_test.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698