src/share/vm/adlc/archDesc.hpp

changeset 2350
2f644f85485d
parent 2314
f95d63e2154a
child 4161
d336b3173277
     1.1 --- a/src/share/vm/adlc/archDesc.hpp	Thu Dec 02 17:21:12 2010 -0800
     1.2 +++ b/src/share/vm/adlc/archDesc.hpp	Fri Dec 03 01:34:31 2010 -0800
     1.3 @@ -126,7 +126,6 @@
     1.4    void chain_rule(FILE *fp, const char *indent, const char *ideal,
     1.5                    const Expr *icost, const char *irule,
     1.6                    Dict &operands_chained_from, ProductionState &status);
     1.7 -  void chain_rule_c(FILE *fp, char *indent, char *ideal, char *irule);  // %%%%% TODO: remove this
     1.8    void expand_opclass(FILE *fp, const char *indent, const Expr *cost,
     1.9                        const char *result_type, ProductionState &status);
    1.10    Expr *calc_cost(FILE *fp, const char *spaces, MatchList &mList, ProductionState &status);
    1.11 @@ -301,13 +300,18 @@
    1.12    void buildMachNodeGenerator(FILE *fp_cpp);
    1.13  
    1.14    // Generator for Expand methods for instructions with expand rules
    1.15 -  void defineExpand(FILE *fp, InstructForm *node);
    1.16 +  void defineExpand      (FILE *fp, InstructForm *node);
    1.17    // Generator for Peephole methods for instructions with peephole rules
    1.18 -  void definePeephole(FILE *fp, InstructForm *node);
    1.19 +  void definePeephole    (FILE *fp, InstructForm *node);
    1.20    // Generator for Size methods for instructions
    1.21 -  void defineSize(FILE *fp, InstructForm &node);
    1.22 +  void defineSize        (FILE *fp, InstructForm &node);
    1.23 +
    1.24 +public:
    1.25 +  // Generator for EvalConstantValue methods for instructions
    1.26 +  void defineEvalConstant(FILE *fp, InstructForm &node);
    1.27    // Generator for Emit methods for instructions
    1.28 -  void defineEmit(FILE *fp, InstructForm &node);
    1.29 +  void defineEmit        (FILE *fp, InstructForm &node);
    1.30 +
    1.31    // Define a MachOper encode method
    1.32    void define_oper_interface(FILE *fp, OperandForm &oper, FormDict &globals,
    1.33                               const char *name, const char *encoding);

mercurial