Commit 2dd07726 authored by Lubomir Bulej's avatar Lubomir Bulej

Naming fix: AsmHelper.loadNull() -> AsmHelper.loadDefault()

parent 61a29913
......@@ -148,7 +148,7 @@ public abstract class AsmHelper {
}
}
public static AbstractInsnNode loadNull(Type type) {
public static AbstractInsnNode loadDefault(Type type) {
switch (type.getSort()) {
case Type.BOOLEAN:
......
......@@ -288,7 +288,7 @@ public class WeavingCode {
if (basicframe == null) {
// TODO warn user that weaving location is unreachable.
iList.insert(instr, AsmHelper.loadNull(t));
iList.insert(instr, AsmHelper.loadDefault(t));
if (!AsmHelper.isReferenceType(t)) {
iList.insert(instr, AsmHelper.boxValueOnStack(t));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment