From a6798adbf7567cf105f8190ebd293a4cfb3aeb11 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Mon, 13 Mar 2017 11:39:21 -1000 Subject: 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. --- .../main/scala/chisel3/internal/sourceinfo/SourceInfoTransform.scala | 3 --- 1 file changed, 3 deletions(-) (limited to 'coreMacros/src') 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)" } -- cgit v1.2.3