Bug 1131297 - Remove unnecessary type barrier elision, r=jandem.

This commit is contained in:
Brian Hackett 2015-02-11 12:49:00 -07:00
parent 8562d29931
commit 1bbe97735d

View File

@ -10077,9 +10077,6 @@ IonBuilder::getPropTryUnboxed(bool *emitted, MDefinition *obj, PropertyName *nam
obj = guard;
}
if (unboxedType != JSVAL_TYPE_OBJECT)
barrier = BarrierKind::NoBarrier;
MInstruction *load = loadUnboxedProperty(obj, offset, unboxedType, barrier, types);
current->push(load);