summaryrefslogtreecommitdiff
path: root/coreMacros/src
diff options
context:
space:
mode:
authorJim Lawson2017-03-13 11:39:21 -1000
committerRichard Lin2017-03-13 14:39:21 -0700
commita6798adbf7567cf105f8190ebd293a4cfb3aeb11 (patch)
tree0a66072a06f9ba5bf4ccd56c6d0b6db28b53152d /coreMacros/src
parenta290d77ef3e88b200ab61cd41fcd1a1138321b66 (diff)
Revert "Change Vec creation to check if gen is lit (and hence needs t… (#530)
* Revert "Change Vec creation to check if gen is lit (and hence needs to be declared)" This reverts commit dc86e7e1734d6abacb739b488df1de231e6b41b2. This may address #522 - using chiselCloneType (instead of cloneType) to preserve directionality. * Add missing implicits to Vec.apply() signature. * Use correct macro (CompileOptionsTransform) for indexWhere.
Diffstat (limited to 'coreMacros/src')
-rw-r--r--coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala3
1 files changed, 0 insertions, 3 deletions
diff --git a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala
index 7799b033..a72dc340 100644
--- a/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala
+++ b/coreMacros/src/main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala
@@ -59,9 +59,6 @@ class MuxTransform(val c: Context) extends SourceInfoTransformMacro {
class VecTransform(val c: Context) extends SourceInfoTransformMacro {
import c.universe._
- def apply_ngen(n: c.Tree, gen: c.Tree): c.Tree = {
- q"$thisObj.do_apply($n,$gen)($implicitSourceInfo, $implicitCompileOptions)"
- }
def apply_elts(elts: c.Tree): c.Tree = {
q"$thisObj.do_apply($elts)($implicitSourceInfo, $implicitCompileOptions)"
}