mirror of
https://github.com/corda/corda.git
synced 2025-06-17 14:48:16 +00:00
Remove boilerplate code (float binaryOp methods in Compiler)
This commit is contained in:
@ -117,7 +117,7 @@ inline bool isGeneralBinaryOp(lir::TernaryOperation op) {
|
||||
}
|
||||
|
||||
inline bool isFloatBinaryOp(lir::TernaryOperation op) {
|
||||
return op > FloatAdd && op <= FloatMin;
|
||||
return op >= FloatAdd && op <= FloatMin;
|
||||
}
|
||||
|
||||
class Operand { };
|
||||
|
Reference in New Issue
Block a user