aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/Compiler.scala
diff options
context:
space:
mode:
authorJack Koenig2018-03-27 21:54:30 -0700
committerGitHub2018-03-27 21:54:30 -0700
commitcf0d971beda33a1802c384bd8d5eebb150d9d578 (patch)
tree95d47d79d784289904fc0cb0c88b349617dc3a67 /src/main/scala/firrtl/Compiler.scala
parent65454f5ff1a370d66202a073e18cdcd40180f051 (diff)
Change throwInternalError to use a String instead of Option[String] (#777)
Diffstat (limited to 'src/main/scala/firrtl/Compiler.scala')
-rw-r--r--src/main/scala/firrtl/Compiler.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/scala/firrtl/Compiler.scala b/src/main/scala/firrtl/Compiler.scala
index d43f415a..ca74e5e1 100644
--- a/src/main/scala/firrtl/Compiler.scala
+++ b/src/main/scala/firrtl/Compiler.scala
@@ -330,8 +330,8 @@ object CompilerUtils extends LazyLogging {
Seq(new IRToWorkingIR, new ResolveAndCheck, new transforms.DedupModules,
new HighFirrtlToMiddleFirrtl) ++ getLoweringTransforms(MidForm, outputForm)
case MidForm => Seq(new MiddleFirrtlToLowFirrtl) ++ getLoweringTransforms(LowForm, outputForm)
- case LowForm => throwInternalError(Some("getLoweringTransforms - LowForm")) // should be caught by if above
- case UnknownForm => throwInternalError(Some("getLoweringTransforms - UnknownForm")) // should be caught by if above
+ case LowForm => throwInternalError("getLoweringTransforms - LowForm") // should be caught by if above
+ case UnknownForm => throwInternalError("getLoweringTransforms - UnknownForm") // should be caught by if above
}
}
}