Implement gkernel: Part 2 (#155)

* update

* small fixes

* deactivate

* simple kernel test
This commit is contained in:
water111
2020-12-08 21:41:36 -05:00
committed by GitHub
parent d86964985a
commit e05f3ceefc
18 changed files with 844 additions and 193 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ Val* Compiler::compile_lambda(const goos::Object& form, const goos::Object& rest
new_func_env->set_segment(segment);
// set up arguments
if (lambda.params.size() >= 8) {
if (lambda.params.size() > 8) {
throw_compiler_error(form,
"Cannot generate an x86-64 function for a lambda with {} parameters. "
"The current limit is 8.",