src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp

changeset 1368
cdb8b7c37ac1
parent 1363
d0acbc302e14
child 1424
148e5441d916
child 1433
a0107ba3bc53
     1.1 --- a/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp	Mon Aug 24 11:13:46 2009 -0700
     1.2 +++ b/src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp	Mon Aug 24 22:26:15 2009 -0700
     1.3 @@ -950,15 +950,17 @@
     1.4    }
     1.5  
     1.6    // Evaluate state_for early since it may emit code.
     1.7 -  CodeEmitInfo* info = state_for(x, x->state());
     1.8    CodeEmitInfo* patching_info = NULL;
     1.9    if (!x->klass()->is_loaded() || PatchALot) {
    1.10      patching_info = state_for(x, x->state_before());
    1.11  
    1.12      // cannot re-use same xhandlers for multiple CodeEmitInfos, so
    1.13 -    // clone all handlers.
    1.14 +    // clone all handlers.  This is handled transparently in other
    1.15 +    // places by the CodeEmitInfo cloning logic but is handled
    1.16 +    // specially here because a stub isn't being used.
    1.17      x->set_exception_handlers(new XHandlers(x->exception_handlers()));
    1.18    }
    1.19 +  CodeEmitInfo* info = state_for(x, x->state());
    1.20  
    1.21    i = dims->length();
    1.22    while (i-- > 0) {

mercurial