소스 검색

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 ...;
     }
 }