diff options
Diffstat (limited to 'src/mir/check.cpp')
-rw-r--r-- | src/mir/check.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mir/check.cpp b/src/mir/check.cpp index 24157f41..80fd65a9 100644 --- a/src/mir/check.cpp +++ b/src/mir/check.cpp @@ -69,11 +69,7 @@ void MIR_Validate(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path PUSH_BB(e.targets[i], "Switch V" << i); } ), - (CallValue, - PUSH_BB(e.ret_block, "Call ret"); - PUSH_BB(e.panic_block, "Call panic"); - ), - (CallPath, + (Call, PUSH_BB(e.ret_block, "Call ret"); PUSH_BB(e.panic_block, "Call panic"); ) @@ -289,10 +285,7 @@ void MIR_Validate(const StaticTraitResolve& resolve, const ::HIR::ItemPath& path (Switch, // Check that the condition is an enum ), - (CallValue, - // Typecheck arguments and return value - ), - (CallPath, + (Call, // Typecheck arguments and return value ) ) |