mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
remove redundant Compiler::store dstType parameter
This commit is contained in:
committed by
Joshua Warner
parent
0ee3eec478
commit
9c98986f99
@ -2610,22 +2610,19 @@ class MyCompiler: public Compiler {
|
||||
|
||||
virtual void store(ir::Type srcType,
|
||||
Operand* src,
|
||||
ir::Type dstType,
|
||||
Operand* dst)
|
||||
{
|
||||
assert(&c, srcType.flavor() == static_cast<Value*>(src)->type.flavor());
|
||||
assert(&c, dstType.flavor() == static_cast<Value*>(dst)->type.flavor());
|
||||
assert(&c, srcType.flavor() == dstType.flavor());
|
||||
assert(&c, srcType.flavor() == static_cast<Value*>(dst)->type.flavor());
|
||||
assert(&c,
|
||||
srcType.flavor() != ir::Type::Float
|
||||
|| srcType.size() == static_cast<Value*>(src)->type.size());
|
||||
assert(&c, dstType == static_cast<Value*>(dst)->type);
|
||||
appendMove(&c,
|
||||
lir::Move,
|
||||
srcType.size(),
|
||||
srcType.size(),
|
||||
static_cast<Value*>(src),
|
||||
dstType.size(),
|
||||
static_cast<Value*>(dst)->type.size(),
|
||||
static_cast<Value*>(dst));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user