Mercurial > hg > truffle
diff src/cpu/x86/vm/interp_masm_x86.cpp @ 14909:4ca6dc0799b6
Backout jdk9 merge
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 01 Apr 2014 13:57:07 +0200 |
parents | 8cdf3f43f63e |
children | 52b4284cb496 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/interp_masm_x86.cpp Tue Apr 01 14:09:03 2014 +0200 +++ b/src/cpu/x86/vm/interp_masm_x86.cpp Tue Apr 01 13:57:07 2014 +0200 @@ -127,7 +127,7 @@ if (MethodData::profile_return()) { // We're right after the type profile for the last - // argument. tmp is the number of cells left in the + // argument. tmp is the number of cell left in the // CallTypeData/VirtualCallTypeData to reach its end. Non null // if there's a return to profile. assert(ReturnTypeEntry::static_cell_count() < TypeStackSlotEntries::per_arg_count(), "can't move past ret type"); @@ -198,7 +198,7 @@ // parameters. Collect profiling from last parameter down. // mdo start + parameters offset + array length - 1 addptr(mdp, tmp1); - movptr(tmp1, Address(mdp, ArrayData::array_len_offset())); + movptr(tmp1, Address(mdp, in_bytes(ArrayData::array_len_offset()))); decrement(tmp1, TypeStackSlotEntries::per_arg_count()); Label loop;