mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
remove redundant size parameters to appendCombine and appendTranslate
This commit is contained in:
committed by
Joshua Warner
parent
d67820054e
commit
148d35bab5
@ -2668,11 +2668,8 @@ class MyCompiler: public Compiler {
|
||||
|
||||
appendCombine(&c,
|
||||
op,
|
||||
a->type.size(),
|
||||
static_cast<Value*>(a),
|
||||
b->type.size(),
|
||||
static_cast<Value*>(b),
|
||||
type.size(),
|
||||
result);
|
||||
return result;
|
||||
}
|
||||
@ -2685,7 +2682,7 @@ class MyCompiler: public Compiler {
|
||||
and isFloatValue(a)));
|
||||
Value* result = value(&c, a->type);
|
||||
appendTranslate(
|
||||
&c, op, a->type.size(), static_cast<Value*>(a), a->type.size(), result);
|
||||
&c, op, static_cast<Value*>(a), result);
|
||||
return result;
|
||||
}
|
||||
|
||||
@ -2696,9 +2693,7 @@ class MyCompiler: public Compiler {
|
||||
Value* result = value(&c, resType);
|
||||
appendTranslate(&c,
|
||||
lir::Float2Float,
|
||||
a->type.size(),
|
||||
static_cast<Value*>(a),
|
||||
resType.size(),
|
||||
result);
|
||||
return result;
|
||||
}
|
||||
@ -2710,9 +2705,7 @@ class MyCompiler: public Compiler {
|
||||
Value* result = value(&c, resType);
|
||||
appendTranslate(&c,
|
||||
lir::Float2Int,
|
||||
a->type.size(),
|
||||
static_cast<Value*>(a),
|
||||
resType.size(),
|
||||
result);
|
||||
return result;
|
||||
}
|
||||
@ -2724,9 +2717,7 @@ class MyCompiler: public Compiler {
|
||||
Value* result = value(&c, resType);
|
||||
appendTranslate(&c,
|
||||
lir::Int2Float,
|
||||
a->type.size(),
|
||||
static_cast<Value*>(a),
|
||||
resType.size(),
|
||||
result);
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user