Commit e9583795 authored by Eric Christopher's avatar Eric Christopher
Browse files

Fold the opt size check into the assert to silence an unused variable warning.

parent d9067dca
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -182,9 +182,8 @@ namespace {
                             "indirect-tls-seg-refs");

      // OptFor[Min]Size are used in pattern predicates that isel is matching.
      bool OptForSize = MF.getFunction().hasOptSize();
      OptForMinSize = MF.getFunction().hasMinSize();
      assert((!OptForMinSize || OptForSize) &&
      assert((!OptForMinSize || MF.getFunction().hasOptSize()) &&
             "OptForMinSize implies OptForSize");

      SelectionDAGISel::runOnMachineFunction(MF);