src/share/vm/opto/doCall.cpp

changeset 5981
3213ba4d3dff
parent 5798
29bdcf12457c
child 5991
b2ee5dc63353
     1.1 --- a/src/share/vm/opto/doCall.cpp	Fri Oct 18 12:15:32 2013 -0700
     1.2 +++ b/src/share/vm/opto/doCall.cpp	Sat Oct 19 12:16:43 2013 +0200
     1.3 @@ -495,7 +495,7 @@
     1.4    // because exceptions don't return to the call site.)
     1.5    profile_call(receiver);
     1.6  
     1.7 -  JVMState* new_jvms = cg->generate(jvms);
     1.8 +  JVMState* new_jvms = cg->generate(jvms, this);
     1.9    if (new_jvms == NULL) {
    1.10      // When inlining attempt fails (e.g., too many arguments),
    1.11      // it may contaminate the current compile state, making it
    1.12 @@ -509,7 +509,7 @@
    1.13      // intrinsic was expecting to optimize. Should always be possible to
    1.14      // get a normal java call that may inline in that case
    1.15      cg = C->call_generator(cg->method(), vtable_index, call_does_dispatch, jvms, try_inline, prof_factor(), /* allow_intrinsics= */ false);
    1.16 -    if ((new_jvms = cg->generate(jvms)) == NULL) {
    1.17 +    if ((new_jvms = cg->generate(jvms, this)) == NULL) {
    1.18        guarantee(failing(), "call failed to generate:  calls should work");
    1.19        return;
    1.20      }

mercurial