Mercurial > hg > graal-compiler
diff src/share/vm/ci/ciObjectFactory.cpp @ 3650:0e8a2a629afb
Pass-by compilation broker.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 16 Nov 2011 21:27:28 +0100 |
parents | 0654ee04b214 |
children | 53636e2c9d03 |
line wrap: on
line diff
--- a/src/share/vm/ci/ciObjectFactory.cpp Wed Nov 16 16:46:32 2011 +0100 +++ b/src/share/vm/ci/ciObjectFactory.cpp Wed Nov 16 21:27:28 2011 +0100 @@ -230,7 +230,9 @@ vmSymbols::SID sid = vmSymbols::find_sid(key); if (sid != vmSymbols::NO_SID) { // do not pollute the main cache with it - return vm_symbol_at(sid); + ciSymbol* result = vm_symbol_at(sid); + assert(result != NULL, ""); + return result; } assert(vmSymbols::find_sid(key) == vmSymbols::NO_SID, "");