From 8d018f8f040e0af26ed2167c3f94f21a5e6de22b Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Sun, 18 Nov 2018 12:17:08 +0100 Subject: [PATCH] use Member instead ConstantRef in method signature --- .../inetsoftware/jwebassembly/module/WasmCodeBuilder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/inetsoftware/jwebassembly/module/WasmCodeBuilder.java b/src/de/inetsoftware/jwebassembly/module/WasmCodeBuilder.java index d7e2d8e..b9caefe 100644 --- a/src/de/inetsoftware/jwebassembly/module/WasmCodeBuilder.java +++ b/src/de/inetsoftware/jwebassembly/module/WasmCodeBuilder.java @@ -22,7 +22,7 @@ import javax.annotation.Nonnegative; import javax.annotation.Nonnull; import javax.annotation.Nullable; -import de.inetsoftware.classparser.ConstantRef; +import de.inetsoftware.classparser.Member; /** * Base class for Code Building. @@ -113,7 +113,7 @@ public abstract class WasmCodeBuilder { * @param javaCodePos * the code position/offset in the Java method */ - protected void addGlobalInstruction( boolean load, ConstantRef ref, int javaCodePos ) { + protected void addGlobalInstruction( boolean load, Member ref, int javaCodePos ) { instructions.add( new WasmGlobalInstruction( load, ref, javaCodePos ) ); } @@ -177,7 +177,7 @@ public abstract class WasmCodeBuilder { * @param javaCodePos * the code position/offset in the Java method */ - protected void addCallInstruction( ConstantRef method, int javaCodePos ) { + protected void addCallInstruction( Member method, int javaCodePos ) { instructions.add( new WasmCallInstruction( method, javaCodePos ) ); }