Mercurial > hg > truffle
diff src/cpu/x86/vm/interp_masm_x86.cpp @ 14260:8cdf3f43f63e
8026253: New type profiling points: sparc support
Summary: c1 and interpreter support for new type profiling on sparc
Reviewed-by: kvn, twisti
author | roland |
---|---|
date | Tue, 14 Jan 2014 14:51:47 +0100 |
parents | 5ccbab1c69f3 |
children | 4ca6dc0799b6 ce9fd31ffd14 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/interp_masm_x86.cpp Tue Jan 14 12:44:12 2014 +0100 +++ b/src/cpu/x86/vm/interp_masm_x86.cpp Tue Jan 14 14:51:47 2014 +0100 @@ -127,7 +127,7 @@ if (MethodData::profile_return()) { // We're right after the type profile for the last - // argument. tmp is the number of cell left in the + // argument. tmp is the number of cells 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, in_bytes(ArrayData::array_len_offset()))); + movptr(tmp1, Address(mdp, ArrayData::array_len_offset())); decrement(tmp1, TypeStackSlotEntries::per_arg_count()); Label loop;