Преглед на файлове

glasm: Reduce reg allocation leaks from an exception to a log

ReinUsesLisp преди 5 години
родител
ревизия
b6c087496b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/shader_recompiler/backend/glasm/emit_glasm.cpp

+ 1 - 1
src/shader_recompiler/backend/glasm/emit_glasm.cpp

@@ -253,7 +253,7 @@ void EmitCode(EmitContext& ctx, const IR::Program& program) {
         }
     }
     if (!ctx.reg_alloc.IsEmpty()) {
-        throw LogicError("Register allocator is not empty");
+        // LOG_WARNING ...;
     }
 }