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

Side by Side Diff: runtime/vm/custom_isolate_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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 "include/dart_native_api.h" 9 #include "include/dart_native_api.h"
7 10
8 #include "vm/unit_test.h" 11 #include "vm/unit_test.h"
9 12
10 // Custom Isolate Test. 13 // Custom Isolate Test.
11 // 14 //
12 // This mid-size test uses the Dart Embedding Api to create a custom 15 // This mid-size test uses the Dart Embedding Api to create a custom
13 // isolate abstraction. Instead of having a dedicated thread for each 16 // isolate abstraction. Instead of having a dedicated thread for each
14 // isolate, as is the case normally, this implementation shares a 17 // isolate, as is the case normally, this implementation shares a
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 event = event_queue->Get(); 346 event = event_queue->Get();
344 } 347 }
345 OS::Print("-- Finished event loop --\n"); 348 OS::Print("-- Finished event loop --\n");
346 EXPECT_STREQ("Received: 43", saved_echo); 349 EXPECT_STREQ("Received: 43", saved_echo);
347 free(const_cast<char*>(saved_echo)); 350 free(const_cast<char*>(saved_echo));
348 351
349 delete event_queue; 352 delete event_queue;
350 } 353 }
351 354
352 } // namespace dart 355 } // namespace dart
356
357 #endif // !defined(TARGET_ARCH_ARM64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698