diff options
author | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2013-12-03 20:31:00 +0100 |
---|---|---|
committer | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2013-12-15 18:26:34 +0100 |
commit | 7d1e8aa74d3198e94beeaee4fd73f46cd56085c2 (patch) | |
tree | 043ceedfd6ff49bab02a009a045c2ffc3d04768b /src/compiler | |
parent | dc8854e059f3a75b2d95a1826ff61ed6c5b5eba8 (diff) | |
download | scala-7d1e8aa74d3198e94beeaee4fd73f46cd56085c2.tar.gz scala-7d1e8aa74d3198e94beeaee4fd73f46cd56085c2.tar.bz2 scala-7d1e8aa74d3198e94beeaee4fd73f46cd56085c2.zip |
GenBCode version of "Updating Position call sites" commit
7d62df035cd4393c73e7530e1cad1130e79d90c6 modifies GenASM, we follow suite here.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala b/src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala index c921d11d00..360ce58ecc 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/BCodeSkelBuilder.scala @@ -460,7 +460,7 @@ abstract class BCodeSkelBuilder extends BCodeHelpers { } def lineNumber(tree: Tree) { if (!emitLines || !tree.pos.isDefined) return; - val nr = tree.pos.line + val nr = tree.pos.finalPosition.line if (nr != lastEmittedLineNr) { lastEmittedLineNr = nr lastInsn match { |