mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
remove redundant Compiler::condJump type parameter
This commit is contained in:
committed by
Joshua Warner
parent
e3354617a6
commit
b14709c54c
@ -2625,7 +2625,6 @@ class MyCompiler: public Compiler {
|
||||
}
|
||||
|
||||
virtual void condJump(lir::TernaryOperation op,
|
||||
ir::Type type,
|
||||
ir::Value* a,
|
||||
ir::Value* b,
|
||||
ir::Value* address)
|
||||
@ -2634,14 +2633,13 @@ class MyCompiler: public Compiler {
|
||||
(isGeneralBranch(op) and isGeneralValue(a) and isGeneralValue(b))or(
|
||||
isFloatBranch(op) and isFloatValue(a) and isFloatValue(b)));
|
||||
|
||||
assert(&c, type == a->type);
|
||||
assert(&c, type == b->type);
|
||||
assert(&c, a->type == b->type);
|
||||
assert(&c,
|
||||
address->type == ir::Type(ir::Type::Integer, TargetBytesPerWord));
|
||||
|
||||
appendBranch(&c,
|
||||
op,
|
||||
type.size(),
|
||||
a->type.size(),
|
||||
static_cast<Value*>(a),
|
||||
static_cast<Value*>(b),
|
||||
static_cast<Value*>(address));
|
||||
|
Reference in New Issue
Block a user