comparison src/share/vm/adlc/forms.hpp @ 6850:d336b3173277

8000592: Improve adlc usability Summary: several changes to adlc to improve its usability Reviewed-by: kvn Contributed-by: goetz.lindenmaier@sap.com
author kvn
date Tue, 09 Oct 2012 16:09:31 -0700
parents 8e47bac5643a
children b42fe1a8e180
comparison
equal deleted inserted replaced
6849:f6badecb7ea7 6850:d336b3173277
447 const Component *search(const char *name); 447 const Component *search(const char *name);
448 448
449 // Return number of USEs + number of DEFs 449 // Return number of USEs + number of DEFs
450 int num_operands(); 450 int num_operands();
451 // Return zero-based position in list; -1 if not in list. 451 // Return zero-based position in list; -1 if not in list.
452 int operand_position(const char *name, int usedef); 452 int operand_position(const char *name, int usedef, Form *fm);
453 // Find position for this name, regardless of use/def information 453 // Find position for this name, regardless of use/def information
454 int operand_position(const char *name); 454 int operand_position(const char *name);
455 // Find position for this name when looked up for output via "format" 455 // Find position for this name when looked up for output via "format"
456 int operand_position_format(const char *name); 456 int operand_position_format(const char *name, Form *fm);
457 // Find position for the Label when looked up for output via "format" 457 // Find position for the Label when looked up for output via "format"
458 int label_position(); 458 int label_position();
459 // Find position for the Method when looked up for output via "format" 459 // Find position for the Method when looked up for output via "format"
460 int method_position(); 460 int method_position();
461 461