authorgravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2019-03-08 10:58:29+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-03-11 10:55:10-04:00
log5a52613caf940b264bc0ed011e503ceec769200a
treea6fb252ded8b3a570829ab6bdc323644c40f0636
parent29accac74c64bb91c3a36e19db8602a77e19d85e
signature Commit is signed but in an unrecognized format.

use cached const_void_val


1 files changed, 1 insertions(+), 3 deletions(-)

src/ir.cpp+1-3
...@@ -18045,9 +18045,7 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInstruction *source_instr...@@ -18045,9 +18045,7 @@ static Error ir_make_type_info_value(IrAnalyze *ira, IrInstruction *source_instr
18045 case ZigTypeIdNull:18045 case ZigTypeIdNull:
18046 case ZigTypeIdArgTuple:18046 case ZigTypeIdArgTuple:
18047 case ZigTypeIdOpaque:18047 case ZigTypeIdOpaque:
18048 result = create_const_vals(1);18048 result = &ira->codegen->const_void_val;
18049 result->special = ConstValSpecialStatic;
18050 result->type = ira->codegen->builtin_types.entry_void;
18051 break;18049 break;
18052 case ZigTypeIdInt:18050 case ZigTypeIdInt:
18053 {18051 {