comparison src/share/vm/adlc/adlparse.hpp @ 4120:f03a3c8bd5e5

7077312: Provide a CALL effect for instruct declaration in the ad file Summary: abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers) Reviewed-by: twisti, never
author roland
date Wed, 14 Sep 2011 09:22:51 +0200
parents 2f644f85485d
children 044b28168e20
comparison
equal deleted inserted replaced
4119:7793051af7d6 4120:f03a3c8bd5e5
230 int get_int(void); 230 int get_int(void);
231 // Return the next token, a relational operator { ==, !=, <=, >= } 231 // Return the next token, a relational operator { ==, !=, <=, >= }
232 char *get_relation_dup(void); 232 char *get_relation_dup(void);
233 233
234 void get_oplist(NameList &parameters, FormDict &operands);// Parse type-operand pairs 234 void get_oplist(NameList &parameters, FormDict &operands);// Parse type-operand pairs
235 void get_effectlist(FormDict &effects, FormDict &operands); // Parse effect-operand pairs 235 void get_effectlist(FormDict &effects, FormDict &operands, bool& has_call); // Parse effect-operand pairs
236 // Return the contents of a parenthesized expression. 236 // Return the contents of a parenthesized expression.
237 // Requires initial '(' and consumes final ')', which is replaced by '\0'. 237 // Requires initial '(' and consumes final ')', which is replaced by '\0'.
238 char *get_paren_expr(const char *description, bool include_location = false); 238 char *get_paren_expr(const char *description, bool include_location = false);
239 // Return expression up to next stop-char, which terminator replaces. 239 // Return expression up to next stop-char, which terminator replaces.
240 // Does not require initial '('. Does not consume final stop-char. 240 // Does not require initial '('. Does not consume final stop-char.