Mercurial > hg > graal-compiler
diff src/share/vm/runtime/deoptimization.cpp @ 5121:34518fd74518
fixed fastdebug C++ issue
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Tue, 20 Mar 2012 08:34:54 -0700 |
parents | dad1ac9dba7d |
children | ab038e0d6b43 |
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.