Mercurial > hg > truffle
comparison src/share/vm/opto/node.hpp @ 10279:70120f47d403
8014189: JVM crash with SEGV in ConnectionGraph::record_for_escape_analysis()
Summary: Add NULL checks and asserts for Type::make_ptr() returned value.
Reviewed-by: twisti
author | kvn |
---|---|
date | Thu, 09 May 2013 17:28:04 -0700 |
parents | 6f3fd5150b67 |
children | d1034bd8cefc |
comparison
equal
deleted
inserted
replaced
10278:6f3fd5150b67 | 10279:70120f47d403 |
---|---|
963 const TypeLong* t = find_long_type(); | 963 const TypeLong* t = find_long_type(); |
964 return (t != NULL && t->is_con()) ? t->get_con() : value_if_unknown; | 964 return (t != NULL && t->is_con()) ? t->get_con() : value_if_unknown; |
965 } | 965 } |
966 const TypeLong* find_long_type() const; | 966 const TypeLong* find_long_type() const; |
967 | 967 |
968 const TypePtr* get_ptr_type() const; | |
969 | |
968 // These guys are called by code generated by ADLC: | 970 // These guys are called by code generated by ADLC: |
969 intptr_t get_ptr() const; | 971 intptr_t get_ptr() const; |
970 intptr_t get_narrowcon() const; | 972 intptr_t get_narrowcon() const; |
971 jdouble getd() const; | 973 jdouble getd() const; |
972 jfloat getf() const; | 974 jfloat getf() const; |