summaryrefslogtreecommitdiff
path: root/src/compiler/dex/mir_dataflow.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-04-26 22:53:05 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-04-26 22:53:05 +0000
commitf4da60751631f8bc098fbd04517f305bf7f20ae3 (patch)
tree5a359b033ee308154ffbdcfea47708bacd1c9cb3 /src/compiler/dex/mir_dataflow.cc
parentb0682d5f7970470130f43d35f37ae7605a8a9bb8 (diff)
Revert "Supporting de-virtualization for precise types."
This reverts commit b0682d5f7970470130f43d35f37ae7605a8a9bb8 Change-Id: I2b0dc3e716ee5c23b89d9fa6eb0ef05c24784b3e
Diffstat (limited to 'src/compiler/dex/mir_dataflow.cc')
-rw-r--r--src/compiler/dex/mir_dataflow.cc10
1 files changed, 4 insertions, 6 deletions
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<uint32_t>(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)));
}