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

Unified Diff: runtime/lib/integers.cc

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 | « no previous file | runtime/vm/bigint_operations.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 a0397d51379382c976c71c4337597fcd5026a6cb..f3b2337bad91c4226ef1455eceb226bbd663f536 100644
--- a/runtime/lib/integers.cc
+++ b/runtime/lib/integers.cc
@@ -322,7 +322,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(exception);
+ Exceptions::Throw(isolate, exception);
}
const Smi& smi_shift_count = Smi::Cast(shift_count);
const Integer& shift_result = Integer::Handle(
@@ -414,7 +414,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(exception);
+ Exceptions::Throw(isolate, exception);
UNREACHABLE();
return 0;
}
@@ -442,7 +442,7 @@ DEFINE_NATIVE_ENTRY(Bigint_shlFromInt, 2) {
// into dart code or allocating any code.
const Instance& exception =
Instance::Handle(isolate->object_store()->out_of_memory());
- Exceptions::Throw(exception);
+ Exceptions::Throw(isolate, exception);
UNREACHABLE();
return 0;
}
« no previous file with comments | « no previous file | runtime/vm/bigint_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698