new as a user-level procedure

This commit is contained in:
Ginger Bill
2017-06-25 22:31:30 +01:00
parent 4e7150b470
commit 3ab481df17
5 changed files with 13 additions and 8 deletions
+2
View File
@@ -3772,6 +3772,7 @@ irValue *ir_build_builtin_proc(irProcedure *proc, AstNode *expr, TypeAndValue tv
} break;
#if 0
case BuiltinProc_new: {
ir_emit_comment(proc, str_lit("new"));
// proc new(Type) -> ^Type
@@ -3807,6 +3808,7 @@ irValue *ir_build_builtin_proc(irProcedure *proc, AstNode *expr, TypeAndValue tv
}
return v;
} break;
#endif
case BuiltinProc_make: {
ir_emit_comment(proc, str_lit("make"));