-
Notifications
You must be signed in to change notification settings - Fork 7
Commits on Jul 18, 2016
-
Stock ASM 5.1, all customizations reverted
Carsten Varming committedJul 18, 2016 Configuration menu - View commit details
-
Copy full SHA for 3aa2bf7 - Browse repository at this point
Copy the full SHA 3aa2bf7View commit details -
Carsten Varming committed
Jul 18, 2016 Configuration menu - View commit details
-
Copy full SHA for c45dc6a - Browse repository at this point
Copy the full SHA c45dc6aView commit details -
Carsten Varming committed
Jul 18, 2016 Configuration menu - View commit details
-
Copy full SHA for ca53ab1 - Browse repository at this point
Copy the full SHA ca53ab1View commit details -
Carsten Varming committed
Jul 18, 2016 Configuration menu - View commit details
-
Copy full SHA for bdefa61 - Browse repository at this point
Copy the full SHA bdefa61View commit details -
Carsten Varming committed
Jul 18, 2016 Configuration menu - View commit details
-
Copy full SHA for e8885eb - Browse repository at this point
Copy the full SHA e8885ebView commit details -
[asm-cherry-pick] asm.CustomAttribute class
Allows creating an asm.Attribute and directly providing the content as a byte array. Cherry-pick of lrytz/scala@9a7e518
Configuration menu - View commit details
-
Copy full SHA for decf106 - Browse repository at this point
Copy the full SHA decf106View commit details -
[asm-cherry-pick] Ensure instructions belong only to one list
Fail early when adding an instruction that already belongs to a different instruction list. Cherry-pick of lrytz/scala@eccd0dc
Configuration menu - View commit details
-
Copy full SHA for ceffb2c - Browse repository at this point
Copy the full SHA ceffb2cView commit details -
[asm-cherry-pick] Associate LabelNodes with their corresponding label
Cherry-pick of lrytz/scala@2458576
Configuration menu - View commit details
-
Copy full SHA for 7bb61b5 - Browse repository at this point
Copy the full SHA 7bb61b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d245723 - Browse repository at this point
Copy the full SHA d245723View commit details -
[asm-cherry-pick] Use MethodWriter to compute maxLocals / maxStack
Make class MethodWriter public and add accessors for maxLocals and maxStack. This is the simplest way to compute the maxs using the ASM framework. It is used in the optimizer, see scala/scala@90781e8 Cherry-pick of lrytz/scala@91810c9
Configuration menu - View commit details
-
Copy full SHA for af39f30 - Browse repository at this point
Copy the full SHA af39f30View commit details -
Fix typos. This change was initially part of scala/scala@549dc88 Cherry-pick of lrytz/scala@e1fbc7f
Configuration menu - View commit details
-
Copy full SHA for d57fb89 - Browse repository at this point
Copy the full SHA d57fb89View commit details -
[asm-cherry-pick] Clarify the doc of MethodInsnNode.owner
Cherry-pick of 97075ea
Configuration menu - View commit details
-
Copy full SHA for 2844600 - Browse repository at this point
Copy the full SHA 2844600View commit details -
[asm-cherry-pick] Allow setting stack values in analysis frames
Adds a method `setStack` to analysis.Frame which allows setting the dataflow value of a stack slot. Used in nullness analysis. After, for example, an instance call, aliases of the receiver can be set to NotNull, both in locals and on the stack.
Configuration menu - View commit details
-
Copy full SHA for 3dcfa7b - Browse repository at this point
Copy the full SHA 3dcfa7bView commit details -
[asm-cherry-pick] Multiple methods for initializing analysis values
Introduces a number of methods that are called when initializing or updating abstract values in an analyzer frame. Before this commit, Analyzer.analyze and Frame.execute would always call Interpreter.newValue for initializing or updating frame values. Having multiple methods allows users to return more precise values for the individual cases. For example, in a nullness analysis, the initial value for the `this` parameter of an instance method can be set to not-null.
Configuration menu - View commit details
-
Copy full SHA for 4bddf8b - Browse repository at this point
Copy the full SHA 4bddf8bView commit details -
[asm-cherry-pick] Call interpreter.copyInstruction consistently for a…
…ll copied values Before this change, `Frame.execute` did not invoke the interpreter's `copyInstruction` method for all values that are pushed on the frame's when executing some copying instructions. For example, in the case of SWAP, copyInstruction is invoked: value2 = pop(); value1 = pop(); push(interpreter.copyOperation(insn, value2)); push(interpreter.copyOperation(insn, value1)); For DUP on the other hand, the original value is pushed onto the stack without notifying the interpreter: value1 = pop(); push(value1); push(interpreter.copyOperation(insn, value1)); This leads to a problem for the `SourceInterpreter`, which collects for every value a set of potential producer instructions. Given the bytecode sequence NEW java/lang/Object DUP INVOKESPECIAL java/lang/Object.<init> ()V In the frame of the INVOKESPECIAL instruction, the value on the stack lists as its producer the `NEW` operation instead of the `DUP`, which not expected.
Configuration menu - View commit details
-
Copy full SHA for 4a7bb6a - Browse repository at this point
Copy the full SHA 4a7bb6aView commit details -
[asm-cherry-pick] Fix findItemByIndex in case of hash collisions
The method `findItemByIndex` only looked at the first item in each bucket of the `items` hash table. Also, in case the item was not found, the counter `i` would be at `items.length`, therefore the access `items[i]` crashed with an ArrayIndexOutOfBoundsException. Fixes the issue scala/scala-asm#8.
Configuration menu - View commit details
-
Copy full SHA for 81194e2 - Browse repository at this point
Copy the full SHA 81194e2View commit details
Commits on Jul 20, 2016
-
Update README.md after upgrading to ASM 5.1
Carsten Varming committedJul 20, 2016 Configuration menu - View commit details
-
Copy full SHA for 450a410 - Browse repository at this point
Copy the full SHA 450a410View commit details