aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/backend
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-11-22 01:34:29 +0100
committerGitHub <noreply@github.com>2016-11-22 01:34:29 +0100
commit34d64f381362b12a595fd26690c7c9b1c26d16f7 (patch)
tree325f4dfe60fc7d2ed41d64385cd30606e3c3e0e5 /src/dotty/tools/backend
parent5b409515613173970d44a21978b04432cd01b73d (diff)
parent8932d98c4dcb6eb840cf640bc636982236613a16 (diff)
downloaddotty-34d64f381362b12a595fd26690c7c9b1c26d16f7.tar.gz
dotty-34d64f381362b12a595fd26690c7c9b1c26d16f7.tar.bz2
dotty-34d64f381362b12a595fd26690c7c9b1c26d16f7.zip
Merge pull request #1725 from dotty-staging/change-pickle-early
Don't retain picklers until backend.
Diffstat (limited to 'src/dotty/tools/backend')
-rw-r--r--src/dotty/tools/backend/jvm/GenBCode.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dotty/tools/backend/jvm/GenBCode.scala b/src/dotty/tools/backend/jvm/GenBCode.scala
index 902f73ae2..65dcb6c79 100644
--- a/src/dotty/tools/backend/jvm/GenBCode.scala
+++ b/src/dotty/tools/backend/jvm/GenBCode.scala
@@ -203,8 +203,7 @@ class GenBCodePipeline(val entryPoints: List[Symbol], val int: DottyBackendInter
val plainC = pcb.cnode
if (claszSymbol.isClass) // @DarkDimius is this test needed here?
- for (pickler <- ctx.compilationUnit.picklers.get(claszSymbol.asClass)) {
- val binary = pickler.assembleParts()
+ for (binary <- ctx.compilationUnit.pickled.get(claszSymbol.asClass)) {
val dataAttr = new CustomAttr(nme.TASTYATTR.toString, binary)
(if (mirrorC ne null) mirrorC else plainC).visitAttribute(dataAttr)
}