diff options
| author | 2019-07-01 16:06:14 +0100 | |
|---|---|---|
| committer | 2019-07-02 11:19:22 +0000 | |
| commit | 4d71e55eb7616b2f2dc6f39377be72fdfbf01b2a (patch) | |
| tree | 26ca50a97736ef59b2ad3a867c0ae377209f092c /runtime/interpreter/interpreter_switch_impl-inl.h | |
| parent | e2d24beb1a9d9b718b0443b1eec63090c6fc19a4 (diff) | |
Remove ShadowFrame::HasReferenceArray()
It is always true.
Change-Id: I96ddeeb87b8166d0fc08edafd1800b539eec3a7d
Diffstat (limited to 'runtime/interpreter/interpreter_switch_impl-inl.h')
| -rw-r--r-- | runtime/interpreter/interpreter_switch_impl-inl.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/interpreter/interpreter_switch_impl-inl.h b/runtime/interpreter/interpreter_switch_impl-inl.h index 26898387f0..fc3005d72c 100644 --- a/runtime/interpreter/interpreter_switch_impl-inl.h +++ b/runtime/interpreter/interpreter_switch_impl-inl.h @@ -1914,11 +1914,6 @@ ATTRIBUTE_NO_SANITIZE_ADDRESS void ExecuteSwitchImplCpp(SwitchImplContext* ctx) Thread* self = ctx->self; const CodeItemDataAccessor& accessor = ctx->accessor; ShadowFrame& shadow_frame = ctx->shadow_frame; - if (UNLIKELY(!shadow_frame.HasReferenceArray())) { - LOG(FATAL) << "Invalid shadow frame for interpreter use"; - ctx->result = JValue(); - return; - } self->VerifyStack(); uint32_t dex_pc = shadow_frame.GetDexPC(); |