diff options
author | Ian Rogers <irogers@google.com> | 2013-09-06 10:49:58 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2013-09-06 10:49:58 -0700 |
commit | 65ec92cf13c9d11c83711443a02e4249163d47f1 (patch) | |
tree | 81057698128ffca7069e3c78b0113129d717ad0f /compiler/dex/mir_dataflow.cc | |
parent | 866709c85da0c0d2c76968713e4dc4a35dce27fd (diff) | |
download | art-65ec92cf13c9d11c83711443a02e4249163d47f1.zip art-65ec92cf13c9d11c83711443a02e4249163d47f1.tar.gz art-65ec92cf13c9d11c83711443a02e4249163d47f1.tar.bz2 |
Refactor CompilerDriver::ComputeInvokeInfo
Don't use non-const reference arguments.
Move ins before outs.
Change-Id: I4a7b8099abe91ea60f93a56077f4989303fa4876
Diffstat (limited to 'compiler/dex/mir_dataflow.cc')
-rw-r--r-- | compiler/dex/mir_dataflow.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/dex/mir_dataflow.cc b/compiler/dex/mir_dataflow.cc index 42ca5dc..be62276 100644 --- a/compiler/dex/mir_dataflow.cc +++ b/compiler/dex/mir_dataflow.cc @@ -1221,10 +1221,10 @@ bool MIRGraph::InvokeUsesMethodStar(MIR* mir) { uint32_t current_offset = static_cast<uint32_t>(current_offset_); bool fast_path = cu_->compiler_driver->ComputeInvokeInfo(&m_unit, current_offset, - type, target_method, - vtable_idx, - direct_code, direct_method, - false, true) && + false, true, + &type, &target_method, + &vtable_idx, + &direct_code, &direct_method) && !(cu_->enable_debug & (1 << kDebugSlowInvokePath)); return (((type == kDirect) || (type == kStatic)) && fast_path && ((direct_code == 0) || (direct_method == 0))); |