diff options
| author | Jack Koenig | 2018-03-27 21:54:30 -0700 |
|---|---|---|
| committer | GitHub | 2018-03-27 21:54:30 -0700 |
| commit | cf0d971beda33a1802c384bd8d5eebb150d9d578 (patch) | |
| tree | 95d47d79d784289904fc0cb0c88b349617dc3a67 /src/main/scala/firrtl/Compiler.scala | |
| parent | 65454f5ff1a370d66202a073e18cdcd40180f051 (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.scala | 4 |
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 } } } |
