src/share/vm/c1/c1_IR.hpp

changeset 1919
61b2245abf36
parent 1730
3cf667df43ef
child 1934
e9ff18c4ace7
     1.1 --- a/src/share/vm/c1/c1_IR.hpp	Thu May 20 06:34:23 2010 -0700
     1.2 +++ b/src/share/vm/c1/c1_IR.hpp	Fri May 21 02:59:24 2010 -0700
     1.3 @@ -269,6 +269,7 @@
     1.4    int               _bci;
     1.5    CodeEmitInfo*     _next;
     1.6    int               _id;
     1.7 +  bool              _is_method_handle_invoke;    // true if the associated call site is a MethodHandle call site.
     1.8  
     1.9    FrameMap*     frame_map() const                { return scope()->compilation()->frame_map(); }
    1.10    Compilation*  compilation() const              { return scope()->compilation(); }
    1.11 @@ -287,7 +288,8 @@
    1.12      , _stack(NULL)
    1.13      , _exception_handlers(NULL)
    1.14      , _next(NULL)
    1.15 -    , _id(-1) {
    1.16 +    , _id(-1)
    1.17 +    , _is_method_handle_invoke(false) {
    1.18    }
    1.19  
    1.20    // make a copy
    1.21 @@ -302,13 +304,16 @@
    1.22    int bci() const                                { return _bci; }
    1.23  
    1.24    void add_register_oop(LIR_Opr opr);
    1.25 -  void record_debug_info(DebugInformationRecorder* recorder, int pc_offset, bool is_method_handle_invoke = false);
    1.26 +  void record_debug_info(DebugInformationRecorder* recorder, int pc_offset);
    1.27  
    1.28    CodeEmitInfo* next() const        { return _next; }
    1.29    void set_next(CodeEmitInfo* next) { _next = next; }
    1.30  
    1.31    int id() const      { return _id; }
    1.32    void set_id(int id) { _id = id; }
    1.33 +
    1.34 +  bool     is_method_handle_invoke() const { return _is_method_handle_invoke;     }
    1.35 +  void set_is_method_handle_invoke(bool x) {        _is_method_handle_invoke = x; }
    1.36  };
    1.37  
    1.38  

mercurial