From ed06ec666e4b3dac21c4482c56e99bf7fd19b042 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 2 Dec 2016 12:24:14 +0200 Subject: [PATCH] Remove some VariableResolver calls that are no longer needed Now that nodes don't get copied when moving around the previously resolved declaration pointers will stay valid. --- source/programcompiler.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/programcompiler.cpp b/source/programcompiler.cpp index 86ea8da9..fdb2576e 100644 --- a/source/programcompiler.cpp +++ b/source/programcompiler.cpp @@ -166,13 +166,11 @@ void ProgramCompiler::generate(Stage &stage) apply(stage); apply(stage); apply(stage); - apply(stage); } bool ProgramCompiler::optimize(Stage &stage) { apply(stage); - apply(stage); set unused = apply(stage); set unused2 = apply(stage); -- 2.45.2