mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
cleanup
This commit is contained in:
parent
cfc3bd212b
commit
ae534bed5f
@ -1029,7 +1029,6 @@ appendCombine(Context* c, lir::TernaryOperation type,
|
|||||||
|
|
||||||
if (thunk) {
|
if (thunk) {
|
||||||
FixedSliceStack<ir::Value*, 6> slice;
|
FixedSliceStack<ir::Value*, 6> slice;
|
||||||
Stack* oldStack UNUSED = c->stack;
|
|
||||||
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
|
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
|
||||||
|
|
||||||
bool threadParameter;
|
bool threadParameter;
|
||||||
@ -1056,8 +1055,6 @@ appendCombine(Context* c, lir::TernaryOperation type,
|
|||||||
pushSlice(c, 1, threadRegister(c), stackBase, slice);
|
pushSlice(c, 1, threadRegister(c), stackBase, slice);
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(c, c->stack == oldStack);
|
|
||||||
|
|
||||||
appendCall(c,
|
appendCall(c,
|
||||||
value(c,
|
value(c,
|
||||||
ir::Type(ir::Type::Address, vm::TargetBytesPerWord),
|
ir::Type(ir::Type::Address, vm::TargetBytesPerWord),
|
||||||
@ -1172,7 +1169,6 @@ appendTranslate(Context* c, lir::BinaryOperation type, unsigned firstSize,
|
|||||||
resultSize, &thunk);
|
resultSize, &thunk);
|
||||||
|
|
||||||
if (thunk) {
|
if (thunk) {
|
||||||
Stack* oldStack UNUSED = c->stack;
|
|
||||||
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
|
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
|
||||||
FixedSliceStack<ir::Value*, 2> slice;
|
FixedSliceStack<ir::Value*, 2> slice;
|
||||||
|
|
||||||
@ -1182,8 +1178,6 @@ appendTranslate(Context* c, lir::BinaryOperation type, unsigned firstSize,
|
|||||||
stackBase,
|
stackBase,
|
||||||
slice);
|
slice);
|
||||||
|
|
||||||
assert(c, c->stack == oldStack);
|
|
||||||
|
|
||||||
appendCall(c,
|
appendCall(c,
|
||||||
value(c,
|
value(c,
|
||||||
ir::Type(ir::Type::Address, vm::TargetBytesPerWord),
|
ir::Type(ir::Type::Address, vm::TargetBytesPerWord),
|
||||||
@ -1534,7 +1528,6 @@ appendBranch(Context* c, lir::TernaryOperation type, unsigned size, Value* first
|
|||||||
|
|
||||||
if (thunk) {
|
if (thunk) {
|
||||||
FixedSliceStack<ir::Value*, 4> slice;
|
FixedSliceStack<ir::Value*, 4> slice;
|
||||||
Stack* oldStack UNUSED = c->stack;
|
|
||||||
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
|
size_t stackBase = c->stack ? c->stack->index + 1 : 0;
|
||||||
|
|
||||||
bool threadParameter;
|
bool threadParameter;
|
||||||
@ -1554,8 +1547,6 @@ appendBranch(Context* c, lir::TernaryOperation type, unsigned size, Value* first
|
|||||||
stackBase,
|
stackBase,
|
||||||
slice);
|
slice);
|
||||||
|
|
||||||
assert(c, c->stack == oldStack);
|
|
||||||
|
|
||||||
Value* result
|
Value* result
|
||||||
= value(c, ir::Type(ir::Type::Address, vm::TargetBytesPerWord));
|
= value(c, ir::Type(ir::Type::Address, vm::TargetBytesPerWord));
|
||||||
appendCall(c,
|
appendCall(c,
|
||||||
|
Loading…
Reference in New Issue
Block a user