remove redundant Compiler::call resultSize parameter

This commit is contained in:
Joshua Warner
2014-04-30 23:52:02 -06:00
committed by Joshua Warner
parent 9805ff94b4
commit 1d466a800e
3 changed files with 9 additions and 47 deletions

View File

@ -2442,7 +2442,6 @@ class MyCompiler: public Compiler {
virtual Operand* call(Operand* address,
unsigned flags,
TraceHandler* traceHandler,
unsigned resultSize,
ir::Type resultType,
unsigned argumentCount,
...)
@ -2482,8 +2481,15 @@ class MyCompiler: public Compiler {
}
Value* result = value(&c, resultType);
appendCall(&c, static_cast<Value*>(address), flags, traceHandler, result,
resultSize, argumentStack, index, 0);
appendCall(&c,
static_cast<Value*>(address),
flags,
traceHandler,
result,
resultType.size(),
argumentStack,
index,
0);
return result;
}