Mercurial > hg > truffle
comparison src/share/vm/adlc/archDesc.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 | f95d63e2154a |
children | 11211f7cb5a0 |
comparison
equal
deleted
inserted
replaced
3841:0f34fdee809e | 3842:c7b60b601eb4 |
---|---|
333 | 333 |
334 Attribute *attr = instr->_attribs; | 334 Attribute *attr = instr->_attribs; |
335 while (attr != NULL) { | 335 while (attr != NULL) { |
336 if (strcmp(attr->_ident,"ins_short_branch") == 0 && | 336 if (strcmp(attr->_ident,"ins_short_branch") == 0 && |
337 attr->int_val(*this) != 0) { | 337 attr->int_val(*this) != 0) { |
338 if (!instr->is_ideal_branch() || instr->label_position() == -1) { | |
339 syntax_err(instr->_linenum, "%s: Only short branch to a label is supported\n", rootOp); | |
340 } | |
338 instr->set_short_branch(true); | 341 instr->set_short_branch(true); |
339 } else if (strcmp(attr->_ident,"ins_alignment") == 0 && | 342 } else if (strcmp(attr->_ident,"ins_alignment") == 0 && |
340 attr->int_val(*this) != 0) { | 343 attr->int_val(*this) != 0) { |
341 instr->set_alignment(attr->int_val(*this)); | 344 instr->set_alignment(attr->int_val(*this)); |
342 } | 345 } |