- missed these in the last commit.

This commit is contained in:
Christoph Oelckers 2016-11-30 18:43:10 +01:00
parent 86544086df
commit 83d7f63364
2 changed files with 2 additions and 6 deletions

View file

@ -573,7 +573,7 @@ begin:
FillReturns(reg, f, returns, pc+1, C); FillReturns(reg, f, returns, pc+1, C);
if (call->Native) if (call->Native)
{ {
numret = static_cast<VMNativeFunction *>(call)->NativeCall(stack, reg.param + f->NumParam - B, call->DefaultArgs, B, returns, C); numret = static_cast<VMNativeFunction *>(call)->NativeCall(reg.param + f->NumParam - B, call->DefaultArgs, B, returns, C);
} }
else else
{ {
@ -617,7 +617,7 @@ begin:
if (call->Native) if (call->Native)
{ {
return static_cast<VMNativeFunction *>(call)->NativeCall(stack, reg.param + f->NumParam - B, call->DefaultArgs, B, ret, numret); return static_cast<VMNativeFunction *>(call)->NativeCall(reg.param + f->NumParam - B, call->DefaultArgs, B, ret, numret);
} }
else else
{ // FIXME: Not a true tail call { // FIXME: Not a true tail call

View file

@ -3267,7 +3267,3 @@ FArgumentList &ZCCCompiler::ConvertNodeList(FArgumentList &args, ZCC_TreeNode *h
} }
return args; return args;
} }
void func()
{
}