From f4da60751631f8bc098fbd04517f305bf7f20ae3 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Fri, 26 Apr 2013 22:53:05 +0000 Subject: Revert "Supporting de-virtualization for precise types." This reverts commit b0682d5f7970470130f43d35f37ae7605a8a9bb8 Change-Id: I2b0dc3e716ee5c23b89d9fa6eb0ef05c24784b3e --- src/compiler/dex/mir_dataflow.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/compiler/dex/mir_dataflow.cc') diff --git a/src/compiler/dex/mir_dataflow.cc b/src/compiler/dex/mir_dataflow.cc index 444874dce5..23bf248896 100644 --- a/src/compiler/dex/mir_dataflow.cc +++ b/src/compiler/dex/mir_dataflow.cc @@ -1249,13 +1249,11 @@ bool MIRGraph::InvokeUsesMethodStar(MIR* mir) int vtable_idx; uintptr_t direct_code; uintptr_t direct_method; - uint32_t current_offset = static_cast(current_offset_); bool fast_path = - cu_->compiler_driver->ComputeInvokeInfo(dex_method_idx, current_offset, - &m_unit, type, - vtable_idx, direct_code, - direct_method) && - !(cu_->enable_debug & (1 << kDebugSlowInvokePath)); + cu_->compiler_driver->ComputeInvokeInfo(dex_method_idx, &m_unit, type, + vtable_idx, direct_code, + direct_method) && + !(cu_->enable_debug & (1 << kDebugSlowInvokePath)); return (((type == kDirect) || (type == kStatic)) && fast_path && ((direct_code == 0) || (direct_method == 0))); } -- cgit v1.2.3-59-g8ed1b