diff options
Diffstat (limited to 'src/compiler/dex/mir_dataflow.cc')
-rw-r--r-- | src/compiler/dex/mir_dataflow.cc | 10 |
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))); } |