remove redundant Compiler::stackCall resultSize parameter

This commit is contained in:
Joshua Warner
2014-04-30 23:54:25 -06:00
committed by Joshua Warner
parent 1d466a800e
commit 8b1739dc0f
3 changed files with 19 additions and 22 deletions

View File

@ -2497,13 +2497,19 @@ class MyCompiler: public Compiler {
virtual Operand* stackCall(Operand* address,
unsigned flags,
TraceHandler* traceHandler,
unsigned resultSize,
ir::Type resultType,
unsigned argumentFootprint)
{
Value* result = value(&c, resultType);
appendCall(&c, static_cast<Value*>(address), flags, traceHandler, result,
resultSize, c.stack, 0, argumentFootprint);
appendCall(&c,
static_cast<Value*>(address),
flags,
traceHandler,
result,
resultType.size(),
c.stack,
0,
argumentFootprint);
return result;
}