diff options
Diffstat (limited to 'runtime/thread.cc')
-rw-r--r-- | runtime/thread.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/thread.cc b/runtime/thread.cc index 32fb4aa098..dcbe1382e0 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -4214,8 +4214,7 @@ class ReferenceMapVisitor : public StackVisitor { if (m->IsNative()) { // TODO: Spill the `this` reference in the AOT-compiled String.charAt() // slow-path for throwing SIOOBE, so that we can remove this carve-out. - if (UNLIKELY(m->IsIntrinsic()) && - m->GetIntrinsic() == enum_cast<uint32_t>(Intrinsics::kStringCharAt)) { + if (UNLIKELY(m->IsIntrinsic()) && m->GetIntrinsic() == Intrinsics::kStringCharAt) { // The String.charAt() method is AOT-compiled with an intrinsic implementation // instead of a JNI stub. It has a slow path that constructs a runtime frame // for throwing SIOOBE and in that path we do not get the `this` pointer |