# HG changeset patch # User Christian Haeubl # Date 1332257694 25200 # Node ID 34518fd7451834a8ca0ac6abbc0050a93c61b577 # Parent 37e75b4de85e5c56bfbc27e8d89c9019486007b3 fixed fastdebug C++ issue diff -r 37e75b4de85e -r 34518fd74518 src/share/vm/runtime/deoptimization.cpp --- 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.