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

Side by Side Diff: runtime/vm/cpu.h

Issue 9314053: Revert Dart_PropagateError until I can track down the problems in (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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/compiler.cc ('k') | runtime/vm/cpu_arm.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 #ifndef VM_CPU_H_ 5 #ifndef VM_CPU_H_
6 #define VM_CPU_H_ 6 #define VM_CPU_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 9
10 namespace dart { 10 namespace dart {
11 11
12 // Forward Declarations. 12 // Forward Declarations.
13 class Error;
14 class Instance; 13 class Instance;
14 class UnhandledException;
15 15
16 16
17 class CPU : public AllStatic { 17 class CPU : public AllStatic {
18 public: 18 public:
19 static void FlushICache(uword start, uword size); 19 static void FlushICache(uword start, uword size);
20 static void JumpToExceptionHandler(uword program_counter, 20 static void JumpToExceptionHandler(uword program_counter,
21 uword stack_pointer, 21 uword stack_pointer,
22 uword frame_pointer, 22 uword frame_pointer,
23 const Instance& exception_object, 23 const Instance& exception_object,
24 const Instance& stacktrace_object); 24 const Instance& stacktrace_object);
25 static void JumpToErrorHandler( 25 static void JumpToUnhandledExceptionHandler(
26 uword program_counter, 26 uword program_counter,
27 uword stack_pointer, 27 uword stack_pointer,
28 uword frame_pointer, 28 uword frame_pointer,
29 const Error& error); 29 const UnhandledException& unhandled_exception);
30 static const char* Id(); 30 static const char* Id();
31 }; 31 };
32 32
33 } // namespace dart 33 } // namespace dart
34 34
35 #endif // VM_CPU_H_ 35 #endif // VM_CPU_H_
OLDNEW
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/cpu_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698