src/cpu/x86/vm/c1_LIRGenerator_x86.cpp

changeset 8316
626f594dffa6
parent 7058
2fd0fd493045
child 8415
d109bda16490
     1.1 --- a/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp	Thu Feb 18 16:15:28 2016 +0100
     1.2 +++ b/src/cpu/x86/vm/c1_LIRGenerator_x86.cpp	Tue Mar 01 12:50:37 2016 +0530
     1.3 @@ -195,7 +195,7 @@
     1.4  
     1.5  
     1.6  LIR_Opr LIRGenerator::load_immediate(int x, BasicType type) {
     1.7 -  LIR_Opr r;
     1.8 +  LIR_Opr r = NULL;
     1.9    if (type == T_LONG) {
    1.10      r = LIR_OprFact::longConst(x);
    1.11    } else if (type == T_INT) {
    1.12 @@ -484,7 +484,7 @@
    1.13      __ cmp(lir_cond_equal, right.result(), LIR_OprFact::longConst(0));
    1.14      __ branch(lir_cond_equal, T_LONG, new DivByZeroStub(info));
    1.15  
    1.16 -    address entry;
    1.17 +    address entry = NULL;
    1.18      switch (x->op()) {
    1.19      case Bytecodes::_lrem:
    1.20        entry = CAST_FROM_FN_PTR(address, SharedRuntime::lrem);
    1.21 @@ -1024,7 +1024,7 @@
    1.22  
    1.23  void LIRGenerator::do_Convert(Convert* x) {
    1.24    // flags that vary for the different operations and different SSE-settings
    1.25 -  bool fixed_input, fixed_result, round_result, needs_stub;
    1.26 +  bool fixed_input = false, fixed_result = false, round_result = false, needs_stub = false;
    1.27  
    1.28    switch (x->op()) {
    1.29      case Bytecodes::_i2l: // fall through

mercurial