Merge size_of and size_of_val et al.

This commit is contained in:
Ginger Bill
2017-06-15 12:25:53 +01:00
parent 23f9f9064e
commit d3c24d159f
3 changed files with 35 additions and 120 deletions
-4
View File
@@ -3622,10 +3622,6 @@ irValue *ir_build_builtin_proc(irProcedure *proc, AstNode *expr, TypeAndValue tv
Type *t = default_type(type_of_expr(proc->module->info, ce->args[0]));
return ir_type_info(proc, t);
} break;
case BuiltinProc_type_info_of_val: {
Type *t = default_type(type_of_expr(proc->module->info, ce->args[0]));
return ir_type_info(proc, t);
} break;
case BuiltinProc_transmute: {
irValue *x = ir_build_expr(proc, ce->args[1]);