Bug 1157761: Fix a copy-pasto in vm/TypeInference.cpp; r=bhackett

This commit is contained in:
Benjamin Bouvier 2015-04-23 17:58:29 +02:00
parent 87b4d10d29
commit b7e1f15285

View File

@ -904,7 +904,7 @@ TypeSet::intersectSets(TemporaryTypeSet* a, TemporaryTypeSet* b, LifoAlloc* allo
if (b->unknownObject()) {
for (size_t i = 0; i < a->getObjectCount(); i++) {
if (b->getObject(i))
if (a->getObject(i))
res->addType(ObjectType(a->getObject(i)), alloc);
}
return res;