3102 } else { |
3102 } else { |
3103 __ move(result, rlock_result(x)); |
3103 __ move(result, rlock_result(x)); |
3104 } |
3104 } |
3105 } |
3105 } |
3106 |
3106 |
|
3107 #ifdef ASSERT |
3107 void LIRGenerator::do_Assert(Assert *x) { |
3108 void LIRGenerator::do_Assert(Assert *x) { |
3108 #ifdef ASSERT |
|
3109 ValueTag tag = x->x()->type()->tag(); |
3109 ValueTag tag = x->x()->type()->tag(); |
3110 If::Condition cond = x->cond(); |
3110 If::Condition cond = x->cond(); |
3111 |
3111 |
3112 LIRItem xitem(x->x(), this); |
3112 LIRItem xitem(x->x(), this); |
3113 LIRItem yitem(x->y(), this); |
3113 LIRItem yitem(x->y(), this); |
3123 |
3123 |
3124 LIR_Opr left = xin->result(); |
3124 LIR_Opr left = xin->result(); |
3125 LIR_Opr right = yin->result(); |
3125 LIR_Opr right = yin->result(); |
3126 |
3126 |
3127 __ lir_assert(lir_cond(x->cond()), left, right, x->message(), true); |
3127 __ lir_assert(lir_cond(x->cond()), left, right, x->message(), true); |
|
3128 } |
3128 #endif |
3129 #endif |
3129 } |
|
3130 |
|
3131 |
3130 |
3132 void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) { |
3131 void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) { |
3133 |
3132 |
3134 |
3133 |
3135 Instruction *a = x->x(); |
3134 Instruction *a = x->x(); |