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

Unified Diff: runtime/lib/integers.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 | « no previous file | runtime/lib/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.cc
diff --git a/runtime/lib/integers.cc b/runtime/lib/integers.cc
index c44d18d7f6b0ae45883c283b908ba0ded8f9e375..1ee5b2511bf078a681eeb5ded59def1fe1cb8c95 100644
--- a/runtime/lib/integers.cc
+++ b/runtime/lib/integers.cc
@@ -301,7 +301,7 @@ DEFINE_NATIVE_ENTRY(Integer_leftShiftWithMask32, 3) {
// Shift count is too large..
const Instance& exception =
Instance::Handle(isolate->object_store()->out_of_memory());
- Exceptions::Throw(isolate, exception);
+ Exceptions::Throw(thread, exception);
}
const Smi& smi_shift_count = Smi::Cast(shift_count);
const Integer& shift_result = Integer::Handle(
@@ -395,7 +395,7 @@ DEFINE_NATIVE_ENTRY(Mint_shlFromInt, 2) {
// into dart code or allocating any code.
const Instance& exception =
Instance::Handle(isolate->object_store()->out_of_memory());
- Exceptions::Throw(isolate, exception);
+ Exceptions::Throw(thread, exception);
UNREACHABLE();
return 0;
}
« no previous file with comments | « no previous file | runtime/lib/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698