From 4ed8ee7489600fb7b3e8b12eb23434bcb1ce4af8 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sat, 18 Feb 2017 21:29:23 +0000 Subject: [PATCH] microinstruction: Void arguments when invalidating instruction --- src/frontend/ir/microinstruction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/ir/microinstruction.cpp b/src/frontend/ir/microinstruction.cpp index a9549d52..ee01729e 100644 --- a/src/frontend/ir/microinstruction.cpp +++ b/src/frontend/ir/microinstruction.cpp @@ -303,6 +303,7 @@ void Inst::Invalidate() { if (!value.IsImmediate()) { UndoUse(value); } + value = {}; } }