Fix a logic bug.

This commit is contained in:
Frits van Bommel
2009-04-26 20:31:48 +02:00
parent 17dbddfe41
commit 5d63aeaed9

View File

@@ -52,7 +52,7 @@ int optLevel() {
}
bool optimize() {
return optimizeLevel || doInline() || passList.empty();
return optimizeLevel || doInline() || !passList.empty();
}
// this function inserts some or all of the std-compile-opts passes depending on the