comparison src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp @ 6145:e2fe93124108

7174928: JSR 292: unresolved invokedynamic call sites deopt and osr infinitely Reviewed-by: kvn
author twisti
date Wed, 13 Jun 2012 11:36:03 -0700
parents 8b0a4867acf0
children da91efe96a93
comparison
equal deleted inserted replaced
6144:5e990493719e 6145:e2fe93124108
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();