Mercurial > hg > truffle
comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 10116:2a9d97b57920
Merge
author | bharadwaj |
---|---|
date | Fri, 19 Apr 2013 03:13:04 -0400 |
parents | 8df6ddda8090 acadb114c818 |
children | 075ea888b039 |
comparison
equal
deleted
inserted
replaced
10108:9500809ceead | 10116: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(); |