diff options
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index 3d6b06a..590f406 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -160,7 +160,7 @@ class ShadowFrame { << ") is in protected space, reference array " << true; } // If the vreg reference is not equal to the vreg then the vreg reference is stale. - if (reinterpret_cast<uint32_t>(ref) != vregs_[i]) { + if (UNLIKELY(reinterpret_cast<uint32_t>(ref) != vregs_[i])) { return nullptr; } return ref; |