mirror of
https://github.com/corda/corda.git
synced 2025-01-07 05:28:51 +00:00
remove unused Compiler::push method
This commit is contained in:
parent
49a5a9f398
commit
75f0812f7a
@ -82,7 +82,6 @@ class Compiler {
|
||||
|
||||
virtual Operand* register_(int number) = 0;
|
||||
|
||||
virtual void push(unsigned footprint) = 0;
|
||||
virtual void push(ir::Type type, Operand* value) = 0;
|
||||
virtual void save(unsigned footprint, Operand* value) = 0;
|
||||
virtual Operand* pop(unsigned footprint) = 0;
|
||||
|
@ -2339,16 +2339,6 @@ class MyCompiler: public Compiler {
|
||||
return c.logicalCode[c.logicalIp]->lastEvent->makeCodePromise(&c);
|
||||
}
|
||||
|
||||
virtual void push(unsigned footprint UNUSED) {
|
||||
assert(&c, footprint == 1);
|
||||
|
||||
Value* v = value(&c, lir::ValueGeneral);
|
||||
Stack* s = compiler::stack(&c, v, c.stack);
|
||||
|
||||
v->home = frameIndex(&c, s->index + c.localFootprint);
|
||||
c.stack = s;
|
||||
}
|
||||
|
||||
virtual void push(ir::Type type, Operand* value)
|
||||
{
|
||||
// TODO: once type information is flowed properly, enable this assert.
|
||||
|
Loading…
Reference in New Issue
Block a user