mirror of
https://github.com/corda/corda.git
synced 2025-06-14 21:28:14 +00:00
add Compiler::truncateThenExtend
This commit is contained in:
@ -107,6 +107,11 @@ class Compiler {
|
||||
virtual void checkBounds(Operand* object, unsigned lengthOffset,
|
||||
Operand* index, intptr_t handler) = 0;
|
||||
|
||||
virtual Operand* truncateThenExtend(ir::SignExtendMode signExtend,
|
||||
ir::Type extendType,
|
||||
ir::Type truncateType,
|
||||
Operand* src) = 0;
|
||||
|
||||
virtual void store(ir::Type srcType,
|
||||
Operand* src,
|
||||
Operand* dst) = 0;
|
||||
|
Reference in New Issue
Block a user