From 5deed177a5a6fcd7bad86c8dd4f5866f7b578de3 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 31 Dec 2016 14:07:45 +0800 Subject: MIR - Fix a bit of invalid MIR --- src/trans/codegen_c.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/trans/codegen_c.cpp') diff --git a/src/trans/codegen_c.cpp b/src/trans/codegen_c.cpp index 3f6c69be..e29f2a40 100644 --- a/src/trans/codegen_c.cpp +++ b/src/trans/codegen_c.cpp @@ -1453,17 +1453,17 @@ namespace { TU_MATCHA( (path.m_data), (pe), (Generic, if( pe.m_params.m_types.size() > 0 ) - MIR_TODO(*m_mir_res, "Paths with generics " << path); + MIR_TODO(*m_mir_res, "get_literal_for_const - Paths with generics " << path); return m_crate.get_constant_by_path(Span(), pe.m_path).m_value_res; ), (UfcsUnknown, - MIR_BUG(*m_mir_res, "UfcsUnknown " << path); + MIR_BUG(*m_mir_res, "get_literal_for_const - UfcsUnknown " << path); ), (UfcsKnown, - MIR_TODO(*m_mir_res, "UfcsKnown " << path); + MIR_TODO(*m_mir_res, "get_literal_for_const - UfcsKnown " << path); ), (UfcsInherent, - MIR_TODO(*m_mir_res, "UfcsInherent " << path); + MIR_TODO(*m_mir_res, "get_literal_for_const - UfcsInherent " << path); ) ) throw ""; -- cgit v1.2.3