diff options
Diffstat (limited to 'runtime/interpreter/unstarted_runtime.cc')
-rw-r--r-- | runtime/interpreter/unstarted_runtime.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/interpreter/unstarted_runtime.cc b/runtime/interpreter/unstarted_runtime.cc index 449f4153b8..cec6f1dc8d 100644 --- a/runtime/interpreter/unstarted_runtime.cc +++ b/runtime/interpreter/unstarted_runtime.cc @@ -2263,9 +2263,6 @@ void UnstartedRuntime::Invoke(Thread* self, const CodeItemDataAccessor& accessor const auto& iter = invoke_handlers_.find(shadow_frame->GetMethod()); if (iter != invoke_handlers_.end()) { - // Note: When we special case the method, we do not ensure initialization. - // This has been the behavior since implementation of this feature. - // Clear out the result in case it's not zeroed out. result->SetL(nullptr); @@ -2276,9 +2273,6 @@ void UnstartedRuntime::Invoke(Thread* self, const CodeItemDataAccessor& accessor self->PopShadowFrame(); } else { - if (!EnsureInitialized(self, shadow_frame)) { - return; - } // Not special, continue with regular interpreter execution. ArtInterpreterToInterpreterBridge(self, accessor, shadow_frame, result); } |