diff --git a/runtime/vm/BytecodeInterpreter.hpp b/runtime/vm/BytecodeInterpreter.hpp index 13eb61c8fc8..16f174cc715 100644 --- a/runtime/vm/BytecodeInterpreter.hpp +++ b/runtime/vm/BytecodeInterpreter.hpp @@ -5248,6 +5248,11 @@ class INTERPRETER_CLASS VMStructHasBeenUpdated(REGISTER_ARGS); + if (immediateAsyncPending()) { + rc = GOTO_ASYNC_CHECK; + } else if (VM_VMHelpers::exceptionPending(_currentThread)) { + rc = GOTO_THROW_CURRENT_EXCEPTION; + } return rc; }