equal
deleted
inserted
replaced
359 return offset; |
359 return offset; |
360 } |
360 } |
361 |
361 |
362 void LIR_Assembler::clinit_barrier(ciMethod* method) { |
362 void LIR_Assembler::clinit_barrier(ciMethod* method) { |
363 assert(VM_Version::supports_fast_class_init_checks(), "sanity"); |
363 assert(VM_Version::supports_fast_class_init_checks(), "sanity"); |
364 assert(method->holder()->is_being_initialized() || method->holder()->is_initialized(), |
364 assert(!method->holder()->is_not_initialized(), "initialization should have been started"); |
365 "initialization should have been started"); |
|
366 |
365 |
367 Label L_skip_barrier; |
366 Label L_skip_barrier; |
368 Register klass = rscratch1; |
367 Register klass = rscratch1; |
369 Register thread = LP64_ONLY( r15_thread ) NOT_LP64( noreg ); |
368 Register thread = LP64_ONLY( r15_thread ) NOT_LP64( noreg ); |
370 assert(thread != noreg, "x86_32 not implemented"); |
369 assert(thread != noreg, "x86_32 not implemented"); |