src/share/vm/classfile/verifier.hpp

changeset 6866
2993491d47df
parent 6782
f73af4455d7d
child 6871
077483254bf6
     1.1 --- a/src/share/vm/classfile/verifier.hpp	Tue Aug 05 13:36:03 2014 +0100
     1.2 +++ b/src/share/vm/classfile/verifier.hpp	Sat Aug 02 16:28:59 2014 -0400
     1.3 @@ -258,9 +258,6 @@
     1.4  
     1.5    ErrorContext _error_context;  // contains information about an error
     1.6  
     1.7 -  // Used to detect illegal jumps over calls to super() nd this() in ctors.
     1.8 -  int32_t _furthest_jump;
     1.9 -
    1.10    void verify_method(methodHandle method, TRAPS);
    1.11    char* generate_code_data(methodHandle m, u4 code_length, TRAPS);
    1.12    void verify_exception_handler_table(u4 code_length, char* code_data,
    1.13 @@ -407,19 +404,6 @@
    1.14  
    1.15    TypeOrigin ref_ctx(const char* str, TRAPS);
    1.16  
    1.17 -  // Keep track of the furthest branch done in a method to make sure that
    1.18 -  // there are no branches over calls to super() or this() from inside of
    1.19 -  // a constructor.
    1.20 -  int32_t furthest_jump() { return _furthest_jump; }
    1.21 -
    1.22 -  void set_furthest_jump(int32_t target) {
    1.23 -    _furthest_jump = target;
    1.24 -  }
    1.25 -
    1.26 -  void update_furthest_jump(int32_t target) {
    1.27 -    if (target > _furthest_jump) _furthest_jump = target;
    1.28 -  }
    1.29 -
    1.30  };
    1.31  
    1.32  inline int ClassVerifier::change_sig_to_verificationType(

mercurial