hotspot/src/share/vm/c1/c1_Instruction.hpp
changeset 7397 5b173b4ca846
parent 7100 6bcf9255d470
child 7427 d7b79a367474
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_C1_C1_INSTRUCTION_HPP
       
    26 #define SHARE_VM_C1_C1_INSTRUCTION_HPP
       
    27 
       
    28 #include "c1/c1_Compilation.hpp"
       
    29 #include "c1/c1_LIR.hpp"
       
    30 #include "c1/c1_ValueType.hpp"
       
    31 #include "ci/ciField.hpp"
    24 
    32 
    25 // Predefined classes
    33 // Predefined classes
    26 class ciField;
    34 class ciField;
    27 class ValueStack;
    35 class ValueStack;
    28 class InstructionPrinter;
    36 class InstructionPrinter;
  2301 inline int         BlockBegin::number_of_sux() const            { assert(_end == NULL || _end->number_of_sux() == _successors.length(), "mismatch"); return _successors.length(); }
  2309 inline int         BlockBegin::number_of_sux() const            { assert(_end == NULL || _end->number_of_sux() == _successors.length(), "mismatch"); return _successors.length(); }
  2302 inline BlockBegin* BlockBegin::sux_at(int i) const              { assert(_end == NULL || _end->sux_at(i) == _successors.at(i), "mismatch");          return _successors.at(i); }
  2310 inline BlockBegin* BlockBegin::sux_at(int i) const              { assert(_end == NULL || _end->sux_at(i) == _successors.at(i), "mismatch");          return _successors.at(i); }
  2303 inline void        BlockBegin::add_successor(BlockBegin* sux)   { assert(_end == NULL, "Would create mismatch with successors of BlockEnd");         _successors.append(sux); }
  2311 inline void        BlockBegin::add_successor(BlockBegin* sux)   { assert(_end == NULL, "Would create mismatch with successors of BlockEnd");         _successors.append(sux); }
  2304 
  2312 
  2305 #undef ASSERT_VALUES
  2313 #undef ASSERT_VALUES
       
  2314 
       
  2315 #endif // SHARE_VM_C1_C1_INSTRUCTION_HPP