DriverPhases: Fix flipped input extensions for cmm and cmmcpp
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 2 Feb 2018 18:57:51 +0000 (13:57 -0500)
committerBen Gamari <ben@smart-cactus.org>
Fri, 2 Feb 2018 18:57:51 +0000 (13:57 -0500)
Test Plan: Validate

Subscribers: rwbarton, thomie, carter

Differential Revision: https://phabricator.haskell.org/D4349

compiler/main/DriverPhases.hs

index 177c15e..57455a5 100644 (file)
@@ -289,8 +289,8 @@ phaseInputExt LlvmOpt             = "ll"
 phaseInputExt LlvmLlc             = "bc"
 phaseInputExt LlvmMangle          = "lm_s"
 phaseInputExt SplitAs             = "split_s"
-phaseInputExt CmmCpp              = "cmm"
-phaseInputExt Cmm                 = "cmmcpp"
+phaseInputExt CmmCpp              = "cmmcpp"
+phaseInputExt Cmm                 = "cmm"
 phaseInputExt MergeForeign        = "o"
 phaseInputExt StopLn              = "o"