diff options
Diffstat (limited to 'sources/scalac/Global.java')
-rw-r--r-- | sources/scalac/Global.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/scalac/Global.java b/sources/scalac/Global.java index 6fc72587a5..c9f8452c42 100644 --- a/sources/scalac/Global.java +++ b/sources/scalac/Global.java @@ -196,6 +196,8 @@ public class Global { this.make = new DefaultTreeFactory(); this.PHASE = args.phases; // if (!optimize) PHASE.remove(args.phases.OPTIMIZE); + // TODO: Enable TailCall for other backends when they handle LabelDefs + if (target != TARGET_JVM) PHASE.remove(args.phases.TAILCALL); if (target != TARGET_MSIL) PHASE.remove(args.phases.GENMSIL); if (target != TARGET_JVM) PHASE.remove(args.phases.GENJVM); if (target != TARGET_JVM_BCEL) PHASE.remove(args.phases.GENJVM_BCEL); |