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

Unified Diff: runtime/vm/exceptions.h

Issue 326183002: Pass around the current isolate in exception handling code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions.h
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
index dab538ba595d2f709d8a09b7865fda50b6663322..8a5b9d39fdc1595e08f1093356f25bcc1f0ea961 100644
--- a/runtime/vm/exceptions.h
+++ b/runtime/vm/exceptions.h
@@ -28,8 +28,10 @@ class Exceptions : AllStatic {
public:
static const char* kCastErrorDstName;
- static void Throw(const Instance& exception);
- static void ReThrow(const Instance& exception, const Instance& stacktrace);
+ static void Throw(Isolate* isolate, const Instance& exception);
+ static void ReThrow(Isolate* isolate,
+ const Instance& exception,
+ const Instance& stacktrace);
static void PropagateError(const Error& error);
// Report a Javascript compatibility warning at the call site given by
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698