mirror of
https://github.com/corda/corda.git
synced 2025-06-16 06:08:13 +00:00
merge Compiler::load and Compiler::loadz
This commit is contained in:
@ -110,14 +110,11 @@ class Compiler {
|
||||
virtual void store(ir::Type srcType,
|
||||
Operand* src,
|
||||
Operand* dst) = 0;
|
||||
virtual Operand* load(ir::Type srcType,
|
||||
virtual Operand* load(ir::SignExtendMode signExtend,
|
||||
ir::Type srcType,
|
||||
ir::Type srcSelectType,
|
||||
Operand* src,
|
||||
ir::Type dstType) = 0;
|
||||
virtual Operand* loadz(ir::Type srcType,
|
||||
ir::Type srcSelectType,
|
||||
Operand* src,
|
||||
ir::Type dstType) = 0;
|
||||
|
||||
virtual void condJump(lir::TernaryOperation op,
|
||||
unsigned size,
|
||||
|
@ -113,6 +113,8 @@ class Types {
|
||||
}
|
||||
};
|
||||
|
||||
enum SignExtendMode { SignExtend, ZeroExtend };
|
||||
|
||||
} // namespace ir
|
||||
} // namespace codegen
|
||||
} // namespace avian
|
||||
|
Reference in New Issue
Block a user