mirror of
https://github.com/corda/corda.git
synced 2025-06-18 07:08:15 +00:00
use ir::Type in Compiler::store
This commit is contained in:
committed by
Joshua Warner
parent
8af9bb8297
commit
2ed52c05a8
@ -2593,11 +2593,18 @@ class MyCompiler: public Compiler {
|
||||
static_cast<Value*>(index), handler);
|
||||
}
|
||||
|
||||
virtual void store(unsigned srcSize, Operand* src, unsigned dstSize,
|
||||
virtual void store(ir::Type srcType,
|
||||
Operand* src,
|
||||
ir::Type dstType,
|
||||
Operand* dst)
|
||||
{
|
||||
appendMove(&c, lir::Move, srcSize, srcSize, static_cast<Value*>(src),
|
||||
dstSize, static_cast<Value*>(dst));
|
||||
appendMove(&c,
|
||||
lir::Move,
|
||||
srcType.size(),
|
||||
srcType.size(),
|
||||
static_cast<Value*>(src),
|
||||
dstType.size(),
|
||||
static_cast<Value*>(dst));
|
||||
}
|
||||
|
||||
virtual Operand* load(unsigned srcSize, unsigned srcSelectSize, Operand* src,
|
||||
|
Reference in New Issue
Block a user