hotspot/src/cpu/sparc/vm/c1_MacroAssembler_sparc.cpp
changeset 360 21d113ecbf6a
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
   234   Register var_size_in_bytes,          // object size in bytes if unknown at compile time; invalid otherwise
   234   Register var_size_in_bytes,          // object size in bytes if unknown at compile time; invalid otherwise
   235   int      con_size_in_bytes,          // object size in bytes if   known at compile time
   235   int      con_size_in_bytes,          // object size in bytes if   known at compile time
   236   Register t1,                         // temp register
   236   Register t1,                         // temp register
   237   Register t2                          // temp register
   237   Register t2                          // temp register
   238   ) {
   238   ) {
   239   const int hdr_size_in_bytes = oopDesc::header_size_in_bytes();
   239   const int hdr_size_in_bytes = instanceOopDesc::base_offset_in_bytes();
   240 
   240 
   241   initialize_header(obj, klass, noreg, t1, t2);
   241   initialize_header(obj, klass, noreg, t1, t2);
   242 
   242 
   243 #ifdef ASSERT
   243 #ifdef ASSERT
   244   {
   244   {