Fix Debian compilation error
Fixes #26492
R=whesse@google.com
Review URL: https://codereview.chromium.org/1998713002 .
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 50e2e55..7685b3c 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -1565,14 +1565,13 @@
// evaluating the initializer value.
ASSERT(field.StaticValue() == Object::transition_sentinel().raw());
LongJumpScope jump;
- Thread* thread = Thread::Current();
if (setjmp(*jump.Set()) == 0) {
+ Thread* const thread = Thread::Current();
NoOOBMessageScope no_msg_scope(thread);
NoReloadScope no_reload_scope(thread->isolate(), thread);
// Under lazy compilation initializer has not yet been created, so create
// it now, but don't bother remembering it because it won't be used again.
ASSERT(!field.HasPrecompiledInitializer());
- Thread* const thread = Thread::Current();
Function& initializer = Function::Handle(thread->zone());
{
NOT_IN_PRODUCT(