hotspot/src/share/vm/shark/sharkContext.hpp
changeset 10260 b7007c4de557
parent 7397 5b173b4ca846
child 13728 882756847a04
--- a/hotspot/src/share/vm/shark/sharkContext.hpp	Sat Aug 06 08:28:08 2011 -0700
+++ b/hotspot/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;
   }