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

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

Issue 9114054: Port a couple more stubs to 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
OLDNEW
1 // Copyright (c) 2011, 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 "vm/globals.h" 5 #include "vm/globals.h"
6 6
7 #if defined(TARGET_ARCH_ARM) 7 #if defined(TARGET_ARCH_ARM)
8 8
9 #if defined(HOST_ARCH_ARM) 9 #if defined(HOST_ARCH_ARM)
10 #include <sys/syscall.h> /* NOLINT */ 10 #include <sys/syscall.h> /* NOLINT */
11 #include <unistd.h> /* NOLINT */ 11 #include <unistd.h> /* NOLINT */
(...skipping 12 matching lines...) Expand all
24 #error FlushICache only tested/supported on EABI ARM currently. 24 #error FlushICache only tested/supported on EABI ARM currently.
25 #endif 25 #endif
26 26
27 #else // defined(HOST_ARCH_ARM) 27 #else // defined(HOST_ARCH_ARM)
28 // When running in simulated mode we do not need to flush the ICache because 28 // When running in simulated mode we do not need to flush the ICache because
29 // we are not running on the actual hardware. 29 // we are not running on the actual hardware.
30 #endif // defined(HOST_ARCH_ARM) 30 #endif // defined(HOST_ARCH_ARM)
31 } 31 }
32 32
33 33
34 void CPU::JumpToExceptionHandler(uword pc, 34 void CPU::JumpToExceptionHandler(uword program_counter,
35 uword sp, 35 uword stack_pointer,
36 uword fp, 36 uword frame_pointer,
37 const Instance& exception_object, 37 const Instance& exception_object,
38 const Instance& stacktrace_object) { 38 const Instance& stacktrace_object) {
39 UNIMPLEMENTED(); 39 UNIMPLEMENTED();
40 } 40 }
41 41
42 42
43 void CPU::JumpToUnhandledExceptionHandler( 43 void CPU::JumpToUnhandledExceptionHandler(
44 uword pc, 44 uword program_counter,
45 uword sp, 45 uword stack_pointer,
46 uword fp, 46 uword frame_pointer,
47 const UnhandledException& unhandled_exception) { 47 const UnhandledException& unhandled_exception) {
48 UNIMPLEMENTED(); 48 UNIMPLEMENTED();
49 } 49 }
50 50
51 51
52 const char* CPU::Id() { 52 const char* CPU::Id() {
53 return "arm"; 53 return "arm";
54 } 54 }
55 55
56 } // namespace dart 56 } // namespace dart
57 57
58 #endif // defined TARGET_ARCH_ARM 58 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698