Fixed a bug where no shape guard was emitted if a property was not found, causing it to remain unseen if added later. Abort in this case instead. (bug 457171, r=brendan)

This commit is contained in:
David Anderson 2008-09-26 19:18:00 -07:00
Родитель e41558fe21
Коммит 6a7096652e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3556,7 +3556,7 @@ TraceRecorder::test_property_cache(JSObject* obj, LIns* obj_ins, JSObject*& obj2
// Use PCVAL_NULL to return "no such property" to our caller.
pcval = PCVAL_NULL;
return true;
ABORT_TRACE("failed to find property");
}
OBJ_DROP_PROPERTY(cx, obj2, prop);