summaryrefslogtreecommitdiff
path: root/test/files/run/t5037.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-05-12 07:30:19 -0700
committerPaul Phillips <paulp@improving.org>2012-05-12 08:00:54 -0700
commita9a2fd7c479eb8d68bf7e58cd0f6084a2106ca7d (patch)
tree7b938818974b17f36e3e3e9e4f3d361bef62a936 /test/files/run/t5037.check
parentd55ea54589730d0980fc5a15f84ae5c3d5b3bbf6 (diff)
downloadscala-a9a2fd7c479eb8d68bf7e58cd0f6084a2106ca7d.tar.gz
scala-a9a2fd7c479eb8d68bf7e58cd0f6084a2106ca7d.tar.bz2
scala-a9a2fd7c479eb8d68bf7e58cd0f6084a2106ca7d.zip
Clutch modification to tree printing.
Don't print trees under -Xprint:all if they're identical to the tree printed at the previous phase. It only works for a single compilation unit but that is a huge step forward for us debuggers. For instance this file: trait Foo { def f = 5 } used to produce 332 lines of output and now produces 92, with zero loss of information. It ends with: [[syntax trees at end of cleanup]] // a.scala: tree is unchanged since mixin [[syntax trees at end of icode]] // a.scala: tree is unchanged since mixin [[syntax trees at end of inliner]] // a.scala: tree is unchanged since mixin [[syntax trees at end of inlineExceptionHandlers]] // a.scala: tree is unchanged since mixin [[syntax trees at end of closelim]] // a.scala: tree is unchanged since mixin [[syntax trees at end of dce]] // a.scala: tree is unchanged since mixin [[syntax trees at end of jvm]] // a.scala: tree is unchanged since mixin
Diffstat (limited to 'test/files/run/t5037.check')
0 files changed, 0 insertions, 0 deletions