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 |