Mercurial > hg > truffle
comparison src/share/vm/ci/ciSymbol.hpp @ 8151:b8f261ba79c6
Minimize diff to plain HotSpot version.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 07 Mar 2013 21:00:29 +0100 |
parents | 2cb439954abf |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
8150:b66f831ac5ab | 8151:b8f261ba79c6 |
---|---|
46 friend class ciMethod; | 46 friend class ciMethod; |
47 friend class ciObjArrayKlass; | 47 friend class ciObjArrayKlass; |
48 | 48 |
49 private: | 49 private: |
50 const vmSymbols::SID _sid; | 50 const vmSymbols::SID _sid; |
51 DEBUG_ONLY( bool sid_ok() { return true;/*vmSymbols::find_sid(get_symbol()) == _sid;*/ } ) | 51 DEBUG_ONLY( bool sid_ok() { return vmSymbols::find_sid(get_symbol()) == _sid; } ) |
52 | 52 |
53 ciSymbol(Symbol* s); // normal case, for symbols not mentioned in vmSymbols | 53 ciSymbol(Symbol* s); // normal case, for symbols not mentioned in vmSymbols |
54 ciSymbol(Symbol* s, vmSymbols::SID sid); // for use with vmSymbols | 54 ciSymbol(Symbol* s, vmSymbols::SID sid); // for use with vmSymbols |
55 | 55 |
56 Symbol* get_symbol() const { return _symbol; } | 56 Symbol* get_symbol() const { return _symbol; } |