summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2014-03-11 16:05:14 -0700
committerbuzbee <buzbee@google.com>2014-03-11 16:05:14 -0700
commit2f4c3a4e1b84963e9f4465fc476d1ec804321601 (patch)
treee7709dac7fc1ab3d428bd65b5dfc672fdf456218 /compiler
parentd46a0b1c6bc5c1058085063f9ada94d5d6708bdc (diff)
downloadart-2f4c3a4e1b84963e9f4465fc476d1ec804321601.zip
art-2f4c3a4e1b84963e9f4465fc476d1ec804321601.tar.gz
art-2f4c3a4e1b84963e9f4465fc476d1ec804321601.tar.bz2
Remove spurious duplicate line of code
This CL removes a duplicate line of code which appears to have been intended for removal during a cleanup, but wasn't. It would not have affected correctness, rather it uselessly performed the same store twice. Bug originally reported by M Mendell. Change-Id: If4333a29f32b6bdb944b67aa560d856611041ff6
Diffstat (limited to 'compiler')
-rw-r--r--compiler/dex/quick/gen_invoke.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/dex/quick/gen_invoke.cc b/compiler/dex/quick/gen_invoke.cc
index 424cdd6..1907012 100644
--- a/compiler/dex/quick/gen_invoke.cc
+++ b/compiler/dex/quick/gen_invoke.cc
@@ -687,7 +687,6 @@ int Mir2Lir::GenDalvikArgsNoRange(CallInfo* info,
vtable_idx, direct_code, direct_method, type);
}
StoreBaseDisp(TargetReg(kSp), (next_use + 1) * 4, reg, kWord);
- StoreBaseDisp(TargetReg(kSp), 16 /* (3+1)*4 */, reg, kWord);
call_state = next_call_insn(cu_, info, call_state, target_method, vtable_idx,
direct_code, direct_method, type);
next_use++;