mirror of
https://github.com/corda/corda.git
synced 2025-06-19 23:53:52 +00:00
move Compiler::Operand to ir::Value
This commit is contained in:
@ -26,7 +26,7 @@ const int NoFrameIndex = -1;
|
||||
|
||||
const bool DebugSites = false;
|
||||
|
||||
class Value: public Compiler::Operand {
|
||||
class Value : public ir::Value {
|
||||
public:
|
||||
Read* reads;
|
||||
Read* lastRead;
|
||||
@ -66,12 +66,12 @@ class Value: public Compiler::Operand {
|
||||
|
||||
};
|
||||
|
||||
inline bool isFloatValue(Compiler::Operand* a)
|
||||
inline bool isFloatValue(ir::Value* a)
|
||||
{
|
||||
return static_cast<Value*>(a)->type.flavor() == ir::Type::Float;
|
||||
}
|
||||
|
||||
inline bool isGeneralValue(Compiler::Operand* a)
|
||||
inline bool isGeneralValue(ir::Value* a)
|
||||
{
|
||||
return !isFloatValue(a);
|
||||
}
|
||||
|
Reference in New Issue
Block a user