changeset 5121:34518fd74518

fixed fastdebug C++ issue
author Christian Haeubl <christian.haeubl@oracle.com>
date Tue, 20 Mar 2012 08:34:54 -0700
parents 37e75b4de85e
children 9b940aff6c6b
files src/share/vm/runtime/deoptimization.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/deoptimization.cpp	Tue Mar 20 08:24:04 2012 -0700
+++ b/src/share/vm/runtime/deoptimization.cpp	Tue Mar 20 08:34:54 2012 -0700
@@ -1660,7 +1660,7 @@
   // For reasons which are recorded per bytecode, we check per-BCI data.
   ProfileData* pdata = NULL;
   DeoptReason per_bc_reason = reason_recorded_per_bytecode_if_any(reason);
-  assert(per_bc_reason != NULL || update_total_trap_count, "must be");
+  assert(per_bc_reason != Reason_none || update_total_trap_count, "must be");
   if (per_bc_reason != Reason_none) {
     // Find the profile data for this BCI.  If there isn't one,
     // try to allocate one from the MDO's set of spares.