Mercurial > hg > graal-jvmci-8
comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 9159:43223d3f5dcd
Merge with hsx/hotspot-comp
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 16 Apr 2013 17:39:46 +0200 |
parents | 89e4d67fdd2a acadb114c818 |
children | 836a62f43af9 |
comparison
equal
deleted
inserted
replaced
9158:9d74a0d7b231 | 9159:43223d3f5dcd |
---|---|
3101 } else { | 3101 } else { |
3102 __ move(result, rlock_result(x)); | 3102 __ move(result, rlock_result(x)); |
3103 } | 3103 } |
3104 } | 3104 } |
3105 | 3105 |
3106 #ifdef ASSERT | |
3106 void LIRGenerator::do_Assert(Assert *x) { | 3107 void LIRGenerator::do_Assert(Assert *x) { |
3107 #ifdef ASSERT | |
3108 ValueTag tag = x->x()->type()->tag(); | 3108 ValueTag tag = x->x()->type()->tag(); |
3109 If::Condition cond = x->cond(); | 3109 If::Condition cond = x->cond(); |
3110 | 3110 |
3111 LIRItem xitem(x->x(), this); | 3111 LIRItem xitem(x->x(), this); |
3112 LIRItem yitem(x->y(), this); | 3112 LIRItem yitem(x->y(), this); |
3122 | 3122 |
3123 LIR_Opr left = xin->result(); | 3123 LIR_Opr left = xin->result(); |
3124 LIR_Opr right = yin->result(); | 3124 LIR_Opr right = yin->result(); |
3125 | 3125 |
3126 __ lir_assert(lir_cond(x->cond()), left, right, x->message(), true); | 3126 __ lir_assert(lir_cond(x->cond()), left, right, x->message(), true); |
3127 } | |
3127 #endif | 3128 #endif |
3128 } | |
3129 | |
3130 | 3129 |
3131 void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) { | 3130 void LIRGenerator::do_RangeCheckPredicate(RangeCheckPredicate *x) { |
3132 | 3131 |
3133 | 3132 |
3134 Instruction *a = x->x(); | 3133 Instruction *a = x->x(); |