| Index: runtime/vm/simulator_arm64.cc
|
| diff --git a/runtime/vm/simulator_arm64.cc b/runtime/vm/simulator_arm64.cc
|
| index c3dadd2e8c24c16045a468cba7915ae3ef23bca4..9663fdca21d36721c26a4dc42da2275fc51e7fab 100644
|
| --- a/runtime/vm/simulator_arm64.cc
|
| +++ b/runtime/vm/simulator_arm64.cc
|
| @@ -3519,7 +3519,7 @@ void Simulator::Longjmp(uword pc,
|
| // Prepare for unwinding frames by destroying all the stack resources
|
| // in the previous C++ frames.
|
| Isolate* isolate = thread->isolate();
|
| - StackResource::Unwind(isolate);
|
| + StackResource::Unwind(thread);
|
|
|
| // Unwind the C++ stack and continue simulation in the target frame.
|
| set_pc(static_cast<int64_t>(pc));
|
|
|