From: Mikko Rasa Date: Fri, 2 Dec 2016 10:24:14 +0000 (+0200) Subject: Remove some VariableResolver calls that are no longer needed X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=ed06ec666e4b3dac21c4482c56e99bf7fd19b042;p=libs%2Fgl.git 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. --- 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);