Fix receiving more than 6 arguments, allow calling functions with more than 6 arguments

This commit is contained in:
Jef
2018-12-12 13:23:43 +01:00
parent 86353cba5e
commit 189996accd
4 changed files with 107 additions and 10 deletions

View File

@@ -115,7 +115,7 @@ pub fn translate(
prologue(&mut ctx, framesize);
for arg_pos in 0..arg_count {
copy_incoming_arg(&mut ctx, arg_pos);
copy_incoming_arg(&mut ctx, framesize, arg_pos);
}
let mut control_frames = Vec::new();