OSDN Git Service

x86_64: Fix wide argument increment
authorChao-ying Fu <chao-ying.fu@intel.com>
Tue, 24 Jun 2014 20:24:36 +0000 (13:24 -0700)
committerChao-ying Fu <chao-ying.fu@intel.com>
Tue, 24 Jun 2014 20:41:24 +0000 (13:41 -0700)
commitb6564c19c5e14a3caa3f8da423b0da510fda7026
treea9eb05b2a008dd36c43ee590d2e0fb84742dc3f1
parent1528b02c4d5241e785bb680f13de70c355e67429
x86_64: Fix wide argument increment

This patch fixes to always increment the index for a wide argument,
and fixes the index upper bound.
Otherwise, the mapping may be incorrect.

Change-Id: I0116d8fd0a0a5c1270a23129c73a9e3651132977
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
compiler/dex/quick/x86/target_x86.cc
test/700-LoadArgRegs/expected.txt
test/700-LoadArgRegs/src/Main.java