diff --git a/src/codegen/compiler/event.cpp b/src/codegen/compiler/event.cpp index f16ce1c81e..c03c0a3a5e 100644 --- a/src/codegen/compiler/event.cpp +++ b/src/codegen/compiler/event.cpp @@ -1029,7 +1029,6 @@ appendCombine(Context* c, lir::TernaryOperation type, if (thunk) { FixedSliceStack 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 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 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,