src/hotspot/share/c1/c1_Canonicalizer.hpp
changeset 47765 b7c7428eaab9
parent 47216 71c04702a3d5
child 53244 9807daeb47c4
equal deleted inserted replaced
47764:029d5efaaa6c 47765:b7c7428eaab9
    38   void set_bci(int bci)                          { _bci = bci; }
    38   void set_bci(int bci)                          { _bci = bci; }
    39   void set_constant(jint x)                      { set_canonical(new Constant(new IntConstant(x))); }
    39   void set_constant(jint x)                      { set_canonical(new Constant(new IntConstant(x))); }
    40   void set_constant(jlong x)                     { set_canonical(new Constant(new LongConstant(x))); }
    40   void set_constant(jlong x)                     { set_canonical(new Constant(new LongConstant(x))); }
    41   void set_constant(jfloat x)                    { set_canonical(new Constant(new FloatConstant(x))); }
    41   void set_constant(jfloat x)                    { set_canonical(new Constant(new FloatConstant(x))); }
    42   void set_constant(jdouble x)                   { set_canonical(new Constant(new DoubleConstant(x))); }
    42   void set_constant(jdouble x)                   { set_canonical(new Constant(new DoubleConstant(x))); }
       
    43 #ifdef _WINDOWS
       
    44   // jint is defined as long in jni_md.h, so convert from int to jint
       
    45   void set_constant(int x)                       { set_constant((jint)x); }
       
    46 #endif
    43   void move_const_to_right(Op2* x);
    47   void move_const_to_right(Op2* x);
    44   void do_Op2(Op2* x);
    48   void do_Op2(Op2* x);
    45   void do_UnsafeRawOp(UnsafeRawOp* x);
    49   void do_UnsafeRawOp(UnsafeRawOp* x);
    46 
    50 
    47   void unsafe_raw_match(UnsafeRawOp* x,
    51   void unsafe_raw_match(UnsafeRawOp* x,