< prev index next >

src/share/vm/adlc/archDesc.hpp

Print this page

        

@@ -111,13 +111,13 @@
   RegisterForm *_register;           // Only one Register Form allowed
   FrameForm    *_frame;              // Describe stack-frame layout
   EncodeForm   *_encode;             // Only one Encode Form allowed
   PipelineForm *_pipeline;           // Pipeline Form for output
 
-  bool _has_match_rule[_last_opcode];  // found AD rule for ideal node in <arch>.ad
+  bool _has_match_rule[static_cast<uint>(Opcodes::_last_opcode)];  // found AD rule for ideal node in <arch>.ad
 
-  MatchList    *_mlistab[_last_opcode]; // Array of MatchLists
+  MatchList    *_mlistab[static_cast<uint>(Opcodes::_last_opcode)]; // Array of MatchLists
 
   // The Architecture Description identifies which user-defined operand can be used
   // to access [stack_pointer + offset]
   OperandForm  *_cisc_spill_operand;
 
< prev index next >