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

@ -12,6 +12,7 @@
#define AVIAN_CODEGEN_COMPILER_H
#include <avian/system/system.h>
#include <avian/util/slice.h>
#include "avian/zone.h"
#include "assembler.h"
#include "ir.h"
@ -91,8 +92,8 @@ class Compiler {
unsigned flags,
TraceHandler* traceHandler,
ir::Type resultType,
unsigned argumentFootprint /*,
util::Slice<ir::Value*> arguments*/) = 0;
unsigned argumentFootprint,
util::Slice<ir::Value*> arguments) = 0;
virtual void return_(ir::Type type, ir::Value* value) = 0;
virtual void return_() = 0;