hotspot/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp
changeset 12959 4d33f9be7e87
parent 12957 f3cc386f349e
child 13728 882756847a04
equal deleted inserted replaced
12958:009b6c9586d8 12959:4d33f9be7e87
  1085   // Evaluate state_for early since it may emit code.
  1085   // Evaluate state_for early since it may emit code.
  1086   CodeEmitInfo* patching_info = NULL;
  1086   CodeEmitInfo* patching_info = NULL;
  1087   if (!x->klass()->is_loaded() || PatchALot) {
  1087   if (!x->klass()->is_loaded() || PatchALot) {
  1088     patching_info = state_for(x, x->state_before());
  1088     patching_info = state_for(x, x->state_before());
  1089 
  1089 
  1090     // cannot re-use same xhandlers for multiple CodeEmitInfos, so
  1090     // Cannot re-use same xhandlers for multiple CodeEmitInfos, so
  1091     // clone all handlers.  This is handled transparently in other
  1091     // clone all handlers (NOTE: Usually this is handled transparently
  1092     // places by the CodeEmitInfo cloning logic but is handled
  1092     // by the CodeEmitInfo cloning logic in CodeStub constructors but
  1093     // specially here because a stub isn't being used.
  1093     // is done explicitly here because a stub isn't being used).
  1094     x->set_exception_handlers(new XHandlers(x->exception_handlers()));
  1094     x->set_exception_handlers(new XHandlers(x->exception_handlers()));
  1095   }
  1095   }
  1096   CodeEmitInfo* info = state_for(x, x->state());
  1096   CodeEmitInfo* info = state_for(x, x->state());
  1097 
  1097 
  1098   i = dims->length();
  1098   i = dims->length();