Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/c1_LIRGenerator_x86.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 |
---|---|
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(); |