No bug - IonMonkey: Check return value of pushTypeBarrier, r=mjrosenb

This commit is contained in:
Hannes Verschore 2013-11-08 23:19:22 +01:00
parent daef6f1012
commit bc95c8a2b1

View File

@ -1497,7 +1497,8 @@ IonBuilder::inlineUnsafeGetReservedSlot(CallInfo &callInfo)
current->push(load);
// We don't track reserved slot types, so always emit a barrier.
pushTypeBarrier(load, getInlineReturnTypeSet(), true);
if (!pushTypeBarrier(load, getInlineReturnTypeSet(), true))
return InliningStatus_Error;
return InliningStatus_Inlined;
}