src/cpu/x86/vm/c1_LIRGenerator_x86.cpp

changeset 3848
e2fe93124108
parent 3846
8b0a4867acf0
child 4037
da91efe96a93
equal deleted inserted replaced
3847:5e990493719e 3848:e2fe93124108
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();

mercurial