summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/backend/jvm/opt/InstructionResultSize.scala
Commit message (Collapse)AuthorAgeFilesLines
* Remove InstructionResultSize (subsumed by InstructionStackEffect)Lukas Rytz2015-11-101-236/+0
|
* Support JSR / RET in computeMaxLocalsMaxStackLukas Rytz2015-10-271-6/+2
| | | | | | | | Even though the two bytecodes are not allowed in classfiles of version 51+ (see [1]), we could encounter them when inlining from a JAR file containing classfiles of older version. [1] https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.9.1
* Nullness AnalysisLukas Rytz2015-05-221-0/+240
Tracks nullness of values using an ASM analyzer. Tracking nullness requires alias tracking for local variables and stack values. For example, after an instance call, local variables that point to the same object as the receiver are treated not-null.