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

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

Issue 2521413002: Revert "Implement rewind: drop one or more frames from the debugger." (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/exceptions.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) 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 #ifndef RUNTIME_VM_EXCEPTIONS_H_ 5 #ifndef RUNTIME_VM_EXCEPTIONS_H_
6 #define RUNTIME_VM_EXCEPTIONS_H_ 6 #define RUNTIME_VM_EXCEPTIONS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/token_position.h" 9 #include "vm/token_position.h"
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 intptr_t expected_to); 76 intptr_t expected_to);
77 static void ThrowCompileTimeError(const LanguageError& error); 77 static void ThrowCompileTimeError(const LanguageError& error);
78 78
79 // Returns a RawInstance if the exception is successfully created, 79 // Returns a RawInstance if the exception is successfully created,
80 // otherwise returns a RawError. 80 // otherwise returns a RawError.
81 static RawObject* Create(ExceptionType type, const Array& arguments); 81 static RawObject* Create(ExceptionType type, const Array& arguments);
82 82
83 static void JumpToFrame(Thread* thread, 83 static void JumpToFrame(Thread* thread,
84 uword program_counter, 84 uword program_counter,
85 uword stack_pointer, 85 uword stack_pointer,
86 uword frame_pointer, 86 uword frame_pointer);
87 bool clear_deopt_at_target);
88 87
89 private: 88 private:
90 DISALLOW_COPY_AND_ASSIGN(Exceptions); 89 DISALLOW_COPY_AND_ASSIGN(Exceptions);
91 }; 90 };
92 91
93 } // namespace dart 92 } // namespace dart
94 93
95 #endif // RUNTIME_VM_EXCEPTIONS_H_ 94 #endif // RUNTIME_VM_EXCEPTIONS_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger_api_impl.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698