This commit is contained in:
Joshua Warner 2014-05-01 20:31:27 -06:00 committed by Joshua Warner
parent cfc3bd212b
commit ae534bed5f

View File

@ -1029,7 +1029,6 @@ appendCombine(Context* c, lir::TernaryOperation type,
if (thunk) {
FixedSliceStack<ir::Value*, 6> slice;
Stack* oldStack UNUSED = c->stack;
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
bool threadParameter;
@ -1056,8 +1055,6 @@ appendCombine(Context* c, lir::TernaryOperation type,
pushSlice(c, 1, threadRegister(c), stackBase, slice);
}
assert(c, c->stack == oldStack);
appendCall(c,
value(c,
ir::Type(ir::Type::Address, vm::TargetBytesPerWord),
@ -1172,7 +1169,6 @@ appendTranslate(Context* c, lir::BinaryOperation type, unsigned firstSize,
resultSize, &thunk);
if (thunk) {
Stack* oldStack UNUSED = c->stack;
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
FixedSliceStack<ir::Value*, 2> slice;
@ -1182,8 +1178,6 @@ appendTranslate(Context* c, lir::BinaryOperation type, unsigned firstSize,
stackBase,
slice);
assert(c, c->stack == oldStack);
appendCall(c,
value(c,
ir::Type(ir::Type::Address, vm::TargetBytesPerWord),
@ -1534,7 +1528,6 @@ appendBranch(Context* c, lir::TernaryOperation type, unsigned size, Value* first
if (thunk) {
FixedSliceStack<ir::Value*, 4> slice;
Stack* oldStack UNUSED = c->stack;
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
bool threadParameter;
@ -1554,8 +1547,6 @@ appendBranch(Context* c, lir::TernaryOperation type, unsigned size, Value* first
stackBase,
slice);
assert(c, c->stack == oldStack);
Value* result
= value(c, ir::Type(ir::Type::Address, vm::TargetBytesPerWord));
appendCall(c,