Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 9156:acadb114c818
8011648: C1: optimized build is broken after 7153771
Summary: missing #ifdef ASSERT
Reviewed-by: kvn
author | roland |
---|---|
date | Mon, 15 Apr 2013 17:17:11 +0200 |
parents | 8be1318fbe77 |
children | 43223d3f5dcd 2a9d97b57920 |
comparison
equal
deleted
inserted
replaced
9155:bb4a966cc68f | 9156:acadb114c818 |
---|---|
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(); |