mirror of
https://github.com/corda/corda.git
synced 2025-06-19 23:53:52 +00:00
expose Value::type and add asserts
This commit is contained in:
@ -40,7 +40,15 @@ class Compiler {
|
||||
static const unsigned TailJump = 1 << 2;
|
||||
static const unsigned LongJumpOrCall = 1 << 3;
|
||||
|
||||
class Operand { };
|
||||
class Operand {
|
||||
public:
|
||||
ir::Type type;
|
||||
|
||||
Operand(ir::Type type) : type(type)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class State { };
|
||||
class Subroutine { };
|
||||
|
||||
@ -121,7 +129,7 @@ class Compiler {
|
||||
ir::Type dstType) = 0;
|
||||
|
||||
virtual void condJump(lir::TernaryOperation op,
|
||||
unsigned size,
|
||||
ir::Type type,
|
||||
Operand* a,
|
||||
Operand* b,
|
||||
Operand* address) = 0;
|
||||
|
Reference in New Issue
Block a user