diff -r 4aa5974a06dd -r a3142bdb6707 src/share/vm/shark/sharkContext.hpp --- a/src/share/vm/shark/sharkContext.hpp Sat Aug 06 08:28:08 2011 -0700 +++ b/src/share/vm/shark/sharkContext.hpp Mon Aug 08 05:49:04 2011 -0700 @@ -171,7 +171,7 @@ BasicType type) const { assert(type >= 0 && type < T_CONFLICT, "unhandled type"); const llvm::Type* result = table[type]; - assert(type != NULL, "unhandled type"); + assert(result != NULL, "unhandled type"); return result; }