Mercurial > hg > release > icedtea7-forest-2.0 > hotspot
changeset 2638:ec89ffe12270
sharkContext typo in assert
author | andrew |
---|---|
date | Wed, 27 Jul 2011 01:20:00 +0100 |
parents | 603aa5ff338b |
children | fef5d0e41bde |
files | src/share/vm/shark/sharkContext.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/shark/sharkContext.hpp Wed Jul 27 01:18:15 2011 +0100 +++ b/src/share/vm/shark/sharkContext.hpp Wed Jul 27 01:20:00 2011 +0100 @@ -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; }