Mercurial > hg > graal-compiler
comparison src/share/vm/adlc/adlparse.cpp @ 3842:c7b60b601eb4
7069452: Cleanup NodeFlags
Summary: Remove flags which duplicate information in Node::NodeClasses.
Reviewed-by: never
author | kvn |
---|---|
date | Wed, 27 Jul 2011 17:28:36 -0700 |
parents | fe240d87c6ec |
children | 6729bbc1fcd6 |
comparison
equal
deleted
inserted
replaced
3841:0f34fdee809e | 3842:c7b60b601eb4 |
---|---|
123 } | 123 } |
124 | 124 |
125 // AttributeForms ins_cost and op_cost must be defined for default behaviour | 125 // AttributeForms ins_cost and op_cost must be defined for default behaviour |
126 if (_globalNames[AttributeForm::_ins_cost] == NULL) { | 126 if (_globalNames[AttributeForm::_ins_cost] == NULL) { |
127 parse_err(SEMERR, "Did not declare 'ins_cost' attribute"); | 127 parse_err(SEMERR, "Did not declare 'ins_cost' attribute"); |
128 } | |
129 if (_globalNames[AttributeForm::_ins_pc_relative] == NULL) { | |
130 parse_err(SEMERR, "Did not declare 'ins_pc_relative' attribute"); | |
131 } | 128 } |
132 if (_globalNames[AttributeForm::_op_cost] == NULL) { | 129 if (_globalNames[AttributeForm::_op_cost] == NULL) { |
133 parse_err(SEMERR, "Did not declare 'op_cost' attribute"); | 130 parse_err(SEMERR, "Did not declare 'op_cost' attribute"); |
134 } | 131 } |
135 } | 132 } |