pass CallEvent arguments in Slice as well

This commit is contained in:
Joshua Warner
2014-05-01 16:40:57 -06:00
parent 4e00a1e304
commit 97ce7d2b4e
5 changed files with 147 additions and 92 deletions

View File

@ -2497,7 +2497,8 @@ class MyCompiler: public Compiler {
resultType.size(),
argumentStack,
index,
0);
0,
util::Slice<ir::Value*>(0, 0));
return result;
}
@ -2506,7 +2507,8 @@ class MyCompiler: public Compiler {
unsigned flags,
TraceHandler* traceHandler,
ir::Type resultType,
unsigned argumentFootprint)
unsigned argumentFootprint,
Slice<ir::Value*> arguments)
{
Value* result = value(&c, resultType);
appendCall(&c,
@ -2517,7 +2519,8 @@ class MyCompiler: public Compiler {
resultType.size(),
c.stack,
0,
argumentFootprint);
argumentFootprint,
arguments);
return result;
}