Mercurial > hg > truffle
comparison src/cpu/x86/vm/assembler_x86.cpp @ 4714:96ce4c27112f
7122939: TraceBytecodes broken with UseCompressedOops
Summary: Disable verify_heapbase on sparc if TraceBytecodes because the latter uses r12 as a temp register
Reviewed-by: coleenp, phh
Contributed-by: Volker Simonis <volker.simonis@gmail.com>
author | coleenp |
---|---|
date | Mon, 19 Dec 2011 15:34:09 -0500 |
parents | 59bc0d4d9ea3 |
children | 8940fd98d540 |
comparison
equal
deleted
inserted
replaced
4707:434acc838772 | 4714:96ce4c27112f |
---|---|
5966 } | 5966 } |
5967 // debugging support | 5967 // debugging support |
5968 assert(number_of_arguments >= 0 , "cannot have negative number of arguments"); | 5968 assert(number_of_arguments >= 0 , "cannot have negative number of arguments"); |
5969 LP64_ONLY(assert(java_thread == r15_thread, "unexpected register")); | 5969 LP64_ONLY(assert(java_thread == r15_thread, "unexpected register")); |
5970 #ifdef ASSERT | 5970 #ifdef ASSERT |
5971 LP64_ONLY(if (UseCompressedOops) verify_heapbase("call_VM_base");) | 5971 // TraceBytecodes does not use r12 but saves it over the call, so don't verify |
5972 // r12 is the heapbase. | |
5973 LP64_ONLY(if (UseCompressedOops && !TraceBytecodes) verify_heapbase("call_VM_base");) | |
5972 #endif // ASSERT | 5974 #endif // ASSERT |
5973 | 5975 |
5974 assert(java_thread != oop_result , "cannot use the same register for java_thread & oop_result"); | 5976 assert(java_thread != oop_result , "cannot use the same register for java_thread & oop_result"); |
5975 assert(java_thread != last_java_sp, "cannot use the same register for java_thread & last_java_sp"); | 5977 assert(java_thread != last_java_sp, "cannot use the same register for java_thread & last_java_sp"); |
5976 | 5978 |