src/share/vm/opto/callGenerator.cpp

changeset 7287
8ed0a8dbea70
parent 7041
411e30e5fbb8
child 7535
7ae4e26cb1e0
child 7792
99edc344d77c
     1.1 --- a/src/share/vm/opto/callGenerator.cpp	Mon Sep 29 11:46:05 2014 -0700
     1.2 +++ b/src/share/vm/opto/callGenerator.cpp	Wed Oct 01 12:34:45 2014 -0700
     1.3 @@ -862,7 +862,7 @@
     1.4                                              call_does_dispatch, vtable_index);  // out-parameters
     1.5            // We lack profiling at this call but type speculation may
     1.6            // provide us with a type
     1.7 -          speculative_receiver_type = receiver_type->speculative_type();
     1.8 +          speculative_receiver_type = (receiver_type != NULL) ? receiver_type->speculative_type() : NULL;
     1.9          }
    1.10  
    1.11          CallGenerator* cg = C->call_generator(target, vtable_index, call_does_dispatch, jvms, true, PROB_ALWAYS, speculative_receiver_type, true, true);

mercurial