diff options
| author | Jim Lawson | 2017-05-11 16:55:08 -0700 |
|---|---|---|
| committer | GitHub | 2017-05-11 16:55:08 -0700 |
| commit | fba12e01fda28a72b3c00116b52f8aee8bce0677 (patch) | |
| tree | b532b48020d11c41815779c9f8b2e0092cdaa798 /src/main/scala/firrtl/passes/Uniquify.scala | |
| parent | 41c28e5292180b455d677e63d6cafbc649063b41 (diff) | |
Refactor WIR WSub{Field,Index,Access} - rename exp -> expr #521 (#586)
Diffstat (limited to 'src/main/scala/firrtl/passes/Uniquify.scala')
| -rw-r--r-- | src/main/scala/firrtl/passes/Uniquify.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/scala/firrtl/passes/Uniquify.scala b/src/main/scala/firrtl/passes/Uniquify.scala index 61bd68d0..54b94939 100644 --- a/src/main/scala/firrtl/passes/Uniquify.scala +++ b/src/main/scala/firrtl/passes/Uniquify.scala @@ -152,7 +152,7 @@ object Uniquify extends Transform { } else (e, Map()) case e: WSubField => - val (subExp, subMap) = rec(e.exp, m) + val (subExp, subMap) = rec(e.expr, m) val (retName, retMap) = if (subMap.contains(e.name)) { val node = subMap(e.name) @@ -162,10 +162,10 @@ object Uniquify extends Transform { } (WSubField(subExp, retName, e.tpe, e.gender), retMap) case e: WSubIndex => - val (subExp, subMap) = rec(e.exp, m) + val (subExp, subMap) = rec(e.expr, m) (WSubIndex(subExp, e.value, e.tpe, e.gender), subMap) case e: WSubAccess => - val (subExp, subMap) = rec(e.exp, m) + val (subExp, subMap) = rec(e.expr, m) val index = uniquifyNamesExp(e.index, map) (WSubAccess(subExp, index, e.tpe, e.gender), subMap) case (_: UIntLiteral | _: SIntLiteral) => (exp, m) |
