Created
November 7, 2019 07:10
-
-
Save retronym/0035f796f15b9f168b07ef3e173ce764 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
qscalac -Ydebug -d /tmp -opt:l:inline,box-unbox '-opt-inline-from:scala/**' -Yopt-log-inline 'scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify' **/PriorityQueue.scala | |
[running phase parser on PriorityQueue.scala] | |
[running phase namer on PriorityQueue.scala] | |
[running phase packageobjects on PriorityQueue.scala] | |
[running phase typer on PriorityQueue.scala] | |
[running phase patmat on PriorityQueue.scala] | |
[running phase superaccessors on PriorityQueue.scala] | |
[running phase extmethods on PriorityQueue.scala] | |
[running phase pickler on PriorityQueue.scala] | |
[running phase refchecks on PriorityQueue.scala] | |
[running phase uncurry on PriorityQueue.scala] | |
[running phase fields on PriorityQueue.scala] | |
[running phase tailcalls on PriorityQueue.scala] | |
[running phase specialize on PriorityQueue.scala] | |
[running phase explicitouter on PriorityQueue.scala] | |
[running phase erasure on PriorityQueue.scala] | |
[running phase posterasure on PriorityQueue.scala] | |
[running phase lambdalift on PriorityQueue.scala] | |
[running phase constructors on PriorityQueue.scala] | |
[running phase flatten on PriorityQueue.scala] | |
[running phase mixin on PriorityQueue.scala] | |
[running phase cleanup on PriorityQueue.scala] | |
[running phase delambdafy on PriorityQueue.scala] | |
[running phase jvm on PriorityQueue.scala] | |
Inline into scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify: inlined scala/LowPriorityImplicits.intWrapper. Before: 169 ins, inlined: 4 ins. | |
Inline into scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify: inlined scala/collection/immutable/Range.foreach. Before: 182 ins, inlined: 32 ins. | |
Inline into scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify: inlined scala/LowPriorityImplicits.intWrapper. Before: 221 ins, inlined: 4 ins. | |
Inline into scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify: inlined scala/collection/immutable/Range.foreach$mVc$sp. Before: 234 ins, inlined: 30 ins. | |
Inline into scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify: inlined scala/LowPriorityImplicits.intWrapper. Before: 271 ins, inlined: 4 ins. | |
Inline into scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify: inlined scala/collection/immutable/Range.foreach. Before: 284 ins, inlined: 32 ins. | |
scala.tools.asm.tree.analysis.AnalyzerException: While processing scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify | |
at scala.tools.nsc.backend.jvm.analysis.BackendUtils$AsmAnalyzer.<init>(BackendUtils.scala:102) | |
at scala.tools.nsc.backend.jvm.opt.CopyProp.aliasAnalysis$lzycompute$1(CopyProp.scala:45) | |
at scala.tools.nsc.backend.jvm.opt.CopyProp.aliasAnalysis$1(CopyProp.scala:45) | |
at scala.tools.nsc.backend.jvm.opt.CopyProp.copyPropagation(CopyProp.scala:75) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.removalRound$2(LocalOpt.scala:304) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.methodOptimizations(LocalOpt.scala:371) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.$anonfun$methodOptimizations$1(LocalOpt.scala:209) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.$anonfun$methodOptimizations$1$adapted(LocalOpt.scala:208) | |
at scala.collection.TraversableOnce.$anonfun$foldLeft$1(TraversableOnce.scala:162) | |
at scala.collection.TraversableOnce.$anonfun$foldLeft$1$adapted(TraversableOnce.scala:162) | |
at scala.collection.Iterator.foreach(Iterator.scala:941) | |
at scala.collection.Iterator.foreach$(Iterator.scala:941) | |
at scala.collection.AbstractIterator.foreach(Iterator.scala:1429) | |
at scala.collection.IterableLike.foreach(IterableLike.scala:74) | |
at scala.collection.IterableLike.foreach$(IterableLike.scala:73) | |
at scala.collection.AbstractIterable.foreach(Iterable.scala:56) | |
at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:162) | |
at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:160) | |
at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.methodOptimizations(LocalOpt.scala:208) | |
at scala.tools.nsc.backend.jvm.PostProcessor.$anonfun$localOptimizations$1(PostProcessor.scala:130) | |
at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23) | |
at scala.reflect.internal.util.Statistics.timed(Statistics.scala:333) | |
at scala.tools.nsc.backend.jvm.PostProcessor.localOptimizations(PostProcessor.scala:130) | |
at scala.tools.nsc.backend.jvm.PostProcessor.sendToDisk(PostProcessor.scala:64) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$3(GeneratedClassHandler.scala:123) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$3$adapted(GeneratedClassHandler.scala:123) | |
at scala.collection.immutable.List.foreach(List.scala:392) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$2(GeneratedClassHandler.scala:123) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.tools.nsc.backend.jvm.PostProcessorFrontendAccess$PostProcessorFrontendAccessImpl.withThreadLocalReporter(PostProcessorFrontendAccess.scala:225) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$1(GeneratedClassHandler.scala:122) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659) | |
at scala.util.Success.$anonfun$map$1(Try.scala:255) | |
at scala.util.Try$.apply(Try.scala:213) | |
at scala.util.Success.map(Try.scala:255) | |
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292) | |
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33) | |
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33) | |
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$SyncWritingClassHandler$$anonfun$$lessinit$greater$1.execute(GeneratedClassHandler.scala:177) | |
at scala.concurrent.impl.ExecutionContextImpl.execute(ExecutionContextImpl.scala:24) | |
at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72) | |
at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372) | |
at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371) | |
at scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379) | |
at scala.concurrent.impl.Promise.transform(Promise.scala:33) | |
at scala.concurrent.impl.Promise.transform$(Promise.scala:31) | |
at scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379) | |
at scala.concurrent.Future.map(Future.scala:292) | |
at scala.concurrent.Future.map$(Future.scala:292) | |
at scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379) | |
at scala.concurrent.Future$.apply(Future.scala:659) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.postProcessUnit(GeneratedClassHandler.scala:118) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.process(GeneratedClassHandler.scala:111) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.$anonfun$complete$1(GeneratedClassHandler.scala:93) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.$anonfun$complete$1$adapted(GeneratedClassHandler.scala:93) | |
at scala.collection.immutable.List.foreach(List.scala:392) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.complete(GeneratedClassHandler.scala:93) | |
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.$anonfun$run$1(GenBCode.scala:81) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.reflect.internal.util.Statistics.timed(Statistics.scala:333) | |
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:78) | |
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1503) | |
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1487) | |
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1480) | |
at scala.tools.nsc.Global$Run.compile(Global.scala:1606) | |
at scala.tools.nsc.Driver.doCompile(Driver.scala:47) | |
at scala.tools.nsc.MainClass.doCompile(Main.scala:32) | |
at scala.tools.nsc.Driver.process(Driver.scala:67) | |
at scala.tools.nsc.Driver.main(Driver.scala:80) | |
at scala.tools.nsc.Main.main(Main.scala) | |
Caused by: scala.tools.asm.tree.analysis.AnalyzerException: Error at instruction 84: Incompatible stack heights | |
at scala.tools.asm.tree.analysis.Analyzer.analyze(Analyzer.java:291) | |
at scala.tools.nsc.backend.jvm.analysis.BackendUtils$AsmAnalyzer.<init>(BackendUtils.scala:99) | |
... 72 more | |
Caused by: scala.tools.asm.tree.analysis.AnalyzerException: Incompatible stack heights | |
at scala.tools.asm.tree.analysis.Frame.merge(Frame.java:678) | |
at scala.tools.nsc.backend.jvm.analysis.AliasingFrame.merge(AliasingFrame.scala:296) | |
at scala.tools.asm.tree.analysis.Analyzer.merge(Analyzer.java:541) | |
at scala.tools.asm.tree.analysis.Analyzer.analyze(Analyzer.java:205) | |
... 73 more | |
error: Error while emitting scala/collection/mutable/PriorityQueue | |
While processing scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify | |
one error found | |
➜ scala-review-8516 git:(pr/8516) qscalac -Ydebug -d /tmp -opt:l:inline,box-unbox '-opt-inline-from:scala/**' -Yopt-trace 'scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify' **/PriorityQueue.scala | |
[running phase parser on PriorityQueue.scala] | |
[running phase namer on PriorityQueue.scala] | |
[running phase packageobjects on PriorityQueue.scala] | |
[running phase typer on PriorityQueue.scala] | |
[running phase patmat on PriorityQueue.scala] | |
[running phase superaccessors on PriorityQueue.scala] | |
[running phase extmethods on PriorityQueue.scala] | |
[running phase pickler on PriorityQueue.scala] | |
[running phase refchecks on PriorityQueue.scala] | |
[running phase uncurry on PriorityQueue.scala] | |
[running phase fields on PriorityQueue.scala] | |
[running phase tailcalls on PriorityQueue.scala] | |
[running phase specialize on PriorityQueue.scala] | |
[running phase explicitouter on PriorityQueue.scala] | |
[running phase erasure on PriorityQueue.scala] | |
[running phase posterasure on PriorityQueue.scala] | |
[running phase lambdalift on PriorityQueue.scala] | |
[running phase constructors on PriorityQueue.scala] | |
[running phase flatten on PriorityQueue.scala] | |
[running phase mixin on PriorityQueue.scala] | |
[running phase cleanup on PriorityQueue.scala] | |
[running phase delambdafy on PriorityQueue.scala] | |
[running phase jvm on PriorityQueue.scala] | |
after beforeMethodOpt | |
// access flags 0x1000001 | |
public scala$collection$mutable$PriorityQueue$$heapify(I)V | |
// parameter final from | |
L0 | |
LINENUMBER 148 L0 | |
L1 | |
LINENUMBER 151 L1 | |
ALOAD 0 | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue.length ()I | |
L2 | |
ISTORE 2 | |
L3 | |
LINENUMBER 153 L3 | |
ILOAD 1 | |
ICONST_2 | |
IF_ICMPGT L4 | |
L5 | |
LINENUMBER 155 L5 | |
GETSTATIC scala/runtime/RichInt$.MODULE$ : Lscala/runtime/RichInt$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ILOAD 2 | |
ICONST_2 | |
IDIV | |
ISTORE 8 | |
DUP | |
IFNONNULL L6 | |
ACONST_NULL | |
ATHROW | |
L6 | |
ASTORE 7 | |
L7 | |
ILOAD 8 | |
ISTORE 9 | |
GOTO L8 | |
L9 | |
L8 | |
ILOAD 9 | |
ICONST_1 | |
INVOKEVIRTUAL scala/runtime/RichInt$.to$extension0 (II)Lscala/collection/immutable/Range$Inclusive; | |
ICONST_M1 | |
INVOKEVIRTUAL scala/collection/immutable/Range$Inclusive.by (I)Lscala/collection/immutable/Range; | |
ALOAD 0 | |
ILOAD 2 | |
ISTORE 26 | |
ASTORE 25 | |
ALOAD 25 | |
ILOAD 26 | |
INVOKEDYNAMIC apply$mcZI$sp(Lscala/collection/mutable/PriorityQueue;I)Lscala/runtime/java8/JFunction1$mcZI$sp; [ | |
// handle kind 0x6 : INVOKESTATIC | |
java/lang/invoke/LambdaMetafactory.altMetafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | |
// arguments: | |
(I)Z, | |
// handle kind 0x6 : INVOKESTATIC | |
scala/collection/mutable/PriorityQueue.$anonfun$heapify$1(Lscala/collection/mutable/PriorityQueue;II)Z, | |
(I)Z, | |
3, | |
1, | |
scala.Serializable.class | |
] | |
L10 | |
ASTORE 11 | |
DUP | |
IFNONNULL L11 | |
ACONST_NULL | |
ATHROW | |
L11 | |
ASTORE 10 | |
L12 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.isEmpty ()Z | |
IFNE L13 | |
L14 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.start ()I | |
L15 | |
ISTORE 12 | |
L16 | |
ALOAD 11 | |
ILOAD 12 | |
INVOKESTATIC scala/runtime/BoxesRunTime.boxToInteger (I)Ljava/lang/Integer; | |
INVOKESTATIC scala/runtime/BoxesRunTime.unboxToInt (Ljava/lang/Object;)I | |
ISTORE 27 | |
POP | |
ALOAD 25 | |
ILOAD 26 | |
ILOAD 27 | |
INVOKESTATIC scala/collection/mutable/PriorityQueue.$anonfun$heapify$1 (Lscala/collection/mutable/PriorityQueue;II)Z | |
INVOKESTATIC scala/runtime/BoxesRunTime.boxToBoolean (Z)Ljava/lang/Boolean; | |
POP | |
L17 | |
ILOAD 12 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.scala$collection$immutable$Range$$lastElement ()I | |
IF_ICMPNE L18 | |
GOTO L19 | |
L18 | |
ILOAD 12 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.step ()I | |
IADD | |
ISTORE 12 | |
L20 | |
GOTO L16 | |
L13 | |
GOTO L19 | |
L21 | |
L19 | |
GOTO L22 | |
L4 | |
LINENUMBER 157 L4 | |
ILOAD 2 | |
ILOAD 1 | |
ISUB | |
ICONST_4 | |
IF_ICMPGE L23 | |
L24 | |
LINENUMBER 159 L24 | |
GETSTATIC scala/runtime/RichInt$.MODULE$ : Lscala/runtime/RichInt$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ILOAD 1 | |
ISTORE 14 | |
DUP | |
IFNONNULL L25 | |
ACONST_NULL | |
ATHROW | |
L25 | |
ASTORE 13 | |
L26 | |
ILOAD 14 | |
ISTORE 15 | |
GOTO L27 | |
L28 | |
L27 | |
ILOAD 15 | |
ILOAD 2 | |
INVOKEVIRTUAL scala/runtime/RichInt$.to$extension0 (II)Lscala/collection/immutable/Range$Inclusive; | |
ALOAD 0 | |
ASTORE 28 | |
ALOAD 28 | |
INVOKEDYNAMIC apply$mcVI$sp(Lscala/collection/mutable/PriorityQueue;)Lscala/runtime/java8/JFunction1$mcVI$sp; [ | |
// handle kind 0x6 : INVOKESTATIC | |
java/lang/invoke/LambdaMetafactory.altMetafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | |
// arguments: | |
(I)V, | |
// handle kind 0x6 : INVOKESTATIC | |
scala/collection/mutable/PriorityQueue.$anonfun$heapify$2(Lscala/collection/mutable/PriorityQueue;I)V, | |
(I)V, | |
3, | |
1, | |
scala.Serializable.class | |
] | |
L29 | |
ASTORE 17 | |
DUP | |
IFNONNULL L30 | |
ACONST_NULL | |
ATHROW | |
L30 | |
ASTORE 16 | |
L31 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.isEmpty ()Z | |
IFNE L32 | |
L33 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.start ()I | |
L34 | |
ISTORE 18 | |
L35 | |
ALOAD 17 | |
ILOAD 18 | |
ISTORE 29 | |
POP | |
ALOAD 28 | |
ILOAD 29 | |
INVOKESTATIC scala/collection/mutable/PriorityQueue.$anonfun$heapify$2 (Lscala/collection/mutable/PriorityQueue;I)V | |
L36 | |
ILOAD 18 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.scala$collection$immutable$Range$$lastElement ()I | |
IF_ICMPNE L37 | |
GOTO L38 | |
L37 | |
ILOAD 18 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.step ()I | |
IADD | |
ISTORE 18 | |
L39 | |
GOTO L35 | |
L32 | |
GOTO L38 | |
L40 | |
L38 | |
GOTO L41 | |
L23 | |
LINENUMBER 162 L23 | |
ILOAD 1 | |
ICONST_2 | |
IDIV | |
INVOKESTATIC scala/runtime/IntRef.create (I)Lscala/runtime/IntRef; | |
L42 | |
ASTORE 3 | |
L43 | |
LINENUMBER 163 L43 | |
GETSTATIC scala/collection/mutable/Queue$.MODULE$ : Lscala/collection/mutable/Queue$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ICONST_1 | |
NEWARRAY T_INT | |
DUP | |
ICONST_0 | |
ALOAD 3 | |
GETFIELD scala/runtime/IntRef.elem : I | |
IASTORE | |
INVOKEVIRTUAL scala/Predef$.wrapIntArray ([I)Lscala/collection/mutable/WrappedArray; | |
INVOKEVIRTUAL scala/collection/mutable/Queue$.apply (Lscala/collection/Seq;)Lscala/collection/GenTraversable; | |
CHECKCAST scala/collection/mutable/Queue | |
L44 | |
ASTORE 4 | |
L45 | |
LINENUMBER 168 L45 | |
GETSTATIC scala/runtime/RichInt$.MODULE$ : Lscala/runtime/RichInt$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ILOAD 2 | |
ICONST_2 | |
IDIV | |
ISTORE 20 | |
DUP | |
IFNONNULL L46 | |
ACONST_NULL | |
ATHROW | |
L46 | |
ASTORE 19 | |
L47 | |
ILOAD 20 | |
ISTORE 21 | |
GOTO L48 | |
L49 | |
L48 | |
ILOAD 21 | |
ALOAD 3 | |
GETFIELD scala/runtime/IntRef.elem : I | |
INVOKEVIRTUAL scala/runtime/RichInt$.until$extension0 (II)Lscala/collection/immutable/Range; | |
ICONST_M1 | |
INVOKEVIRTUAL scala/collection/immutable/Range.by (I)Lscala/collection/immutable/Range; | |
ALOAD 0 | |
ILOAD 2 | |
ALOAD 3 | |
ALOAD 4 | |
ASTORE 33 | |
ASTORE 32 | |
ISTORE 31 | |
ASTORE 30 | |
ALOAD 30 | |
ILOAD 31 | |
ALOAD 32 | |
ALOAD 33 | |
INVOKEDYNAMIC apply(Lscala/collection/mutable/PriorityQueue;ILscala/runtime/IntRef;Lscala/collection/mutable/Queue;)Lscala/Function1; [ | |
// handle kind 0x6 : INVOKESTATIC | |
java/lang/invoke/LambdaMetafactory.altMetafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | |
// arguments: | |
(Ljava/lang/Object;)Ljava/lang/Object;, | |
// handle kind 0x6 : INVOKESTATIC | |
scala/collection/mutable/PriorityQueue.$anonfun$heapify$3$adapted(Lscala/collection/mutable/PriorityQueue;ILscala/runtime/IntRef;Lscala/collection/mutable/Queue;Ljava/lang/Object;)Ljava/lang/Object;, | |
(Ljava/lang/Object;)Ljava/lang/Object;, | |
3, | |
1, | |
scala.Serializable.class | |
] | |
L50 | |
ASTORE 23 | |
DUP | |
IFNONNULL L51 | |
ACONST_NULL | |
ATHROW | |
L51 | |
ASTORE 22 | |
L52 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.isEmpty ()Z | |
IFNE L53 | |
L54 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.start ()I | |
L55 | |
ISTORE 24 | |
L56 | |
ALOAD 23 | |
ILOAD 24 | |
INVOKESTATIC scala/runtime/BoxesRunTime.boxToInteger (I)Ljava/lang/Integer; | |
ASTORE 34 | |
POP | |
ALOAD 30 | |
ILOAD 31 | |
ALOAD 32 | |
ALOAD 33 | |
ALOAD 34 | |
ASTORE 39 | |
ASTORE 38 | |
ASTORE 37 | |
ISTORE 36 | |
ASTORE 35 | |
L57 | |
LINENUMBER 168 L57 | |
L58 | |
ALOAD 35 | |
ILOAD 36 | |
ALOAD 37 | |
ALOAD 38 | |
ALOAD 39 | |
INVOKESTATIC scala/runtime/BoxesRunTime.unboxToInt (Ljava/lang/Object;)I | |
INVOKESTATIC scala/collection/mutable/PriorityQueue.$anonfun$heapify$3 (Lscala/collection/mutable/PriorityQueue;ILscala/runtime/IntRef;Lscala/collection/mutable/Queue;I)Ljava/lang/Object; | |
ASTORE 40 | |
GOTO L59 | |
L60 | |
L59 | |
ALOAD 40 | |
LINENUMBER 168 L59 | |
POP | |
L61 | |
ILOAD 24 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.scala$collection$immutable$Range$$lastElement ()I | |
IF_ICMPNE L62 | |
GOTO L63 | |
L62 | |
ILOAD 24 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.step ()I | |
IADD | |
ISTORE 24 | |
L64 | |
GOTO L56 | |
L53 | |
GOTO L63 | |
L65 | |
L63 | |
L66 | |
LINENUMBER 179 L66 | |
L67 | |
ALOAD 4 | |
INVOKEVIRTUAL scala/collection/mutable/Queue.nonEmpty ()Z | |
IFEQ L68 | |
L69 | |
LINENUMBER 180 L69 | |
ALOAD 4 | |
INVOKEVIRTUAL scala/collection/mutable/Queue.dequeue ()Ljava/lang/Object; | |
INVOKESTATIC scala/runtime/BoxesRunTime.unboxToInt (Ljava/lang/Object;)I | |
L70 | |
ISTORE 5 | |
L71 | |
LINENUMBER 181 L71 | |
ALOAD 0 | |
ALOAD 0 | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$resarr ()Lscala/collection/mutable/PriorityQueue$ResizableArrayAccess; | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue$ResizableArrayAccess.p_array ()[Ljava/lang/Object; | |
ILOAD 5 | |
ILOAD 2 | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue.fixDown ([Ljava/lang/Object;II)Z | |
IFEQ L72 | |
L73 | |
LINENUMBER 182 L73 | |
ILOAD 5 | |
ICONST_2 | |
IDIV | |
L74 | |
ISTORE 6 | |
L75 | |
LINENUMBER 183 L75 | |
ILOAD 6 | |
ALOAD 3 | |
GETFIELD scala/runtime/IntRef.elem : I | |
IF_ICMPGE L76 | |
L77 | |
ILOAD 6 | |
ICONST_0 | |
IF_ICMPLE L76 | |
L78 | |
LINENUMBER 185 L78 | |
ALOAD 3 | |
ILOAD 6 | |
PUTFIELD scala/runtime/IntRef.elem : I | |
L79 | |
LINENUMBER 186 L79 | |
ALOAD 4 | |
ILOAD 6 | |
INVOKESTATIC scala/runtime/BoxesRunTime.boxToInteger (I)Ljava/lang/Integer; | |
INVOKEVIRTUAL scala/collection/mutable/Queue.$plus$eq (Ljava/lang/Object;)Lscala/collection/mutable/MutableList; | |
L80 | |
GOTO L81 | |
L76 | |
LINENUMBER 183 L76 | |
GETSTATIC scala/runtime/BoxedUnit.UNIT : Lscala/runtime/BoxedUnit; | |
L81 | |
GOTO L82 | |
L72 | |
LINENUMBER 181 L72 | |
GETSTATIC scala/runtime/BoxedUnit.UNIT : Lscala/runtime/BoxedUnit; | |
L82 | |
POP | |
L83 | |
LINENUMBER 179 L83 | |
GOTO L67 | |
L84 | |
L68 | |
L85 | |
L41 | |
L22 | |
RETURN | |
L86 | |
LOCALVARIABLE parent I L74 L81 6 | |
LOCALVARIABLE i I L70 L83 5 | |
LOCALVARIABLE min Lscala/runtime/IntRef; L42 L85 3 | |
LOCALVARIABLE queue Lscala/collection/mutable/Queue; L44 L85 4 | |
LOCALVARIABLE n I L2 L22 2 | |
LOCALVARIABLE this Lscala/collection/mutable/PriorityQueue; L1 L86 0 | |
LOCALVARIABLE from I L1 L86 1 | |
LOCALVARIABLE intWrapper_x I L7 L9 8 | |
LOCALVARIABLE foreach_i I L15 L13 12 | |
LOCALVARIABLE foreach_this Lscala/collection/immutable/Range; L12 L21 10 | |
LOCALVARIABLE foreach_f Lscala/Function1; L12 L21 11 | |
LOCALVARIABLE intWrapper_x I L26 L28 14 | |
LOCALVARIABLE foreach$mVc$sp_i I L34 L32 18 | |
LOCALVARIABLE foreach$mVc$sp_this Lscala/collection/immutable/Range; L31 L40 16 | |
LOCALVARIABLE foreach$mVc$sp_f Lscala/Function1; L31 L40 17 | |
LOCALVARIABLE intWrapper_x I L47 L49 20 | |
LOCALVARIABLE foreach_i I L55 L53 24 | |
LOCALVARIABLE foreach_this Lscala/collection/immutable/Range; L52 L65 22 | |
LOCALVARIABLE foreach_f Lscala/Function1; L52 L65 23 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_$this Lscala/collection/mutable/PriorityQueue; L58 L60 35 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_n$1 I L58 L60 36 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_min$1 Lscala/runtime/IntRef; L58 L60 37 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_queue$1 Lscala/collection/mutable/Queue; L58 L60 38 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_i Ljava/lang/Object; L58 L60 39 | |
MAXSTACK = 6 | |
MAXLOCALS = 41 | |
after boxUnbox | |
// access flags 0x1000001 | |
public scala$collection$mutable$PriorityQueue$$heapify(I)V | |
// parameter final from | |
L0 | |
LINENUMBER 148 L0 | |
L1 | |
LINENUMBER 151 L1 | |
ALOAD 0 | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue.length ()I | |
L2 | |
ISTORE 2 | |
L3 | |
LINENUMBER 153 L3 | |
ILOAD 1 | |
ICONST_2 | |
IF_ICMPGT L4 | |
L5 | |
LINENUMBER 155 L5 | |
GETSTATIC scala/runtime/RichInt$.MODULE$ : Lscala/runtime/RichInt$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ILOAD 2 | |
ICONST_2 | |
IDIV | |
ISTORE 8 | |
DUP | |
IFNONNULL L6 | |
ACONST_NULL | |
ATHROW | |
L6 | |
ASTORE 7 | |
L7 | |
ILOAD 8 | |
ISTORE 9 | |
GOTO L8 | |
L9 | |
L8 | |
ILOAD 9 | |
ICONST_1 | |
INVOKEVIRTUAL scala/runtime/RichInt$.to$extension0 (II)Lscala/collection/immutable/Range$Inclusive; | |
ICONST_M1 | |
INVOKEVIRTUAL scala/collection/immutable/Range$Inclusive.by (I)Lscala/collection/immutable/Range; | |
ALOAD 0 | |
ILOAD 2 | |
ISTORE 26 | |
ASTORE 25 | |
ALOAD 25 | |
ILOAD 26 | |
INVOKEDYNAMIC apply$mcZI$sp(Lscala/collection/mutable/PriorityQueue;I)Lscala/runtime/java8/JFunction1$mcZI$sp; [ | |
// handle kind 0x6 : INVOKESTATIC | |
java/lang/invoke/LambdaMetafactory.altMetafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | |
// arguments: | |
(I)Z, | |
// handle kind 0x6 : INVOKESTATIC | |
scala/collection/mutable/PriorityQueue.$anonfun$heapify$1(Lscala/collection/mutable/PriorityQueue;II)Z, | |
(I)Z, | |
3, | |
1, | |
scala.Serializable.class | |
] | |
L10 | |
ASTORE 11 | |
DUP | |
IFNONNULL L11 | |
ACONST_NULL | |
ATHROW | |
L11 | |
ASTORE 10 | |
L12 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.isEmpty ()Z | |
IFNE L13 | |
L14 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.start ()I | |
L15 | |
ISTORE 12 | |
L16 | |
ALOAD 11 | |
ILOAD 12 | |
ISTORE 27 | |
POP | |
ALOAD 25 | |
ILOAD 26 | |
ILOAD 27 | |
INVOKESTATIC scala/collection/mutable/PriorityQueue.$anonfun$heapify$1 (Lscala/collection/mutable/PriorityQueue;II)Z | |
L17 | |
ILOAD 12 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.scala$collection$immutable$Range$$lastElement ()I | |
IF_ICMPNE L18 | |
GOTO L19 | |
L18 | |
ILOAD 12 | |
ALOAD 10 | |
INVOKEVIRTUAL scala/collection/immutable/Range.step ()I | |
IADD | |
ISTORE 12 | |
L20 | |
GOTO L16 | |
L13 | |
GOTO L19 | |
L21 | |
L19 | |
GOTO L22 | |
L4 | |
LINENUMBER 157 L4 | |
ILOAD 2 | |
ILOAD 1 | |
ISUB | |
ICONST_4 | |
IF_ICMPGE L23 | |
L24 | |
LINENUMBER 159 L24 | |
GETSTATIC scala/runtime/RichInt$.MODULE$ : Lscala/runtime/RichInt$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ILOAD 1 | |
ISTORE 14 | |
DUP | |
IFNONNULL L25 | |
ACONST_NULL | |
ATHROW | |
L25 | |
ASTORE 13 | |
L26 | |
ILOAD 14 | |
ISTORE 15 | |
GOTO L27 | |
L28 | |
L27 | |
ILOAD 15 | |
ILOAD 2 | |
INVOKEVIRTUAL scala/runtime/RichInt$.to$extension0 (II)Lscala/collection/immutable/Range$Inclusive; | |
ALOAD 0 | |
ASTORE 28 | |
ALOAD 28 | |
INVOKEDYNAMIC apply$mcVI$sp(Lscala/collection/mutable/PriorityQueue;)Lscala/runtime/java8/JFunction1$mcVI$sp; [ | |
// handle kind 0x6 : INVOKESTATIC | |
java/lang/invoke/LambdaMetafactory.altMetafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | |
// arguments: | |
(I)V, | |
// handle kind 0x6 : INVOKESTATIC | |
scala/collection/mutable/PriorityQueue.$anonfun$heapify$2(Lscala/collection/mutable/PriorityQueue;I)V, | |
(I)V, | |
3, | |
1, | |
scala.Serializable.class | |
] | |
L29 | |
ASTORE 17 | |
DUP | |
IFNONNULL L30 | |
ACONST_NULL | |
ATHROW | |
L30 | |
ASTORE 16 | |
L31 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.isEmpty ()Z | |
IFNE L32 | |
L33 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.start ()I | |
L34 | |
ISTORE 18 | |
L35 | |
ALOAD 17 | |
ILOAD 18 | |
ISTORE 29 | |
POP | |
ALOAD 28 | |
ILOAD 29 | |
INVOKESTATIC scala/collection/mutable/PriorityQueue.$anonfun$heapify$2 (Lscala/collection/mutable/PriorityQueue;I)V | |
L36 | |
ILOAD 18 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.scala$collection$immutable$Range$$lastElement ()I | |
IF_ICMPNE L37 | |
GOTO L38 | |
L37 | |
ILOAD 18 | |
ALOAD 16 | |
INVOKEVIRTUAL scala/collection/immutable/Range.step ()I | |
IADD | |
ISTORE 18 | |
L39 | |
GOTO L35 | |
L32 | |
GOTO L38 | |
L40 | |
L38 | |
GOTO L41 | |
L23 | |
LINENUMBER 162 L23 | |
ILOAD 1 | |
ICONST_2 | |
IDIV | |
INVOKESTATIC scala/runtime/IntRef.create (I)Lscala/runtime/IntRef; | |
L42 | |
ASTORE 3 | |
L43 | |
LINENUMBER 163 L43 | |
GETSTATIC scala/collection/mutable/Queue$.MODULE$ : Lscala/collection/mutable/Queue$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ICONST_1 | |
NEWARRAY T_INT | |
DUP | |
ICONST_0 | |
ALOAD 3 | |
GETFIELD scala/runtime/IntRef.elem : I | |
IASTORE | |
INVOKEVIRTUAL scala/Predef$.wrapIntArray ([I)Lscala/collection/mutable/WrappedArray; | |
INVOKEVIRTUAL scala/collection/mutable/Queue$.apply (Lscala/collection/Seq;)Lscala/collection/GenTraversable; | |
CHECKCAST scala/collection/mutable/Queue | |
L44 | |
ASTORE 4 | |
L45 | |
LINENUMBER 168 L45 | |
GETSTATIC scala/runtime/RichInt$.MODULE$ : Lscala/runtime/RichInt$; | |
GETSTATIC scala/Predef$.MODULE$ : Lscala/Predef$; | |
ILOAD 2 | |
ICONST_2 | |
IDIV | |
ISTORE 20 | |
DUP | |
IFNONNULL L46 | |
ACONST_NULL | |
ATHROW | |
L46 | |
ASTORE 19 | |
L47 | |
ILOAD 20 | |
ISTORE 21 | |
GOTO L48 | |
L49 | |
L48 | |
ILOAD 21 | |
ALOAD 3 | |
GETFIELD scala/runtime/IntRef.elem : I | |
INVOKEVIRTUAL scala/runtime/RichInt$.until$extension0 (II)Lscala/collection/immutable/Range; | |
ICONST_M1 | |
INVOKEVIRTUAL scala/collection/immutable/Range.by (I)Lscala/collection/immutable/Range; | |
ALOAD 0 | |
ILOAD 2 | |
ALOAD 3 | |
ALOAD 4 | |
ASTORE 33 | |
ASTORE 32 | |
ISTORE 31 | |
ASTORE 30 | |
ALOAD 30 | |
ILOAD 31 | |
ALOAD 32 | |
ALOAD 33 | |
INVOKEDYNAMIC apply(Lscala/collection/mutable/PriorityQueue;ILscala/runtime/IntRef;Lscala/collection/mutable/Queue;)Lscala/Function1; [ | |
// handle kind 0x6 : INVOKESTATIC | |
java/lang/invoke/LambdaMetafactory.altMetafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite; | |
// arguments: | |
(Ljava/lang/Object;)Ljava/lang/Object;, | |
// handle kind 0x6 : INVOKESTATIC | |
scala/collection/mutable/PriorityQueue.$anonfun$heapify$3$adapted(Lscala/collection/mutable/PriorityQueue;ILscala/runtime/IntRef;Lscala/collection/mutable/Queue;Ljava/lang/Object;)Ljava/lang/Object;, | |
(Ljava/lang/Object;)Ljava/lang/Object;, | |
3, | |
1, | |
scala.Serializable.class | |
] | |
L50 | |
ASTORE 23 | |
DUP | |
IFNONNULL L51 | |
ACONST_NULL | |
ATHROW | |
L51 | |
ASTORE 22 | |
L52 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.isEmpty ()Z | |
IFNE L53 | |
L54 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.start ()I | |
L55 | |
ISTORE 24 | |
L56 | |
ALOAD 23 | |
ILOAD 24 | |
ISTORE 34 | |
POP | |
ALOAD 30 | |
ILOAD 31 | |
ALOAD 32 | |
ALOAD 33 | |
ILOAD 34 | |
ISTORE 39 | |
ASTORE 38 | |
ASTORE 37 | |
ISTORE 36 | |
ASTORE 35 | |
L57 | |
LINENUMBER 168 L57 | |
L58 | |
ALOAD 35 | |
ILOAD 36 | |
ALOAD 37 | |
ALOAD 38 | |
ILOAD 39 | |
INVOKESTATIC scala/collection/mutable/PriorityQueue.$anonfun$heapify$3 (Lscala/collection/mutable/PriorityQueue;ILscala/runtime/IntRef;Lscala/collection/mutable/Queue;I)Ljava/lang/Object; | |
ASTORE 40 | |
GOTO L59 | |
L60 | |
L59 | |
ALOAD 40 | |
LINENUMBER 168 L59 | |
POP | |
L61 | |
ILOAD 24 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.scala$collection$immutable$Range$$lastElement ()I | |
IF_ICMPNE L62 | |
GOTO L63 | |
L62 | |
ILOAD 24 | |
ALOAD 22 | |
INVOKEVIRTUAL scala/collection/immutable/Range.step ()I | |
IADD | |
ISTORE 24 | |
L64 | |
GOTO L56 | |
L53 | |
GOTO L63 | |
L65 | |
L63 | |
L66 | |
LINENUMBER 179 L66 | |
L67 | |
ALOAD 4 | |
INVOKEVIRTUAL scala/collection/mutable/Queue.nonEmpty ()Z | |
IFEQ L68 | |
L69 | |
LINENUMBER 180 L69 | |
ALOAD 4 | |
INVOKEVIRTUAL scala/collection/mutable/Queue.dequeue ()Ljava/lang/Object; | |
INVOKESTATIC scala/runtime/BoxesRunTime.unboxToInt (Ljava/lang/Object;)I | |
L70 | |
ISTORE 5 | |
L71 | |
LINENUMBER 181 L71 | |
ALOAD 0 | |
ALOAD 0 | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$resarr ()Lscala/collection/mutable/PriorityQueue$ResizableArrayAccess; | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue$ResizableArrayAccess.p_array ()[Ljava/lang/Object; | |
ILOAD 5 | |
ILOAD 2 | |
INVOKEVIRTUAL scala/collection/mutable/PriorityQueue.fixDown ([Ljava/lang/Object;II)Z | |
IFEQ L72 | |
L73 | |
LINENUMBER 182 L73 | |
ILOAD 5 | |
ICONST_2 | |
IDIV | |
L74 | |
ISTORE 6 | |
L75 | |
LINENUMBER 183 L75 | |
ILOAD 6 | |
ALOAD 3 | |
GETFIELD scala/runtime/IntRef.elem : I | |
IF_ICMPGE L76 | |
L77 | |
ILOAD 6 | |
ICONST_0 | |
IF_ICMPLE L76 | |
L78 | |
LINENUMBER 185 L78 | |
ALOAD 3 | |
ILOAD 6 | |
PUTFIELD scala/runtime/IntRef.elem : I | |
L79 | |
LINENUMBER 186 L79 | |
ALOAD 4 | |
ILOAD 6 | |
INVOKESTATIC scala/runtime/BoxesRunTime.boxToInteger (I)Ljava/lang/Integer; | |
INVOKEVIRTUAL scala/collection/mutable/Queue.$plus$eq (Ljava/lang/Object;)Lscala/collection/mutable/MutableList; | |
L80 | |
GOTO L81 | |
L76 | |
LINENUMBER 183 L76 | |
GETSTATIC scala/runtime/BoxedUnit.UNIT : Lscala/runtime/BoxedUnit; | |
L81 | |
GOTO L82 | |
L72 | |
LINENUMBER 181 L72 | |
GETSTATIC scala/runtime/BoxedUnit.UNIT : Lscala/runtime/BoxedUnit; | |
L82 | |
POP | |
L83 | |
LINENUMBER 179 L83 | |
GOTO L67 | |
L84 | |
L68 | |
L85 | |
L41 | |
L22 | |
RETURN | |
L86 | |
LOCALVARIABLE parent I L74 L81 6 | |
LOCALVARIABLE i I L70 L83 5 | |
LOCALVARIABLE min Lscala/runtime/IntRef; L42 L85 3 | |
LOCALVARIABLE queue Lscala/collection/mutable/Queue; L44 L85 4 | |
LOCALVARIABLE n I L2 L22 2 | |
LOCALVARIABLE this Lscala/collection/mutable/PriorityQueue; L1 L86 0 | |
LOCALVARIABLE from I L1 L86 1 | |
LOCALVARIABLE intWrapper_x I L7 L9 8 | |
LOCALVARIABLE foreach_i I L15 L13 12 | |
LOCALVARIABLE foreach_this Lscala/collection/immutable/Range; L12 L21 10 | |
LOCALVARIABLE foreach_f Lscala/Function1; L12 L21 11 | |
LOCALVARIABLE intWrapper_x I L26 L28 14 | |
LOCALVARIABLE foreach$mVc$sp_i I L34 L32 18 | |
LOCALVARIABLE foreach$mVc$sp_this Lscala/collection/immutable/Range; L31 L40 16 | |
LOCALVARIABLE foreach$mVc$sp_f Lscala/Function1; L31 L40 17 | |
LOCALVARIABLE intWrapper_x I L47 L49 20 | |
LOCALVARIABLE foreach_i I L55 L53 24 | |
LOCALVARIABLE foreach_this Lscala/collection/immutable/Range; L52 L65 22 | |
LOCALVARIABLE foreach_f Lscala/Function1; L52 L65 23 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_$this Lscala/collection/mutable/PriorityQueue; L58 L60 35 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_n$1 I L58 L60 36 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_min$1 Lscala/runtime/IntRef; L58 L60 37 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_queue$1 Lscala/collection/mutable/Queue; L58 L60 38 | |
LOCALVARIABLE $anonfun$heapify$3$adapted_i I L58 L60 39 | |
MAXSTACK = 6 | |
MAXLOCALS = 41 | |
scala.tools.asm.tree.analysis.AnalyzerException: While processing scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify | |
at scala.tools.nsc.backend.jvm.analysis.BackendUtils$AsmAnalyzer.<init>(BackendUtils.scala:102) | |
at scala.tools.nsc.backend.jvm.opt.CopyProp.aliasAnalysis$lzycompute$1(CopyProp.scala:45) | |
at scala.tools.nsc.backend.jvm.opt.CopyProp.aliasAnalysis$1(CopyProp.scala:45) | |
at scala.tools.nsc.backend.jvm.opt.CopyProp.copyPropagation(CopyProp.scala:75) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.removalRound$2(LocalOpt.scala:304) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.methodOptimizations(LocalOpt.scala:371) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.$anonfun$methodOptimizations$1(LocalOpt.scala:209) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.$anonfun$methodOptimizations$1$adapted(LocalOpt.scala:208) | |
at scala.collection.TraversableOnce.$anonfun$foldLeft$1(TraversableOnce.scala:162) | |
at scala.collection.TraversableOnce.$anonfun$foldLeft$1$adapted(TraversableOnce.scala:162) | |
at scala.collection.Iterator.foreach(Iterator.scala:941) | |
at scala.collection.Iterator.foreach$(Iterator.scala:941) | |
at scala.collection.AbstractIterator.foreach(Iterator.scala:1429) | |
at scala.collection.IterableLike.foreach(IterableLike.scala:74) | |
at scala.collection.IterableLike.foreach$(IterableLike.scala:73) | |
at scala.collection.AbstractIterable.foreach(Iterable.scala:56) | |
at scala.collection.TraversableOnce.foldLeft(TraversableOnce.scala:162) | |
at scala.collection.TraversableOnce.foldLeft$(TraversableOnce.scala:160) | |
at scala.collection.AbstractTraversable.foldLeft(Traversable.scala:108) | |
at scala.tools.nsc.backend.jvm.opt.LocalOpt.methodOptimizations(LocalOpt.scala:208) | |
at scala.tools.nsc.backend.jvm.PostProcessor.$anonfun$localOptimizations$1(PostProcessor.scala:130) | |
at scala.runtime.java8.JFunction0$mcZ$sp.apply(JFunction0$mcZ$sp.java:23) | |
at scala.reflect.internal.util.Statistics.timed(Statistics.scala:333) | |
at scala.tools.nsc.backend.jvm.PostProcessor.localOptimizations(PostProcessor.scala:130) | |
at scala.tools.nsc.backend.jvm.PostProcessor.sendToDisk(PostProcessor.scala:64) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$3(GeneratedClassHandler.scala:123) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$3$adapted(GeneratedClassHandler.scala:123) | |
at scala.collection.immutable.List.foreach(List.scala:392) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$2(GeneratedClassHandler.scala:123) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.tools.nsc.backend.jvm.PostProcessorFrontendAccess$PostProcessorFrontendAccessImpl.withThreadLocalReporter(PostProcessorFrontendAccess.scala:225) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.$anonfun$postProcessUnit$1(GeneratedClassHandler.scala:122) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:659) | |
at scala.util.Success.$anonfun$map$1(Try.scala:255) | |
at scala.util.Try$.apply(Try.scala:213) | |
at scala.util.Success.map(Try.scala:255) | |
at scala.concurrent.Future.$anonfun$map$1(Future.scala:292) | |
at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:33) | |
at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:33) | |
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$SyncWritingClassHandler$$anonfun$$lessinit$greater$1.execute(GeneratedClassHandler.scala:177) | |
at scala.concurrent.impl.ExecutionContextImpl.execute(ExecutionContextImpl.scala:24) | |
at scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:72) | |
at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete(Promise.scala:372) | |
at scala.concurrent.impl.Promise$KeptPromise$Kept.onComplete$(Promise.scala:371) | |
at scala.concurrent.impl.Promise$KeptPromise$Successful.onComplete(Promise.scala:379) | |
at scala.concurrent.impl.Promise.transform(Promise.scala:33) | |
at scala.concurrent.impl.Promise.transform$(Promise.scala:31) | |
at scala.concurrent.impl.Promise$KeptPromise$Successful.transform(Promise.scala:379) | |
at scala.concurrent.Future.map(Future.scala:292) | |
at scala.concurrent.Future.map$(Future.scala:292) | |
at scala.concurrent.impl.Promise$KeptPromise$Successful.map(Promise.scala:379) | |
at scala.concurrent.Future$.apply(Future.scala:659) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.postProcessUnit(GeneratedClassHandler.scala:118) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$WritingClassHandler.process(GeneratedClassHandler.scala:111) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.$anonfun$complete$1(GeneratedClassHandler.scala:93) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.$anonfun$complete$1$adapted(GeneratedClassHandler.scala:93) | |
at scala.collection.immutable.List.foreach(List.scala:392) | |
at scala.tools.nsc.backend.jvm.GeneratedClassHandler$GlobalOptimisingGeneratedClassHandler.complete(GeneratedClassHandler.scala:93) | |
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.$anonfun$run$1(GenBCode.scala:81) | |
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) | |
at scala.reflect.internal.util.Statistics.timed(Statistics.scala:333) | |
at scala.tools.nsc.backend.jvm.GenBCode$BCodePhase.run(GenBCode.scala:78) | |
at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1503) | |
at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1487) | |
at scala.tools.nsc.Global$Run.compileSources(Global.scala:1480) | |
at scala.tools.nsc.Global$Run.compile(Global.scala:1606) | |
at scala.tools.nsc.Driver.doCompile(Driver.scala:47) | |
at scala.tools.nsc.MainClass.doCompile(Main.scala:32) | |
at scala.tools.nsc.Driver.process(Driver.scala:67) | |
at scala.tools.nsc.Driver.main(Driver.scala:80) | |
at scala.tools.nsc.Main.main(Main.scala) | |
Caused by: scala.tools.asm.tree.analysis.AnalyzerException: Error at instruction 84: Incompatible stack heights | |
at scala.tools.asm.tree.analysis.Analyzer.analyze(Analyzer.java:291) | |
at scala.tools.nsc.backend.jvm.analysis.BackendUtils$AsmAnalyzer.<init>(BackendUtils.scala:99) | |
... 72 more | |
Caused by: scala.tools.asm.tree.analysis.AnalyzerException: Incompatible stack heights | |
at scala.tools.asm.tree.analysis.Frame.merge(Frame.java:678) | |
at scala.tools.nsc.backend.jvm.analysis.AliasingFrame.merge(AliasingFrame.scala:296) | |
at scala.tools.asm.tree.analysis.Analyzer.merge(Analyzer.java:541) | |
at scala.tools.asm.tree.analysis.Analyzer.analyze(Analyzer.java:205) | |
... 73 more | |
error: Error while emitting scala/collection/mutable/PriorityQueue | |
While processing scala/collection/mutable/PriorityQueue.scala$collection$mutable$PriorityQueue$$heapify | |
one error found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment