src/share/vm/c1/c1_LIRGenerator.cpp

changeset 4954
2a9d97b57920
parent 4938
8df6ddda8090
parent 4947
acadb114c818
child 5229
075ea888b039
equal deleted inserted replaced
4939:9500809ceead 4954:2a9d97b57920
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();

mercurial