< prev index next >

src/hotspot/share/compiler/abstractDisassembler.cpp

Print this page
rev 55008 : 8224652: 32-bit build failures after JDK-8213084
Contributed-by: shade@redhat.com
Reviewed-by: thartmann


 196     pos   = st->position();
 197     align = ((pos+tsize-1)/tsize)*tsize;
 198     st->fill_to(align);
 199   }
 200 
 201   //---<  printing int/long data  >---
 202   if (show_data_int()) {
 203     switch (len) {
 204       case 4: if (print_header) {
 205                 st->print("         int");
 206               } else {
 207                 if (((uintptr_t)(here)&0x03) == 0) {
 208                   st->print("%12.1d",  *((jint*)here));
 209                 }
 210               }
 211               st->fill_to(align += 2*tsize);
 212       case 8: if (print_header) {
 213                 st->print("                   long");
 214               } else {
 215                 if (((uintptr_t)(here)&0x07) == 0) {
 216                   st->print("%23.1ld", *((jlong*)here));
 217                 }
 218               }
 219               st->fill_to(align += 3*tsize);
 220               break;
 221       default: ;
 222     }
 223     pos   = st->position();
 224     align = ((pos+tsize-1)/tsize)*tsize;
 225     st->fill_to(align);
 226   }
 227 
 228   //---<  printing float/double data  >---
 229   if (show_data_float()) {
 230     switch (len) {
 231       case 4: if (print_header) {
 232                 st->print("          float");
 233               } else {
 234                 if (((uintptr_t)(here)&0x03) == 0) {
 235                   st->print("%15.7e",  (double)*((float*)here));
 236                 }




 196     pos   = st->position();
 197     align = ((pos+tsize-1)/tsize)*tsize;
 198     st->fill_to(align);
 199   }
 200 
 201   //---<  printing int/long data  >---
 202   if (show_data_int()) {
 203     switch (len) {
 204       case 4: if (print_header) {
 205                 st->print("         int");
 206               } else {
 207                 if (((uintptr_t)(here)&0x03) == 0) {
 208                   st->print("%12.1d",  *((jint*)here));
 209                 }
 210               }
 211               st->fill_to(align += 2*tsize);
 212       case 8: if (print_header) {
 213                 st->print("                   long");
 214               } else {
 215                 if (((uintptr_t)(here)&0x07) == 0) {
 216                   st->print(JLONG_FORMAT_W(23), *((jlong*)here));
 217                 }
 218               }
 219               st->fill_to(align += 3*tsize);
 220               break;
 221       default: ;
 222     }
 223     pos   = st->position();
 224     align = ((pos+tsize-1)/tsize)*tsize;
 225     st->fill_to(align);
 226   }
 227 
 228   //---<  printing float/double data  >---
 229   if (show_data_float()) {
 230     switch (len) {
 231       case 4: if (print_header) {
 232                 st->print("          float");
 233               } else {
 234                 if (((uintptr_t)(here)&0x03) == 0) {
 235                   st->print("%15.7e",  (double)*((float*)here));
 236                 }


< prev index next >