Bug 454744 - TM: "Assertion failure: PCVAL_IS_SPROP(entry->vword)" with getter.

This commit is contained in:
Brendan Eich 2008-09-11 00:04:33 -07:00
parent 6191674f3d
commit 04c91586af

View File

@ -4450,6 +4450,9 @@ TraceRecorder::record_SetPropHit(uint32 kshape, JSScopeProperty* sprop)
bool
TraceRecorder::record_SetPropMiss(JSPropCacheEntry* entry)
{
if (!entry->kpc)
ABORT_TRACE("can't trace uncacheable property set");
JS_ASSERT(PCVAL_IS_SPROP(entry->vword));
return record_SetPropHit(entry->kshape, PCVAL_TO_SPROP(entry->vword));
}