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

Unified Diff: runtime/vm/code_generator.cc

Issue 1156143003: Refactor Isolate -> Thread in NativeArguments and exception handler jump. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix comment; remove unused accessor. Created 5 years, 7 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/lib/isolate.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator.cc
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc
index 666b13cee7bbe50596dbf5763f22edd35e471a0c..2e7df3b80a8fe22815dce90d45b6508c90007e6c 100644
--- a/runtime/vm/code_generator.cc
+++ b/runtime/vm/code_generator.cc
@@ -630,7 +630,7 @@ DEFINE_RUNTIME_ENTRY(BadTypeError, 3) {
DEFINE_RUNTIME_ENTRY(Throw, 1) {
const Instance& exception =
Instance::CheckedHandle(zone, arguments.ArgAt(0));
- Exceptions::Throw(isolate, exception);
+ Exceptions::Throw(thread, exception);
}
@@ -639,7 +639,7 @@ DEFINE_RUNTIME_ENTRY(ReThrow, 2) {
Instance::CheckedHandle(zone, arguments.ArgAt(0));
const Instance& stacktrace =
Instance::CheckedHandle(zone, arguments.ArgAt(1));
- Exceptions::ReThrow(isolate, exception, stacktrace);
+ Exceptions::ReThrow(thread, exception, stacktrace);
}
@@ -1125,7 +1125,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
// into dart code.
const Instance& exception =
Instance::Handle(isolate->object_store()->stack_overflow());
- Exceptions::Throw(isolate, exception);
+ Exceptions::Throw(thread, exception);
UNREACHABLE();
}
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698