Backed out changeset a4e0f0475b78 (bug 1212258) for SM(e) orange

This commit is contained in:
Wes Kocher 2015-10-08 10:15:38 -07:00
parent 4c691ee169
commit 572ed6937d
3 changed files with 1 additions and 16 deletions

View File

@ -1,10 +0,0 @@
// |jit-test| allow-oom;
function h(f, inputs) {
for (var j = 0; j < 99; ++j) {
for (var k = 0; k < 99; ++k) {
oomAfterAllocations(10)
}
}
}
m = function(y) {};
h(m, []);

View File

@ -60,7 +60,7 @@ struct LabelBase
int32_t old = offset_;
offset_ = offset;
MOZ_ASSERT(offset_ == offset, "bitfield overflow");
MOZ_ASSERT(offset_ == offset);
return old;
}

View File

@ -2416,11 +2416,6 @@ Assembler::as_b(Label* l, Condition c)
BOffImm inv;
ret = as_b(inv, c, l);
}
// We might oom while adding more instructions.
if (!ret.assigned())
return ret;
DebugOnly<int32_t> check = l->use(ret.getOffset());
MOZ_ASSERT(check == old);
return ret;