| 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;
|
| }
|
|
|