src/share/vm/c1/c1_LIRGenerator.cpp

changeset 8316
626f594dffa6
parent 7951
8fd636dd1c91
child 8415
d109bda16490
     1.1 --- a/src/share/vm/c1/c1_LIRGenerator.cpp	Thu Feb 18 16:15:28 2016 +0100
     1.2 +++ b/src/share/vm/c1/c1_LIRGenerator.cpp	Tue Mar 01 12:50:37 2016 +0530
     1.3 @@ -3347,7 +3347,7 @@
     1.4  }
     1.5  
     1.6  void LIRGenerator::increment_event_counter(CodeEmitInfo* info, int bci, bool backedge) {
     1.7 -  int freq_log;
     1.8 +  int freq_log = 0;
     1.9    int level = compilation()->env()->comp_level();
    1.10    if (level == CompLevel_limited_profile) {
    1.11      freq_log = (backedge ? Tier2BackedgeNotifyFreqLog : Tier2InvokeNotifyFreqLog);
    1.12 @@ -3368,7 +3368,7 @@
    1.13    assert(level > CompLevel_simple, "Shouldn't be here");
    1.14  
    1.15    int offset = -1;
    1.16 -  LIR_Opr counter_holder;
    1.17 +  LIR_Opr counter_holder = NULL;
    1.18    if (level == CompLevel_limited_profile) {
    1.19      MethodCounters* counters_adr = method->ensure_method_counters();
    1.20      if (counters_adr == NULL) {

mercurial