diff src/share/vm/shark/sharkContext.hpp @ 3847:a3142bdb6707

7071823: Zero: zero/shark doesn't build after b147-fcs Reviewed-by: gbenson, twisti Contributed-by: Chris Phillips <chphilli@redhat.com>
author twisti
date Mon, 08 Aug 2011 05:49:04 -0700
parents f95d63e2154a
children da91efe96a93
line wrap: on
line diff
--- 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;
   }