Mercurial > hg > graal-compiler
comparison src/cpu/x86/vm/interp_masm_x86.cpp @ 17900:ce9fd31ffd14
8039975: SIGSEGV in MethodData::next_data(ProfileData*)
Summary: profiling code in interpreter broken when argument profiling is off.
Reviewed-by: iveresov, kvn
author | roland |
---|---|
date | Fri, 18 Apr 2014 14:25:21 +0200 |
parents | add2caa66e7e |
children | 52b4284cb496 |
comparison
equal
deleted
inserted
replaced
17899:9eddc467297f | 17900:ce9fd31ffd14 |
---|---|
135 addptr(mdp, tmp); | 135 addptr(mdp, tmp); |
136 } | 136 } |
137 movptr(Address(rbp, frame::interpreter_frame_mdx_offset * wordSize), mdp); | 137 movptr(Address(rbp, frame::interpreter_frame_mdx_offset * wordSize), mdp); |
138 } else { | 138 } else { |
139 assert(MethodData::profile_return(), "either profile call args or call ret"); | 139 assert(MethodData::profile_return(), "either profile call args or call ret"); |
140 update_mdp_by_constant(mdp, in_bytes(ReturnTypeEntry::size())); | 140 update_mdp_by_constant(mdp, in_bytes(TypeEntriesAtCall::return_only_size())); |
141 } | 141 } |
142 | 142 |
143 // mdp points right after the end of the | 143 // mdp points right after the end of the |
144 // CallTypeData/VirtualCallTypeData, right after the cells for the | 144 // CallTypeData/VirtualCallTypeData, right after the cells for the |
145 // return value type if there's one | 145 // return value type if there's one |