diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-25 22:31:30 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-25 22:31:30 +0100 |
| commit | 3ab481df17d35ac0ac66f0bb619885e43dc060f1 (patch) | |
| tree | a5c7a17498c4e369adcaddb187bb03549f8a48e1 /src/ir.cpp | |
| parent | 4e7150b470fe9a0b0794fa9bdbac49ffc2c113be (diff) | |
`new` as a user-level procedure
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 1698645a4..641412bc1 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -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")); |