hotspot/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp
changeset 12959 4d33f9be7e87
parent 12957 f3cc386f349e
child 13728 882756847a04
equal deleted inserted replaced
12958:009b6c9586d8 12959:4d33f9be7e87
   963   // Evaluate state_for early since it may emit code.
   963   // Evaluate state_for early since it may emit code.
   964   CodeEmitInfo* patching_info = NULL;
   964   CodeEmitInfo* patching_info = NULL;
   965   if (!x->klass()->is_loaded() || PatchALot) {
   965   if (!x->klass()->is_loaded() || PatchALot) {
   966     patching_info = state_for(x, x->state_before());
   966     patching_info = state_for(x, x->state_before());
   967 
   967 
   968     // cannot re-use same xhandlers for multiple CodeEmitInfos, so
   968     // Cannot re-use same xhandlers for multiple CodeEmitInfos, so
   969     // clone all handlers.  This is handled transparently in other
   969     // clone all handlers (NOTE: Usually this is handled transparently
   970     // places by the CodeEmitInfo cloning logic but is handled
   970     // by the CodeEmitInfo cloning logic in CodeStub constructors but
   971     // specially here because a stub isn't being used.
   971     // is done explicitly here because a stub isn't being used).
   972     x->set_exception_handlers(new XHandlers(x->exception_handlers()));
   972     x->set_exception_handlers(new XHandlers(x->exception_handlers()));
   973   }
   973   }
   974   CodeEmitInfo* info = state_for(x, x->state());
   974   CodeEmitInfo* info = state_for(x, x->state());
   975 
   975 
   976   i = dims->length();
   976   i = dims->length();