1.1 --- a/src/share/vm/adlc/archDesc.hpp Mon Dec 23 10:26:08 2013 -0800 1.2 +++ b/src/share/vm/adlc/archDesc.hpp Fri Dec 20 13:51:14 2013 +0100 1.3 @@ -121,6 +121,12 @@ 1.4 // to access [stack_pointer + offset] 1.5 OperandForm *_cisc_spill_operand; 1.6 1.7 + // If a Call node uses $constanttablebase, it gets MachConstantBaseNode 1.8 + // by the matcher and the matcher will modify the jvms. If so, jvm states 1.9 + // always have to be cloned when a node is cloned. Adlc generates 1.10 + // Compile::needs_clone_jvms() accordingly. 1.11 + bool _needs_clone_jvms; 1.12 + 1.13 // Methods for outputting the DFA 1.14 void gen_match(FILE *fp, MatchList &mlist, ProductionState &status, Dict &operands_chained_from); 1.15 void chain_rule(FILE *fp, const char *indent, const char *ideal, 1.16 @@ -289,6 +295,7 @@ 1.17 void addPreHeaderBlocks(FILE *fp_hpp); 1.18 void addHeaderBlocks(FILE *fp_hpp); 1.19 void addSourceBlocks(FILE *fp_cpp); 1.20 + void generate_needs_clone_jvms(FILE *fp_cpp); 1.21 void generate_adlc_verification(FILE *fp_cpp); 1.22 1.23 // output declaration of class State