diff --git a/transpiler/java/com/google/j2cl/transpiler/backend/wasm/WasmOutputsGenerator.java b/transpiler/java/com/google/j2cl/transpiler/backend/wasm/WasmOutputsGenerator.java index 3234f0db18..ea089e473f 100644 --- a/transpiler/java/com/google/j2cl/transpiler/backend/wasm/WasmOutputsGenerator.java +++ b/transpiler/java/com/google/j2cl/transpiler/backend/wasm/WasmOutputsGenerator.java @@ -437,16 +437,23 @@ private void emitStaticFieldGlobals(Type type) { if (field.isCompileTimeConstant()) { builder.append( - format(" %s ", environment.getWasmType(field.getDescriptor().getTypeDescriptor()))); + format(" %s", environment.getWasmType(field.getDescriptor().getTypeDescriptor()))); + builder.indent(); + builder.newLine(); ExpressionTranspiler.render(field.getInitializer(), builder, environment); + builder.unindent(); } else { builder.append( format( - " (mut %s) ", environment.getWasmType(field.getDescriptor().getTypeDescriptor()))); + " (mut %s)", environment.getWasmType(field.getDescriptor().getTypeDescriptor()))); + builder.indent(); + builder.newLine(); ExpressionTranspiler.render( field.getDescriptor().getTypeDescriptor().getDefaultValue(), builder, environment); + builder.unindent(); } + builder.newLine(); builder.append(")"); } emitEndCodeComment(type, "static fields"); @@ -668,7 +675,13 @@ private void emitDispatchTablesInitialization(Library library) { // Emit an empty itable that will be used for types that don't implement any interface. builder.newLine(); - builder.append("(global $itable.empty (ref $itable) (struct.new_default $itable))"); + builder.append("(global $itable.empty (ref $itable)"); + builder.indent(); + builder.newLine(); + builder.append("(struct.new_default $itable)"); + builder.unindent(); + builder.newLine(); + builder.append(")"); // Populate all vtables. library @@ -725,25 +738,28 @@ private void emitItableInitialization(TypeDeclaration typeDeclaration) { .filter(Objects::nonNull) .forEach( i -> { + builder.newLine(); builder.append( format( - "(global %s (ref %s) ", + "(global %s (ref %s)", environment.getWasmInterfaceVtableGlobalName(i, typeDeclaration), environment.getWasmVtableTypeName(i))); builder.indent(); initializeInterfaceVtable(wasmTypeLayout, i); - builder.newLine(); builder.unindent(); + builder.newLine(); builder.append(")"); }); builder.newLine(); builder.append( format( - "(global %s (ref %s) (struct.new %s", + "(global %s (ref %s)", environment.getWasmItableGlobalName(typeDeclaration), - environment.getWasmItableTypeName(typeDeclaration), environment.getWasmItableTypeName(typeDeclaration))); builder.indent(); + builder.newLine(); + builder.append(format("(struct.new %s", environment.getWasmItableTypeName(typeDeclaration))); + builder.indent(); stream(itableSlots) .forEach( i -> { @@ -757,9 +773,12 @@ private void emitItableInitialization(TypeDeclaration typeDeclaration) { " (global.get %s)", environment.getWasmInterfaceVtableGlobalName(i, typeDeclaration))); }); + builder.unindent(); builder.newLine(); - builder.append("))"); + builder.append(")"); builder.unindent(); + builder.newLine(); + builder.append(")"); emitEndCodeComment(typeDeclaration, "itable.init"); } @@ -922,10 +941,14 @@ private void emitEmptyArraySingleton(ArrayTypeDescriptor arrayTypeDescriptor) { builder.newLine(); builder.append( format( - "(global %s (ref %s) (array.new_default %s (i32.const 0)))", - environment.getWasmEmptyArrayGlobalName(arrayTypeDescriptor), - wasmArrayTypeName, - wasmArrayTypeName)); + "(global %s (ref %s)", + environment.getWasmEmptyArrayGlobalName(arrayTypeDescriptor), wasmArrayTypeName)); + builder.indent(); + builder.newLine(); + builder.append(format("(array.new_default %s (i32.const 0))", wasmArrayTypeName)); + builder.unindent(); + builder.newLine(); + builder.append(")"); builder.newLine(); } diff --git a/transpiler/javatests/com/google/j2cl/readable/java/abstractinnerclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/abstractinnerclass/output_wasm/module.wat.txt index 0116616c10..3f7fab4838 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/abstractinnerclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/abstractinnerclass/output_wasm/module.wat.txt @@ -87,24 +87,48 @@ ) ;;; Code for abstractinnerclass.InnerClasses [static fields] -(global $f_$initialized__abstractinnerclass_InnerClasses (mut i32) (i32.const 0)) -(global $f_$class__abstractinnerclass_InnerClasses (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractinnerclass_InnerClasses (mut i32) + (i32.const 0) +) +(global $f_$class__abstractinnerclass_InnerClasses (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractinnerclass.InnerClasses.A [static fields] -(global $f_$initialized__abstractinnerclass_InnerClasses_A (mut i32) (i32.const 0)) -(global $f_$class__abstractinnerclass_InnerClasses_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractinnerclass_InnerClasses_A (mut i32) + (i32.const 0) +) +(global $f_$class__abstractinnerclass_InnerClasses_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractinnerclass.InnerClasses.B [static fields] -(global $f_$initialized__abstractinnerclass_InnerClasses_B (mut i32) (i32.const 0)) -(global $f_$class__abstractinnerclass_InnerClasses_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractinnerclass_InnerClasses_B (mut i32) + (i32.const 0) +) +(global $f_$class__abstractinnerclass_InnerClasses_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractinnerclass.InnerClasses.C [static fields] -(global $f_$initialized__abstractinnerclass_InnerClasses_C (mut i32) (i32.const 0)) -(global $f_$class__abstractinnerclass_InnerClasses_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractinnerclass_InnerClasses_C (mut i32) + (i32.const 0) +) +(global $f_$class__abstractinnerclass_InnerClasses_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractinne...|__abstractinnerclass_InnerClasses_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractinnerclass.InnerClasses.A [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/abstractinterfaceimpl/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/abstractinterfaceimpl/output_wasm/module.wat.txt index f70254279f..a4a06f5b27 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/abstractinterfaceimpl/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/abstractinterfaceimpl/output_wasm/module.wat.txt @@ -31,14 +31,26 @@ ))) ;;; Code for abstractinterfaceimpl.MyInterface [static fields] -(global $f_$initialized__abstractinterfaceimpl_MyInterface (mut i32) (i32.const 0)) -(global $f_$class__abstractinterfaceimpl_MyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractinte...|__abstractinterfaceimpl_MyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractinterfaceimpl_MyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__abstractinterfaceimpl_MyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractinte...|__abstractinterfaceimpl_MyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractinterfaceimpl.AbstractInterfaceImpl [static fields] -(global $f_$initialized__abstractinterfaceimpl_AbstractInterfaceImpl (mut i32) (i32.const 0)) -(global $f_$class__abstractinterfaceimpl_AbstractInterfaceImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractinte...|__abstractinterfaceimpl_AbstractInterfaceImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractinterfaceimpl_AbstractInterfaceImpl (mut i32) + (i32.const 0) +) +(global $f_$class__abstractinterfaceimpl_AbstractInterfaceImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractinte...|__abstractinterfaceimpl_AbstractInterfaceImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractinterfaceimpl.MyInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/abstractmethodoverridedefault/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/abstractmethodoverridedefault/output_wasm/module.wat.txt index 9a6f8e465a..31ef2eed8a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/abstractmethodoverridedefault/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/abstractmethodoverridedefault/output_wasm/module.wat.txt @@ -134,51 +134,90 @@ ) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.C [itable.init] -(global $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable@$abstractmethodoverridedefault.AbstractMethodOverrideDefault.C (ref $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable) + +(global $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable@$abstractmethodoverridedefault.AbstractMethodOverrideDefault.C (ref $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable) (struct.new $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable (ref.func $m_bar__void@abstractmethodoverridedefault.AbstractMethodOverrideDefault.C) (ref.func $m_foo__void@abstractmethodoverridedefault.AbstractMethodOverrideDefault.C) ) +) +(global $abstractmethodoverridedefault.AbstractMethodOverrideDefault.C.itable (ref $abstractmethodoverridedefault.AbstractMethodOverrideDefault.C.itable) + (struct.new $abstractmethodoverridedefault.AbstractMethodOverrideDefault.C.itable + (global.get $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable@$abstractmethodoverridedefault.AbstractMethodOverrideDefault.C) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $abstractmethodoverridedefault.AbstractMethodOverrideDefault.C.itable (ref $abstractmethodoverridedefault.AbstractMethodOverrideDefault.C.itable) (struct.new $abstractmethodoverridedefault.AbstractMethodOverrideDefault.C.itable - (global.get $abstractmethodoverridedefault.AbstractMethodOverrideDefault.I.vtable@$abstractmethodoverridedefault.AbstractMethodOverrideDefault.C) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault [static fields] -(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault (mut i32) (i32.const 0)) -(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault (mut i32) + (i32.const 0) +) +(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.I [static fields] -(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_I (mut i32) (i32.const 0)) -(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_I (mut i32) + (i32.const 0) +) +(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.J [static fields] -(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_J (mut i32) (i32.const 0)) -(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_J (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_J (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_J (mut i32) + (i32.const 0) +) +(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_J (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_J (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.A [static fields] -(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_A (mut i32) (i32.const 0)) -(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_A (mut i32) + (i32.const 0) +) +(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.B [static fields] -(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_B (mut i32) (i32.const 0)) -(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_B (mut i32) + (i32.const 0) +) +(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.C [static fields] -(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_C (mut i32) (i32.const 0)) -(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__abstractmethodoverridedefault_AbstractMethodOverrideDefault_C (mut i32) + (i32.const 0) +) +(global $f_$class__abstractmethodoverridedefault_AbstractMethodOverrideDefault_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abstractmeth...|__abstractmethodoverridedefault_AbstractMethodOverrideDefault_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for abstractmethodoverridedefault.AbstractMethodOverrideDefault.I [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/accidentaloverride/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/accidentaloverride/output_wasm/module.wat.txt index 72b7014024..d94ccdb35b 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/accidentaloverride/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/accidentaloverride/output_wasm/module.wat.txt @@ -103,20 +103,23 @@ ) ;;; Code for accidentaloverride.AnotherAccidentalOverride [itable.init] -(global $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AnotherAccidentalOverride (ref $accidentaloverride.SuperInterface.vtable) + +(global $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AnotherAccidentalOverride (ref $accidentaloverride.SuperInterface.vtable) (struct.new $accidentaloverride.SuperInterface.vtable (ref.func $m_foo__java_lang_Object__void@accidentaloverride.AnotherAccidentalOverride) ) +) +(global $accidentaloverride.AnotherAccidentalOverride.itable (ref $accidentaloverride.AnotherAccidentalOverride.itable) + (struct.new $accidentaloverride.AnotherAccidentalOverride.itable + (global.get $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AnotherAccidentalOverride) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $accidentaloverride.AnotherAccidentalOverride.itable (ref $accidentaloverride.AnotherAccidentalOverride.itable) (struct.new $accidentaloverride.AnotherAccidentalOverride.itable - (global.get $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AnotherAccidentalOverride) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for accidentaloverride.AccidentalOverride [vtable.init] (global $accidentaloverride.AccidentalOverride.vtable (ref $accidentaloverride.AccidentalOverride.vtable) @@ -132,40 +135,67 @@ ) ;;; Code for accidentaloverride.AccidentalOverride [itable.init] -(global $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AccidentalOverride (ref $accidentaloverride.SuperInterface.vtable) + +(global $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AccidentalOverride (ref $accidentaloverride.SuperInterface.vtable) (struct.new $accidentaloverride.SuperInterface.vtable (ref.func $m_foo__java_lang_Object__void@accidentaloverride.AccidentalOverride) ) +) +(global $accidentaloverride.AccidentalOverride.itable (ref $accidentaloverride.AccidentalOverride.itable) + (struct.new $accidentaloverride.AccidentalOverride.itable + (global.get $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AccidentalOverride) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $accidentaloverride.AccidentalOverride.itable (ref $accidentaloverride.AccidentalOverride.itable) (struct.new $accidentaloverride.AccidentalOverride.itable - (global.get $accidentaloverride.SuperInterface.vtable@$accidentaloverride.AccidentalOverride) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for accidentaloverride.Parent [static fields] -(global $f_$initialized__accidentaloverride_Parent (mut i32) (i32.const 0)) -(global $f_$class__accidentaloverride_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|accidentalov...|__accidentaloverride_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__accidentaloverride_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__accidentaloverride_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|accidentalov...|__accidentaloverride_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for accidentaloverride.SuperInterface [static fields] -(global $f_$initialized__accidentaloverride_SuperInterface (mut i32) (i32.const 0)) -(global $f_$class__accidentaloverride_SuperInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|accidentalov...|__accidentaloverride_SuperInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__accidentaloverride_SuperInterface (mut i32) + (i32.const 0) +) +(global $f_$class__accidentaloverride_SuperInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|accidentalov...|__accidentaloverride_SuperInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for accidentaloverride.AnotherAccidentalOverride [static fields] -(global $f_$initialized__accidentaloverride_AnotherAccidentalOverride (mut i32) (i32.const 0)) -(global $f_$class__accidentaloverride_AnotherAccidentalOverride (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|accidentalov...|__accidentaloverride_AnotherAccidentalOverride (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__accidentaloverride_AnotherAccidentalOverride (mut i32) + (i32.const 0) +) +(global $f_$class__accidentaloverride_AnotherAccidentalOverride (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|accidentalov...|__accidentaloverride_AnotherAccidentalOverride (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for accidentaloverride.AccidentalOverride [static fields] -(global $f_$initialized__accidentaloverride_AccidentalOverride (mut i32) (i32.const 0)) -(global $f_$class__accidentaloverride_AccidentalOverride (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|accidentalov...|__accidentaloverride_AccidentalOverride (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__accidentaloverride_AccidentalOverride (mut i32) + (i32.const 0) +) +(global $f_$class__accidentaloverride_AccidentalOverride (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|accidentalov...|__accidentaloverride_AccidentalOverride (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for accidentaloverride.SuperInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/annotation/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/annotation/output_wasm/module.wat.txt index 11edc1cf4c..5ea1a432fc 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/annotation/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/annotation/output_wasm/module.wat.txt @@ -67,24 +67,48 @@ ) ;;; Code for annotation.Main [static fields] -(global $f_$initialized__annotation_Main (mut i32) (i32.const 0)) -(global $f_$class__annotation_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|annotation.Main|__annotation_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__annotation_Main (mut i32) + (i32.const 0) +) +(global $f_$class__annotation_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|annotation.Main|__annotation_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for annotation.Main.Foo [static fields] -(global $f_$initialized__annotation_Main_Foo (mut i32) (i32.const 0)) -(global $f_$class__annotation_Main_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|annotation.M...|__annotation_Main_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__annotation_Main_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__annotation_Main_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|annotation.M...|__annotation_Main_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for annotation.Main.Zoo [static fields] -(global $f_$initialized__annotation_Main_Zoo (mut i32) (i32.const 0)) -(global $f_$class__annotation_Main_Zoo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|annotation.M...|__annotation_Main_Zoo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__annotation_Main_Zoo (mut i32) + (i32.const 0) +) +(global $f_$class__annotation_Main_Zoo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|annotation.M...|__annotation_Main_Zoo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for annotation.Main.Bar [static fields] -(global $f_$initialized__annotation_Main_Bar (mut i32) (i32.const 0)) -(global $f_$class__annotation_Main_Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|annotation.M...|__annotation_Main_Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__annotation_Main_Bar (mut i32) + (i32.const 0) +) +(global $f_$class__annotation_Main_Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|annotation.M...|__annotation_Main_Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for annotation.Main.Foo [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/anonymousclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/anonymousclass/output_wasm/module.wat.txt index 15fc35ad0c..89090a5f6e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/anonymousclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/anonymousclass/output_wasm/module.wat.txt @@ -161,41 +161,87 @@ ) ;;; Code for anonymousclass.SomeClass [static fields] -(global $f_$initialized__anonymousclass_SomeClass (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_SomeClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymouscla...|__anonymousclass_SomeClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousclass_SomeClass (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_SomeClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymouscla...|__anonymousclass_SomeClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.SomeClassWithStaticMembers [static fields] -(global $f_$initialized__anonymousclass_SomeClassWithStaticMembers (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_SomeClassWithStaticMembers (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymouscla...|__anonymousclass_SomeClassWithStaticMembers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousclass_SomeClassWithStaticMembers (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_SomeClassWithStaticMembers (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymouscla...|__anonymousclass_SomeClassWithStaticMembers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.AnonymousClass [static fields] -(global $f_$initialized__anonymousclass_AnonymousClass (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_AnonymousClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymouscla...|__anonymousclass_AnonymousClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousclass_AnonymousClass (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_AnonymousClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymouscla...|__anonymousclass_AnonymousClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.SomeInterface [static fields] -(global $f_implicitlyStatic__anonymousclass_SomeInterface (mut (ref null $anonymousclass.SomeClass)) (ref.null $anonymousclass.SomeClass)) -(global $f_$initialized__anonymousclass_SomeInterface (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_SomeInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymouscla...|__anonymousclass_SomeInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_implicitlyStatic__anonymousclass_SomeInterface (mut (ref null $anonymousclass.SomeClass)) + (ref.null $anonymousclass.SomeClass) +) +(global $f_$initialized__anonymousclass_SomeInterface (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_SomeInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymouscla...|__anonymousclass_SomeInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.AnonymousClass.1 [static fields] -(global $f_$initialized__anonymousclass_AnonymousClass_1 (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_AnonymousClass_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|a|__anonymousclass_AnonymousClass_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|anonymouscla...|__anonymousclass_AnonymousClass_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousclass_AnonymousClass_1 (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_AnonymousClass_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|a|__anonymousclass_AnonymousClass_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|anonymouscla...|__anonymousclass_AnonymousClass_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.AnonymousClass.2 [static fields] -(global $f_$initialized__anonymousclass_AnonymousClass_2 (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_AnonymousClass_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymouscla...|__anonymousclass_AnonymousClass_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousclass_AnonymousClass_2 (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_AnonymousClass_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymouscla...|__anonymousclass_AnonymousClass_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.SomeInterface.1 [static fields] -(global $f_$initialized__anonymousclass_SomeInterface_1 (mut i32) (i32.const 0)) -(global $f_$class__anonymousclass_SomeInterface_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymouscla...|__anonymousclass_SomeInterface_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousclass_SomeInterface_1 (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousclass_SomeInterface_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymouscla...|__anonymousclass_SomeInterface_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousclass.SomeInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/anonymousinnerclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/anonymousinnerclass/output_wasm/module.wat.txt index d7122aa405..b30d37f652 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/anonymousinnerclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/anonymousinnerclass/output_wasm/module.wat.txt @@ -232,44 +232,92 @@ ) ;;; Code for anonymousinnerclass.A [static fields] -(global $f_$initialized__anonymousinnerclass_A (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_A (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.AnonymousInnerClass [static fields] -(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_AnonymousInnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_AnonymousInnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.A.B [static fields] -(global $f_$initialized__anonymousinnerclass_A_B (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_A_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_A_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_A_B (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_A_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_A_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.AnonymousInnerClass.1 [static fields] -(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_1 (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_AnonymousInnerClass_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_1 (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_AnonymousInnerClass_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.AnonymousInnerClass.2 [static fields] -(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_2 (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_AnonymousInnerClass_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_2 (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_AnonymousInnerClass_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.AnonymousInnerClass.3 [static fields] -(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_3 (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_AnonymousInnerClass_3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_3 (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_AnonymousInnerClass_3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.AnonymousInnerClass.InnerClass [static fields] -(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_AnonymousInnerClass_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_AnonymousInnerClass_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.AnonymousInnerClass.1C [static fields] -(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_1C (mut i32) (i32.const 0)) -(global $f_$class__anonymousinnerclass_AnonymousInnerClass_1C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_1C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__anonymousinnerclass_AnonymousInnerClass_1C (mut i32) + (i32.const 0) +) +(global $f_$class__anonymousinnerclass_AnonymousInnerClass_1C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|anonymousinn...|__anonymousinnerclass_AnonymousInnerClass_1C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for anonymousinnerclass.A [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratordep/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratordep/output_wasm/module.wat.txt index 7054eb96c8..6556041b84 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratordep/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratordep/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for aptgeneratordep.Dummy [static fields] -(global $f_$initialized__aptgeneratordep_Dummy (mut i32) (i32.const 0)) -(global $f_$class__aptgeneratordep_Dummy (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|aptgenerator...|__aptgeneratordep_Dummy (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__aptgeneratordep_Dummy (mut i32) + (i32.const 0) +) +(global $f_$class__aptgeneratordep_Dummy (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|aptgenerator...|__aptgeneratordep_Dummy (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for aptgeneratordep.Foo [static fields] -(global $f_$initialized__aptgeneratordep_Foo (mut i32) (i32.const 0)) -(global $f_$class__aptgeneratordep_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|aptgenerator...|__aptgeneratordep_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__aptgeneratordep_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__aptgeneratordep_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|aptgenerator...|__aptgeneratordep_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for aptgeneratordep.Dummy [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratorplugin/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratorplugin/output_wasm/module.wat.txt index 15528743cf..89440b8526 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratorplugin/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/aptgeneratorplugin/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for aptgeneratorplugin.Dummy [static fields] -(global $f_$initialized__aptgeneratorplugin_Dummy (mut i32) (i32.const 0)) -(global $f_$class__aptgeneratorplugin_Dummy (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|aptgenerator...|__aptgeneratorplugin_Dummy (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__aptgeneratorplugin_Dummy (mut i32) + (i32.const 0) +) +(global $f_$class__aptgeneratorplugin_Dummy (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|aptgenerator...|__aptgeneratorplugin_Dummy (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for aptgeneratorplugin.Foo [static fields] -(global $f_$initialized__aptgeneratorplugin_Foo (mut i32) (i32.const 0)) -(global $f_$class__aptgeneratorplugin_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|aptgenerator...|__aptgeneratorplugin_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__aptgeneratorplugin_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__aptgeneratorplugin_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|aptgenerator...|__aptgeneratorplugin_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for aptgeneratorplugin.Dummy [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/arithmeticexpressions/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/arithmeticexpressions/output_wasm/module.wat.txt index aea0f5d7f1..cce3332ef2 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/arithmeticexpressions/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/arithmeticexpressions/output_wasm/module.wat.txt @@ -69,17 +69,35 @@ ) ;;; Code for arithmeticexpressions.ArithmeticExpressions [static fields] -(global $f_one__arithmeticexpressions_ArithmeticExpressions (mut i64) (i64.const 0)) -(global $f_foo__arithmeticexpressions_ArithmeticExpressions (mut i64) (i64.const 0)) -(global $f_counter__arithmeticexpressions_ArithmeticExpressions_ (mut i64) (i64.const 0)) -(global $f_$initialized__arithmeticexpressions_ArithmeticExpressions (mut i32) (i32.const 0)) -(global $f_$class__arithmeticexpressions_ArithmeticExpressions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|arithmeticex...|__arithmeticexpressions_ArithmeticExpressions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_one__arithmeticexpressions_ArithmeticExpressions (mut i64) + (i64.const 0) +) +(global $f_foo__arithmeticexpressions_ArithmeticExpressions (mut i64) + (i64.const 0) +) +(global $f_counter__arithmeticexpressions_ArithmeticExpressions_ (mut i64) + (i64.const 0) +) +(global $f_$initialized__arithmeticexpressions_ArithmeticExpressions (mut i32) + (i32.const 0) +) +(global $f_$class__arithmeticexpressions_ArithmeticExpressions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|arithmeticex...|__arithmeticexpressions_ArithmeticExpressions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for arithmeticexpressions.ArithmeticExpressions.1Ref [static fields] -(global $f_$initialized__arithmeticexpressions_ArithmeticExpressions_1Ref (mut i32) (i32.const 0)) -(global $f_$class__arithmeticexpressions_ArithmeticExpressions_1Ref (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|arithmeticex...|__arithmeticexpressions_ArithmeticExpressions_1Ref (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__arithmeticexpressions_ArithmeticExpressions_1Ref (mut i32) + (i32.const 0) +) +(global $f_$class__arithmeticexpressions_ArithmeticExpressions_1Ref (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|arithmeticex...|__arithmeticexpressions_ArithmeticExpressions_1Ref (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for arithmeticexpressions.ArithmeticExpressions [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/array/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/array/output_wasm/module.wat.txt index 810891879b..19da783c7d 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/array/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/array/output_wasm/module.wat.txt @@ -124,26 +124,50 @@ ) ;;; Code for array.Arrays [static fields] -(global $f_$initialized__array_Arrays (mut i32) (i32.const 0)) -(global $f_$class__array_Arrays (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|array.Arrays|__array_Arrays (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__array_Arrays (mut i32) + (i32.const 0) +) +(global $f_$class__array_Arrays (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|array.Arrays|__array_Arrays (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for array.Arrays.SomeObject [static fields] -(global $f_$initialized__array_Arrays_SomeObject (mut i32) (i32.const 0)) -(global $f_$class__array_Arrays_SomeObject (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|array.Arrays...|__array_Arrays_SomeObject (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__array_Arrays_SomeObject (mut i32) + (i32.const 0) +) +(global $f_$class__array_Arrays_SomeObject (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|array.Arrays...|__array_Arrays_SomeObject (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for array.Arrays.NativeType [static fields] ;;; Code for array.Arrays.ArrayContainer [static fields] -(global $f_$initialized__array_Arrays_ArrayContainer (mut i32) (i32.const 0)) -(global $f_$class__array_Arrays_ArrayContainer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|array.Arrays...|__array_Arrays_ArrayContainer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__array_Arrays_ArrayContainer (mut i32) + (i32.const 0) +) +(global $f_$class__array_Arrays_ArrayContainer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|array.Arrays...|__array_Arrays_ArrayContainer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for array.Arrays.NativeType.$Overlay [static fields] -(global $f_$initialized__array_Arrays_NativeType_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__array_Arrays_NativeType_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|array.Arrays...|__array_Arrays_NativeType_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__array_Arrays_NativeType_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__array_Arrays_NativeType_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|array.Arrays...|__array_Arrays_NativeType_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for array.Arrays.NativeType.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/assertsimple/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/assertsimple/output_wasm/module.wat.txt index 21e672bf63..045ee0f407 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/assertsimple/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/assertsimple/output_wasm/module.wat.txt @@ -26,10 +26,18 @@ ) ;;; Code for assertsimple.AssertSimple [static fields] -(global $f_$initialized__assertsimple_AssertSimple (mut i32) (i32.const 0)) -(global $f_$class__assertsimple_AssertSimple (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Error_|__assertsimple_AssertSimple (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|assertsimple...|__assertsimple_AssertSimple (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__assertsimple_AssertSimple (mut i32) + (i32.const 0) +) +(global $f_$class__assertsimple_AssertSimple (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Error_|__assertsimple_AssertSimple (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|assertsimple...|__assertsimple_AssertSimple (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for assertsimple.AssertSimple [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/autoboxing/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/autoboxing/output_wasm/module.wat.txt index 59a9582e7b..a015a3fd62 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/autoboxing/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/autoboxing/output_wasm/module.wat.txt @@ -172,24 +172,48 @@ ) ;;; Code for autoboxing.AutoBoxing [static fields] -(global $f_$initialized__autoboxing_AutoBoxing (mut i32) (i32.const 0)) -(global $f_$class__autoboxing_AutoBoxing (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autoboxing_AutoBoxing (mut i32) + (i32.const 0) +) +(global $f_$class__autoboxing_AutoBoxing (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autoboxing.AutoBoxing.1Local [static fields] -(global $f_$initialized__autoboxing_AutoBoxing_1Local (mut i32) (i32.const 0)) -(global $f_$class__autoboxing_AutoBoxing_1Local (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing_1Local (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autoboxing_AutoBoxing_1Local (mut i32) + (i32.const 0) +) +(global $f_$class__autoboxing_AutoBoxing_1Local (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing_1Local (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autoboxing.AutoBoxing.2Local [static fields] -(global $f_$initialized__autoboxing_AutoBoxing_2Local (mut i32) (i32.const 0)) -(global $f_$class__autoboxing_AutoBoxing_2Local (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing_2Local (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autoboxing_AutoBoxing_2Local (mut i32) + (i32.const 0) +) +(global $f_$class__autoboxing_AutoBoxing_2Local (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing_2Local (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autoboxing.AutoBoxing.1Supplier [static fields] -(global $f_$initialized__autoboxing_AutoBoxing_1Supplier (mut i32) (i32.const 0)) -(global $f_$class__autoboxing_AutoBoxing_1Supplier (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing_1Supplier (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autoboxing_AutoBoxing_1Supplier (mut i32) + (i32.const 0) +) +(global $f_$class__autoboxing_AutoBoxing_1Supplier (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autoboxing.A...|__autoboxing_AutoBoxing_1Supplier (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autoboxing.AutoBoxing [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/autovalue/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/autovalue/output_wasm/module.wat.txt index b68dde8ac2..86615350dc 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/autovalue/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/autovalue/output_wasm/module.wat.txt @@ -830,19 +830,22 @@ ) ;;; Code for autovalue.AutoValue_AutoValueWithFields [itable.init] -(global $java.io.Serializable.vtable@$autovalue.AutoValue_AutoValueWithFields (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$autovalue.AutoValue_AutoValueWithFields (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) +) +(global $autovalue.AutoValue_AutoValueWithFields.itable (ref $autovalue.AutoValue_AutoValueWithFields.itable) + (struct.new $autovalue.AutoValue_AutoValueWithFields.itable + (global.get $java.io.Serializable.vtable@$autovalue.AutoValue_AutoValueWithFields) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $autovalue.AutoValue_AutoValueWithFields.itable (ref $autovalue.AutoValue_AutoValueWithFields.itable) (struct.new $autovalue.AutoValue_AutoValueWithFields.itable - (global.get $java.io.Serializable.vtable@$autovalue.AutoValue_AutoValueWithFields) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for autovalue.AutoValue_AutoValueWithGenerics [vtable.init] (global $autovalue.AutoValue_AutoValueWithGenerics.vtable (ref $autovalue.AutoValue_AutoValueWithGenerics.vtable) @@ -985,196 +988,436 @@ ) ;;; Code for autovalue.$$AutoValue_AutoValueWithExtensions [static fields] -(global $f_$initialized__autovalue_$$AutoValue_AutoValueWithExtensions (mut i32) (i32.const 0)) -(global $f_$class__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|_|__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|__|__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|_|_1__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|autovalue.__...|__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_$$AutoValue_AutoValueWithExtensions (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|_|__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|__|__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|_|_1__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|autovalue.__...|__autovalue_$$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.$AutoValue_AutoValueWithExtensions [static fields] -(global $f_$initialized__autovalue_$AutoValue_AutoValueWithExtensions (mut i32) (i32.const 0)) -(global $f_$class__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|AutoValueWit...|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|_|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|_|_1__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|__stringFiel...|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|null|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|__|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|autovalue._A...|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_$AutoValue_AutoValueWithExtensions (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|AutoValueWit...|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|_|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|_|_1__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|__stringFiel...|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|null|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|__|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|autovalue._A...|__autovalue_$AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.$AutoValue_AutoValueWithFields [static fields] -(global $f_$initialized__autovalue_$AutoValue_AutoValueWithFields (mut i32) (i32.const 0)) -(global $f_$class__autovalue_$AutoValue_AutoValueWithFields (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue._A...|__autovalue_$AutoValue_AutoValueWithFields (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_$AutoValue_AutoValueWithFields (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_$AutoValue_AutoValueWithFields (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue._A...|__autovalue_$AutoValue_AutoValueWithFields (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueJsType [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueJsType (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueJsType (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueWithBuilder [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueWithBuilder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueWithBuilder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithBuilder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueWithBuilder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueWithBuilder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithBuilder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueWithBuilder.Builder [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueWithBuilder_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueWithBuilder_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueWithExtensions [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueWithExtensions (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueWithExtensions (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueWithFields [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueWithFields (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueWithFields (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithFields (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueWithFields (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueWithFields (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithFields (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueWithGenerics [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueWithGenerics (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueWithGenerics (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithGenerics (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueWithGenerics (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueWithGenerics (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithGenerics (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_AutoValueWithOverrides [static fields] -(global $f_$initialized__autovalue_AutoValue_AutoValueWithOverrides (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_AutoValueWithOverrides (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithOverrides (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_AutoValueWithOverrides (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_AutoValueWithOverrides (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_AutoValueWithOverrides (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_DefaultConstructorAutoValue [static fields] -(global $f_$initialized__autovalue_AutoValue_DefaultConstructorAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_DefaultConstructorAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultConstructorAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_DefaultConstructorAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_DefaultConstructorAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultConstructorAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_DefaultConstructorAutoValue.Builder [static fields] -(global $f_$initialized__autovalue_AutoValue_DefaultConstructorAutoValue_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_DefaultConstructorAutoValue_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_DefaultNonEmptyConstructorAutoValue [static fields] -(global $f_$initialized__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_DefaultNonEmptyConstructorAutoValue.Builder [static fields] -(global $f_$initialized__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_EmptyAutoValue [static fields] -(global $f_$initialized__autovalue_AutoValue_EmptyAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_EmptyAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|__|__autovalue_AutoValue_EmptyAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_EmptyAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_EmptyAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_EmptyAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|__|__autovalue_AutoValue_EmptyAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_EmptyAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_EmptyAutoValue.Builder [static fields] -(global $f_$initialized__autovalue_AutoValue_EmptyAutoValue_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_EmptyAutoValue_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_EmptyAutoValue_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_EmptyAutoValue_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_EmptyAutoValue_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_EmptyAutoValue_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_ExtendingAutoValue [static fields] -(global $f_$initialized__autovalue_AutoValue_ExtendingAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_ExtendingAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_ExtendingAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_ExtendingAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_ExtendingAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_ExtendingAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValue_SimpleAutoValue [static fields] -(global $f_$initialized__autovalue_AutoValue_SimpleAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValue_SimpleAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_SimpleAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValue_SimpleAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValue_SimpleAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValue_SimpleAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueJsType [static fields] -(global $f_$initialized__autovalue_AutoValueJsType (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueJsType (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueWithBuilder [static fields] -(global $f_$initialized__autovalue_AutoValueWithBuilder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueWithBuilder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithBuilder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueWithBuilder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueWithBuilder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithBuilder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueWithBuilder.Builder [static fields] -(global $f_$initialized__autovalue_AutoValueWithBuilder_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueWithBuilder_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithBuilder_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueWithExtensions [static fields] -(global $f_$initialized__autovalue_AutoValueWithExtensions (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|text|__autovalue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithExtensions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueWithExtensions (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueWithExtensions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|text|__autovalue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithExtensions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueWithFields [static fields] -(global $f_$initialized__autovalue_AutoValueWithFields (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueWithFields (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithFields (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueWithFields (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueWithFields (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithFields (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.Parent [static fields] -(global $f_$initialized__autovalue_Parent (mut i32) (i32.const 0)) -(global $f_$class__autovalue_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Pa...|__autovalue_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Pa...|__autovalue_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueWithGenerics [static fields] -(global $f_$initialized__autovalue_AutoValueWithGenerics (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueWithGenerics (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithGenerics (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueWithGenerics (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueWithGenerics (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithGenerics (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueWithOverrides [static fields] -(global $f_$initialized__autovalue_AutoValueWithOverrides (mut i32) (i32.const 0)) -(global $f_$class__autovalue_AutoValueWithOverrides (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|x|__autovalue_AutoValueWithOverrides (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithOverrides (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_AutoValueWithOverrides (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_AutoValueWithOverrides (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|x|__autovalue_AutoValueWithOverrides (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|autovalue.Au...|__autovalue_AutoValueWithOverrides (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.BaseClass [static fields] -(global $f_$initialized__autovalue_BaseClass (mut i32) (i32.const 0)) -(global $f_$class__autovalue_BaseClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Ba...|__autovalue_BaseClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_BaseClass (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_BaseClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Ba...|__autovalue_BaseClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.DefaultConstructorAutoValue [static fields] -(global $f_$initialized__autovalue_DefaultConstructorAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_DefaultConstructorAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.De...|__autovalue_DefaultConstructorAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_DefaultConstructorAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_DefaultConstructorAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.De...|__autovalue_DefaultConstructorAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.DefaultConstructorAutoValue.Builder [static fields] -(global $f_$initialized__autovalue_DefaultConstructorAutoValue_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.De...|__autovalue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_DefaultConstructorAutoValue_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.De...|__autovalue_DefaultConstructorAutoValue_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.DefaultNonEmptyConstructorAutoValue [static fields] -(global $f_$initialized__autovalue_DefaultNonEmptyConstructorAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.De...|__autovalue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_DefaultNonEmptyConstructorAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.De...|__autovalue_DefaultNonEmptyConstructorAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.DefaultNonEmptyConstructorAutoValue.Builder [static fields] -(global $f_$initialized__autovalue_DefaultNonEmptyConstructorAutoValue_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.De...|__autovalue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_DefaultNonEmptyConstructorAutoValue_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.De...|__autovalue_DefaultNonEmptyConstructorAutoValue_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.EmptyAutoValue [static fields] -(global $f_$initialized__autovalue_EmptyAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_EmptyAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Em...|__autovalue_EmptyAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_EmptyAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_EmptyAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Em...|__autovalue_EmptyAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.EmptyAutoValue.Builder [static fields] -(global $f_$initialized__autovalue_EmptyAutoValue_Builder (mut i32) (i32.const 0)) -(global $f_$class__autovalue_EmptyAutoValue_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Em...|__autovalue_EmptyAutoValue_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_EmptyAutoValue_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_EmptyAutoValue_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Em...|__autovalue_EmptyAutoValue_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.ExtendingAutoValue [static fields] -(global $f_$initialized__autovalue_ExtendingAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_ExtendingAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Ex...|__autovalue_ExtendingAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_ExtendingAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_ExtendingAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Ex...|__autovalue_ExtendingAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.SimpleAutoValue [static fields] -(global $f_$initialized__autovalue_SimpleAutoValue (mut i32) (i32.const 0)) -(global $f_$class__autovalue_SimpleAutoValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Si...|__autovalue_SimpleAutoValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_SimpleAutoValue (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_SimpleAutoValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Si...|__autovalue_SimpleAutoValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.SimpleAutoValue.GenericType [static fields] -(global $f_$initialized__autovalue_SimpleAutoValue_GenericType (mut i32) (i32.const 0)) -(global $f_$class__autovalue_SimpleAutoValue_GenericType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|autovalue.Si...|__autovalue_SimpleAutoValue_GenericType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__autovalue_SimpleAutoValue_GenericType (mut i32) + (i32.const 0) +) +(global $f_$class__autovalue_SimpleAutoValue_GenericType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|autovalue.Si...|__autovalue_SimpleAutoValue_GenericType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for autovalue.AutoValueJsType [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/blockscoping/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/blockscoping/output_wasm/module.wat.txt index 3eba272785..a1ed39e3c2 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/blockscoping/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/blockscoping/output_wasm/module.wat.txt @@ -30,9 +30,15 @@ ) ;;; Code for blockscoping.BlockScoping [static fields] -(global $f_$initialized__blockscoping_BlockScoping (mut i32) (i32.const 0)) -(global $f_$class__blockscoping_BlockScoping (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|blockscoping...|__blockscoping_BlockScoping (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__blockscoping_BlockScoping (mut i32) + (i32.const 0) +) +(global $f_$class__blockscoping_BlockScoping (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|blockscoping...|__blockscoping_BlockScoping (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for blockscoping.BlockScoping [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/booleanoperations/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/booleanoperations/output_wasm/module.wat.txt index 887101b203..b0d41b125c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/booleanoperations/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/booleanoperations/output_wasm/module.wat.txt @@ -85,19 +85,37 @@ ) ;;; Code for booleanoperations.BooleanOperations [static fields] -(global $f_$initialized__booleanoperations_BooleanOperations (mut i32) (i32.const 0)) -(global $f_$class__booleanoperations_BooleanOperations (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|booleanopera...|__booleanoperations_BooleanOperations (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__booleanoperations_BooleanOperations (mut i32) + (i32.const 0) +) +(global $f_$class__booleanoperations_BooleanOperations (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|booleanopera...|__booleanoperations_BooleanOperations (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for booleanoperations.BooleanOperations.1Outer.Inner [static fields] -(global $f_$initialized__booleanoperations_BooleanOperations_1Outer_Inner (mut i32) (i32.const 0)) -(global $f_$class__booleanoperations_BooleanOperations_1Outer_Inner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|booleanopera...|__booleanoperations_BooleanOperations_1Outer_Inner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__booleanoperations_BooleanOperations_1Outer_Inner (mut i32) + (i32.const 0) +) +(global $f_$class__booleanoperations_BooleanOperations_1Outer_Inner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|booleanopera...|__booleanoperations_BooleanOperations_1Outer_Inner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for booleanoperations.BooleanOperations.1Outer [static fields] -(global $f_$initialized__booleanoperations_BooleanOperations_1Outer (mut i32) (i32.const 0)) -(global $f_$class__booleanoperations_BooleanOperations_1Outer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|booleanopera...|__booleanoperations_BooleanOperations_1Outer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__booleanoperations_BooleanOperations_1Outer (mut i32) + (i32.const 0) +) +(global $f_$class__booleanoperations_BooleanOperations_1Outer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|booleanopera...|__booleanoperations_BooleanOperations_1Outer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for booleanoperations.BooleanOperations [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/boundedtypesupercall/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/boundedtypesupercall/output_wasm/module.wat.txt index 04f8597df6..181c5f9436 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/boundedtypesupercall/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/boundedtypesupercall/output_wasm/module.wat.txt @@ -104,24 +104,48 @@ ) ;;; Code for boundedtypesupercall.Main [static fields] -(global $f_$initialized__boundedtypesupercall_Main (mut i32) (i32.const 0)) -(global $f_$class__boundedtypesupercall_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__boundedtypesupercall_Main (mut i32) + (i32.const 0) +) +(global $f_$class__boundedtypesupercall_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for boundedtypesupercall.Main.Foo [static fields] -(global $f_$initialized__boundedtypesupercall_Main_Foo (mut i32) (i32.const 0)) -(global $f_$class__boundedtypesupercall_Main_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__boundedtypesupercall_Main_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__boundedtypesupercall_Main_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for boundedtypesupercall.Main.Bar.1 [static fields] -(global $f_$initialized__boundedtypesupercall_Main_Bar_1 (mut i32) (i32.const 0)) -(global $f_$class__boundedtypesupercall_Main_Bar_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main_Bar_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__boundedtypesupercall_Main_Bar_1 (mut i32) + (i32.const 0) +) +(global $f_$class__boundedtypesupercall_Main_Bar_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main_Bar_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for boundedtypesupercall.Main.Bar [static fields] -(global $f_$initialized__boundedtypesupercall_Main_Bar (mut i32) (i32.const 0)) -(global $f_$class__boundedtypesupercall_Main_Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main_Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__boundedtypesupercall_Main_Bar (mut i32) + (i32.const 0) +) +(global $f_$class__boundedtypesupercall_Main_Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|boundedtypes...|__boundedtypesupercall_Main_Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for boundedtypesupercall.Main [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/boundedtypevariable/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/boundedtypevariable/output_wasm/module.wat.txt index ec8b61a12a..6acfe31c40 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/boundedtypevariable/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/boundedtypevariable/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for boundedtypevariable.BoundedTypeVariable [static fields] -(global $f_$initialized__boundedtypevariable_BoundedTypeVariable (mut i32) (i32.const 0)) -(global $f_$class__boundedtypevariable_BoundedTypeVariable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|boundedtypev...|__boundedtypevariable_BoundedTypeVariable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__boundedtypevariable_BoundedTypeVariable (mut i32) + (i32.const 0) +) +(global $f_$class__boundedtypevariable_BoundedTypeVariable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|boundedtypev...|__boundedtypevariable_BoundedTypeVariable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for boundedtypevariable.BoundedTypeVariable [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/breakstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/breakstatement/output_wasm/module.wat.txt index 9c5bbb0e64..004dfcc1b7 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/breakstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/breakstatement/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for breakstatement.BreakStatement [static fields] -(global $f_$initialized__breakstatement_BreakStatement (mut i32) (i32.const 0)) -(global $f_$class__breakstatement_BreakStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|breakstateme...|__breakstatement_BreakStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__breakstatement_BreakStatement (mut i32) + (i32.const 0) +) +(global $f_$class__breakstatement_BreakStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|breakstateme...|__breakstatement_BreakStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for breakstatement.BreakStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/bridgejsmethod/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/bridgejsmethod/output_wasm/module.wat.txt index a279a2ef55..29d9afd0ea 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/bridgejsmethod/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/bridgejsmethod/output_wasm/module.wat.txt @@ -568,20 +568,23 @@ ) ;;; Code for bridgejsmethod.Main.D [itable.init] -(global $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.D (ref $bridgejsmethod.Main.I.vtable) + +(global $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.D (ref $bridgejsmethod.Main.I.vtable) (struct.new $bridgejsmethod.Main.I.vtable (ref.func $m_fun__java_lang_Number__java_lang_Number@bridgejsmethod.Main.D) ) +) +(global $bridgejsmethod.Main.D.itable (ref $bridgejsmethod.Main.D.itable) + (struct.new $bridgejsmethod.Main.D.itable + (global.get $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.D) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgejsmethod.Main.D.itable (ref $bridgejsmethod.Main.D.itable) (struct.new $bridgejsmethod.Main.D.itable - (global.get $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.D) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgejsmethod.Main.E [vtable.init] (global $bridgejsmethod.Main.E.vtable (ref $bridgejsmethod.Main.E.vtable) @@ -599,20 +602,23 @@ ) ;;; Code for bridgejsmethod.Main.E [itable.init] -(global $bridgejsmethod.Main.J.vtable@$bridgejsmethod.Main.E (ref $bridgejsmethod.Main.J.vtable) + +(global $bridgejsmethod.Main.J.vtable@$bridgejsmethod.Main.E (ref $bridgejsmethod.Main.J.vtable) (struct.new $bridgejsmethod.Main.J.vtable (ref.func $m_bar__java_lang_Object__void@bridgejsmethod.Main.B) ) +) +(global $bridgejsmethod.Main.E.itable (ref $bridgejsmethod.Main.E.itable) + (struct.new $bridgejsmethod.Main.E.itable + (global.get $bridgejsmethod.Main.J.vtable@$bridgejsmethod.Main.E) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgejsmethod.Main.E.itable (ref $bridgejsmethod.Main.E.itable) (struct.new $bridgejsmethod.Main.E.itable - (global.get $bridgejsmethod.Main.J.vtable@$bridgejsmethod.Main.E) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgejsmethod.Main.F [vtable.init] (global $bridgejsmethod.Main.F.vtable (ref $bridgejsmethod.Main.F.vtable) @@ -630,20 +636,23 @@ ) ;;; Code for bridgejsmethod.Main.F [itable.init] -(global $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.F (ref $bridgejsmethod.Main.I.vtable) + +(global $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.F (ref $bridgejsmethod.Main.I.vtable) (struct.new $bridgejsmethod.Main.I.vtable (ref.func $m_fun__java_lang_Number__java_lang_Number@bridgejsmethod.Main.F) ) +) +(global $bridgejsmethod.Main.F.itable (ref $bridgejsmethod.Main.F.itable) + (struct.new $bridgejsmethod.Main.F.itable + (global.get $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.F) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgejsmethod.Main.F.itable (ref $bridgejsmethod.Main.F.itable) (struct.new $bridgejsmethod.Main.F.itable - (global.get $bridgejsmethod.Main.I.vtable@$bridgejsmethod.Main.F) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgejsmethod.Main.H [vtable.init] (global $bridgejsmethod.Main.H.vtable (ref $bridgejsmethod.Main.H.vtable) @@ -658,20 +667,23 @@ ) ;;; Code for bridgejsmethod.Main.H [itable.init] -(global $bridgejsmethod.Main.G.vtable@$bridgejsmethod.Main.H (ref $bridgejsmethod.Main.G.vtable) + +(global $bridgejsmethod.Main.G.vtable@$bridgejsmethod.Main.H (ref $bridgejsmethod.Main.G.vtable) (struct.new $bridgejsmethod.Main.G.vtable (ref.func $m_enclose__java_lang_Object__java_lang_Object@bridgejsmethod.Main.H) ) +) +(global $bridgejsmethod.Main.H.itable (ref $bridgejsmethod.Main.H.itable) + (struct.new $bridgejsmethod.Main.H.itable + (global.get $bridgejsmethod.Main.G.vtable@$bridgejsmethod.Main.H) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgejsmethod.Main.H.itable (ref $bridgejsmethod.Main.H.itable) (struct.new $bridgejsmethod.Main.H.itable - (global.get $bridgejsmethod.Main.G.vtable@$bridgejsmethod.Main.H) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgejsmethod.Main.K [vtable.init] (global $bridgejsmethod.Main.K.vtable (ref $bridgejsmethod.Main.K.vtable) @@ -711,20 +723,23 @@ ) ;;; Code for bridgejsmethod.Main.O [itable.init] -(global $bridgejsmethod.Main.M.vtable@$bridgejsmethod.Main.O (ref $bridgejsmethod.Main.M.vtable) + +(global $bridgejsmethod.Main.M.vtable@$bridgejsmethod.Main.O (ref $bridgejsmethod.Main.M.vtable) (struct.new $bridgejsmethod.Main.M.vtable (ref.func $m_getB__bridgejsmethod_Main_B@bridgejsmethod.Main.O) ) +) +(global $bridgejsmethod.Main.O.itable (ref $bridgejsmethod.Main.O.itable) + (struct.new $bridgejsmethod.Main.O.itable + (global.get $bridgejsmethod.Main.M.vtable@$bridgejsmethod.Main.O) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgejsmethod.Main.O.itable (ref $bridgejsmethod.Main.O.itable) (struct.new $bridgejsmethod.Main.O.itable - (global.get $bridgejsmethod.Main.M.vtable@$bridgejsmethod.Main.O) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgejsmethod.Main.S [vtable.init] (global $bridgejsmethod.Main.S.vtable (ref $bridgejsmethod.Main.S.vtable) @@ -739,20 +754,23 @@ ) ;;; Code for bridgejsmethod.Main.S [itable.init] -(global $bridgejsmethod.Main.P.vtable@$bridgejsmethod.Main.S (ref $bridgejsmethod.Main.P.vtable) + +(global $bridgejsmethod.Main.P.vtable@$bridgejsmethod.Main.S (ref $bridgejsmethod.Main.P.vtable) (struct.new $bridgejsmethod.Main.P.vtable (ref.func $m_getKey__java_lang_String@bridgejsmethod.Main.R) ) +) +(global $bridgejsmethod.Main.S.itable (ref $bridgejsmethod.Main.S.itable) + (struct.new $bridgejsmethod.Main.S.itable + (global.get $bridgejsmethod.Main.P.vtable@$bridgejsmethod.Main.S) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgejsmethod.Main.S.itable (ref $bridgejsmethod.Main.S.itable) (struct.new $bridgejsmethod.Main.S.itable - (global.get $bridgejsmethod.Main.P.vtable@$bridgejsmethod.Main.S) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgejsmethod.Main.GrandParent [vtable.init] (global $bridgejsmethod.Main.GrandParent.vtable (ref $bridgejsmethod.Main.GrandParent.vtable) @@ -829,131 +847,285 @@ ) ;;; Code for bridgejsmethod.Main [static fields] -(global $f_$initialized__bridgejsmethod_Main (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|abc|__bridgejsmethod_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|foo|__bridgejsmethod_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|abc|__bridgejsmethod_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|foo|__bridgejsmethod_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.A [static fields] -(global $f_$initialized__bridgejsmethod_Main_A (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_A (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.I [static fields] -(global $f_$initialized__bridgejsmethod_Main_I (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_I (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.J [static fields] -(global $f_$initialized__bridgejsmethod_Main_J (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_J (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_J (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_J (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_J (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_J (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.B [static fields] -(global $f_$initialized__bridgejsmethod_Main_B (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_B (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.C [static fields] -(global $f_$initialized__bridgejsmethod_Main_C (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_C (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.D [static fields] -(global $f_$initialized__bridgejsmethod_Main_D (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_D (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_D (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_D (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_D (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_D (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.E [static fields] -(global $f_$initialized__bridgejsmethod_Main_E (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_E (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_E (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_E (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_E (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_E (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.F [static fields] -(global $f_$initialized__bridgejsmethod_Main_F (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_F (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_F (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_F (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_F (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_F (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.G [static fields] -(global $f_$initialized__bridgejsmethod_Main_G (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_G (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_G (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_G (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_G (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_G (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.H [static fields] -(global $f_$initialized__bridgejsmethod_Main_H (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_H (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_H (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_H (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_H (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_H (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.K [static fields] -(global $f_$initialized__bridgejsmethod_Main_K (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_K (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_K (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_K (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_K (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_K (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.L [static fields] -(global $f_$initialized__bridgejsmethod_Main_L (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_L (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_L (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_L (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_L (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_L (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.M [static fields] -(global $f_$initialized__bridgejsmethod_Main_M (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_M (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_M (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_M (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_M (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_M (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.N [static fields] -(global $f_$initialized__bridgejsmethod_Main_N (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_N (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_N (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_N (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_N (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_N (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.O [static fields] -(global $f_$initialized__bridgejsmethod_Main_O (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_O (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_O (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_O (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_O (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_O (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.P [static fields] -(global $f_$initialized__bridgejsmethod_Main_P (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_P (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_P (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_P (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_P (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_P (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.Q [static fields] -(global $f_$initialized__bridgejsmethod_Main_Q (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_Q (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_Q (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_Q (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_Q (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_Q (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.R [static fields] -(global $f_$initialized__bridgejsmethod_Main_R (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_R (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_R (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_R (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_R (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_R (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.S [static fields] -(global $f_$initialized__bridgejsmethod_Main_S (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_S (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_S (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_S (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_S (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_S (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.GrandParent [static fields] -(global $f_$initialized__bridgejsmethod_Main_GrandParent (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_GrandParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_GrandParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_GrandParent (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_GrandParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_GrandParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.Parent [static fields] -(global $f_$initialized__bridgejsmethod_Main_Parent (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.ChildWithoutOverrides [static fields] -(global $f_$initialized__bridgejsmethod_Main_ChildWithoutOverrides (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_ChildWithoutOverrides (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_ChildWithoutOverrides (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_ChildWithoutOverrides (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_ChildWithoutOverrides (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_ChildWithoutOverrides (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.ChildWithOverrides [static fields] -(global $f_$initialized__bridgejsmethod_Main_ChildWithOverrides (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_ChildWithOverrides (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_ChildWithOverrides (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_ChildWithOverrides (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_ChildWithOverrides (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_ChildWithOverrides (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.ChildWithRenamedOverride [static fields] -(global $f_$initialized__bridgejsmethod_Main_ChildWithRenamedOverride (mut i32) (i32.const 0)) -(global $f_$class__bridgejsmethod_Main_ChildWithRenamedOverride (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_ChildWithRenamedOverride (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgejsmethod_Main_ChildWithRenamedOverride (mut i32) + (i32.const 0) +) +(global $f_$class__bridgejsmethod_Main_ChildWithRenamedOverride (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgejsmeth...|__bridgejsmethod_Main_ChildWithRenamedOverride (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgejsmethod.Main.I [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/bridgemethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/bridgemethods/output_wasm/module.wat.txt index 5fe6571e2f..66cccd73ff 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/bridgemethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/bridgemethods/output_wasm/module.wat.txt @@ -820,20 +820,23 @@ ) ;;; Code for bridgemethods.B [itable.init] -(global $bridgemethods.I.vtable@$bridgemethods.B (ref $bridgemethods.I.vtable) + +(global $bridgemethods.I.vtable@$bridgemethods.B (ref $bridgemethods.I.vtable) (struct.new $bridgemethods.I.vtable (ref.func $m_fun__java_lang_Object__java_lang_Object@bridgemethods.B) ) +) +(global $bridgemethods.B.itable (ref $bridgemethods.B.itable) + (struct.new $bridgemethods.B.itable + (global.get $bridgemethods.I.vtable@$bridgemethods.B) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.B.itable (ref $bridgemethods.B.itable) (struct.new $bridgemethods.B.itable - (global.get $bridgemethods.I.vtable@$bridgemethods.B) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.AccidentalOverride [vtable.init] (global $bridgemethods.AccidentalOverride.vtable (ref $bridgemethods.AccidentalOverride.vtable) @@ -851,21 +854,24 @@ ) ;;; Code for bridgemethods.AccidentalOverride [itable.init] -(global $bridgemethods.SpecializedInterface.vtable@$bridgemethods.AccidentalOverride (ref $bridgemethods.SpecializedInterface.vtable) + +(global $bridgemethods.SpecializedInterface.vtable@$bridgemethods.AccidentalOverride (ref $bridgemethods.SpecializedInterface.vtable) (struct.new $bridgemethods.SpecializedInterface.vtable (ref.func $m_fun__java_lang_String__java_lang_String@bridgemethods.AccidentalOverride) (ref.func $m_get__java_lang_String@bridgemethods.AccidentalOverride) ) +) +(global $bridgemethods.AccidentalOverride.itable (ref $bridgemethods.AccidentalOverride.itable) + (struct.new $bridgemethods.AccidentalOverride.itable + (global.get $bridgemethods.SpecializedInterface.vtable@$bridgemethods.AccidentalOverride) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.AccidentalOverride.itable (ref $bridgemethods.AccidentalOverride.itable) (struct.new $bridgemethods.AccidentalOverride.itable - (global.get $bridgemethods.SpecializedInterface.vtable@$bridgemethods.AccidentalOverride) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.SuperParent [vtable.init] (global $bridgemethods.SuperParent.vtable (ref $bridgemethods.SuperParent.vtable) @@ -913,21 +919,24 @@ ) ;;; Code for bridgemethods.BridgeMethod [itable.init] -(global $bridgemethods.SomeInterface.vtable@$bridgemethods.BridgeMethod (ref $bridgemethods.SomeInterface.vtable) + +(global $bridgemethods.SomeInterface.vtable@$bridgemethods.BridgeMethod (ref $bridgemethods.SomeInterface.vtable) (struct.new $bridgemethods.SomeInterface.vtable (ref.func $m_foo__java_lang_Object__java_lang_Object__void@bridgemethods.Parent) (ref.func $m_foo__java_lang_Object__java_lang_Number__void@bridgemethods.BridgeMethod) ) +) +(global $bridgemethods.BridgeMethod.itable (ref $bridgemethods.BridgeMethod.itable) + (struct.new $bridgemethods.BridgeMethod.itable + (global.get $bridgemethods.SomeInterface.vtable@$bridgemethods.BridgeMethod) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.BridgeMethod.itable (ref $bridgemethods.BridgeMethod.itable) (struct.new $bridgemethods.BridgeMethod.itable - (global.get $bridgemethods.SomeInterface.vtable@$bridgemethods.BridgeMethod) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.DualUnrelatedBridges [vtable.init] (global $bridgemethods.DualUnrelatedBridges.vtable (ref $bridgemethods.DualUnrelatedBridges.vtable) @@ -946,25 +955,29 @@ ) ;;; Code for bridgemethods.DualUnrelatedBridges [itable.init] -(global $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedBridges (ref $bridgemethods.SomeInterface.vtable) + +(global $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedBridges (ref $bridgemethods.SomeInterface.vtable) (struct.new $bridgemethods.SomeInterface.vtable (ref.func $m_foo__java_lang_Object__java_lang_Object__void@bridgemethods.DualUnrelatedBridges) (ref.func $m_foo__java_lang_Object__java_lang_Number__void@bridgemethods.DualUnrelatedBridges) ) - )(global $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedBridges (ref $bridgemethods.SomeOtherFooInterface.vtable) +) +(global $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedBridges (ref $bridgemethods.SomeOtherFooInterface.vtable) (struct.new $bridgemethods.SomeOtherFooInterface.vtable (ref.func $m_foo__java_lang_Object__java_lang_Double__void@bridgemethods.DualUnrelatedBridges) ) +) +(global $bridgemethods.DualUnrelatedBridges.itable (ref $bridgemethods.DualUnrelatedBridges.itable) + (struct.new $bridgemethods.DualUnrelatedBridges.itable + (global.get $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedBridges) + (global.get $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedBridges) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.DualUnrelatedBridges.itable (ref $bridgemethods.DualUnrelatedBridges.itable) (struct.new $bridgemethods.DualUnrelatedBridges.itable - (global.get $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedBridges) - (global.get $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedBridges) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.SuperDualUnrelatedAccidentalBridges [vtable.init] (global $bridgemethods.SuperDualUnrelatedAccidentalBridges.vtable (ref $bridgemethods.SuperDualUnrelatedAccidentalBridges.vtable) @@ -996,25 +1009,29 @@ ) ;;; Code for bridgemethods.DualUnrelatedAccidentalBridges [itable.init] -(global $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges (ref $bridgemethods.SomeInterface.vtable) + +(global $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges (ref $bridgemethods.SomeInterface.vtable) (struct.new $bridgemethods.SomeInterface.vtable (ref.func $m_foo__java_lang_Object__java_lang_Object__void@bridgemethods.DualUnrelatedAccidentalBridges) (ref.func $m_foo__java_lang_Object__java_lang_Number__void@bridgemethods.DualUnrelatedAccidentalBridges) ) - )(global $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges (ref $bridgemethods.SomeOtherFooInterface.vtable) +) +(global $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges (ref $bridgemethods.SomeOtherFooInterface.vtable) (struct.new $bridgemethods.SomeOtherFooInterface.vtable (ref.func $m_foo__java_lang_Object__java_lang_Double__void@bridgemethods.DualUnrelatedAccidentalBridges) ) +) +(global $bridgemethods.DualUnrelatedAccidentalBridges.itable (ref $bridgemethods.DualUnrelatedAccidentalBridges.itable) + (struct.new $bridgemethods.DualUnrelatedAccidentalBridges.itable + (global.get $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges) + (global.get $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.DualUnrelatedAccidentalBridges.itable (ref $bridgemethods.DualUnrelatedAccidentalBridges.itable) (struct.new $bridgemethods.DualUnrelatedAccidentalBridges.itable - (global.get $bridgemethods.SomeInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges) - (global.get $bridgemethods.SomeOtherFooInterface.vtable@$bridgemethods.DualUnrelatedAccidentalBridges) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.ClassWithParameterizedGet [vtable.init] (global $bridgemethods.ClassWithParameterizedGet.vtable (ref $bridgemethods.ClassWithParameterizedGet.vtable) @@ -1043,20 +1060,23 @@ ) ;;; Code for bridgemethods.AccidentalOverrideBridge [itable.init] -(global $bridgemethods.Getter.vtable@$bridgemethods.AccidentalOverrideBridge (ref $bridgemethods.Getter.vtable) + +(global $bridgemethods.Getter.vtable@$bridgemethods.AccidentalOverrideBridge (ref $bridgemethods.Getter.vtable) (struct.new $bridgemethods.Getter.vtable (ref.func $m_get__java_lang_String__java_lang_String@bridgemethods.AccidentalOverrideBridge) ) +) +(global $bridgemethods.AccidentalOverrideBridge.itable (ref $bridgemethods.AccidentalOverrideBridge.itable) + (struct.new $bridgemethods.AccidentalOverrideBridge.itable + (global.get $bridgemethods.Getter.vtable@$bridgemethods.AccidentalOverrideBridge) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.AccidentalOverrideBridge.itable (ref $bridgemethods.AccidentalOverrideBridge.itable) (struct.new $bridgemethods.AccidentalOverrideBridge.itable - (global.get $bridgemethods.Getter.vtable@$bridgemethods.AccidentalOverrideBridge) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.TestCase10036 [vtable.init] (global $bridgemethods.TestCase10036.vtable (ref $bridgemethods.TestCase10036.vtable) @@ -1144,20 +1164,23 @@ ) ;;; Code for bridgemethods.StringConsumerImpl [itable.init] -(global $bridgemethods.StringConsumer.vtable@$bridgemethods.StringConsumerImpl (ref $bridgemethods.StringConsumer.vtable) + +(global $bridgemethods.StringConsumer.vtable@$bridgemethods.StringConsumerImpl (ref $bridgemethods.StringConsumer.vtable) (struct.new $bridgemethods.StringConsumer.vtable (ref.func $m_accept__java_lang_String__void@bridgemethods.StringConsumerImpl) ) +) +(global $bridgemethods.StringConsumerImpl.itable (ref $bridgemethods.StringConsumerImpl.itable) + (struct.new $bridgemethods.StringConsumerImpl.itable + (global.get $bridgemethods.StringConsumer.vtable@$bridgemethods.StringConsumerImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.StringConsumerImpl.itable (ref $bridgemethods.StringConsumerImpl.itable) (struct.new $bridgemethods.StringConsumerImpl.itable - (global.get $bridgemethods.StringConsumer.vtable@$bridgemethods.StringConsumerImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.TestCase102.C [vtable.init] (global $bridgemethods.TestCase102.C.vtable (ref $bridgemethods.TestCase102.C.vtable) @@ -1173,24 +1196,28 @@ ) ;;; Code for bridgemethods.TestCase102.C [itable.init] -(global $bridgemethods.TestCase102.BI1.vtable@$bridgemethods.TestCase102.C (ref $bridgemethods.TestCase102.BI1.vtable) + +(global $bridgemethods.TestCase102.BI1.vtable@$bridgemethods.TestCase102.C (ref $bridgemethods.TestCase102.BI1.vtable) (struct.new $bridgemethods.TestCase102.BI1.vtable (ref.func $m_set__java_lang_String__void@bridgemethods.TestCase102.C) ) - )(global $bridgemethods.TestCase102.BI2.vtable@$bridgemethods.TestCase102.C (ref $bridgemethods.TestCase102.BI2.vtable) +) +(global $bridgemethods.TestCase102.BI2.vtable@$bridgemethods.TestCase102.C (ref $bridgemethods.TestCase102.BI2.vtable) (struct.new $bridgemethods.TestCase102.BI2.vtable (ref.func $m_set__java_lang_String__void@bridgemethods.TestCase102.C) ) +) +(global $bridgemethods.TestCase102.C.itable (ref $bridgemethods.TestCase102.C.itable) + (struct.new $bridgemethods.TestCase102.C.itable + (global.get $bridgemethods.TestCase102.BI1.vtable@$bridgemethods.TestCase102.C) + (global.get $bridgemethods.TestCase102.BI2.vtable@$bridgemethods.TestCase102.C) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.TestCase102.C.itable (ref $bridgemethods.TestCase102.C.itable) (struct.new $bridgemethods.TestCase102.C.itable - (global.get $bridgemethods.TestCase102.BI1.vtable@$bridgemethods.TestCase102.C) - (global.get $bridgemethods.TestCase102.BI2.vtable@$bridgemethods.TestCase102.C) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.BridgeMethodDefault [vtable.init] (global $bridgemethods.BridgeMethodDefault.vtable (ref $bridgemethods.BridgeMethodDefault.vtable) @@ -1217,24 +1244,28 @@ ) ;;; Code for bridgemethods.BridgeMethodDefault.A [itable.init] -(global $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.A (ref $bridgemethods.BridgeMethodDefault.I.vtable) + +(global $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.A (ref $bridgemethods.BridgeMethodDefault.I.vtable) (struct.new $bridgemethods.BridgeMethodDefault.I.vtable (ref.func $m_m__java_lang_Object__void@bridgemethods.BridgeMethodDefault.A) ) - )(global $bridgemethods.BridgeMethodDefault.II.vtable@$bridgemethods.BridgeMethodDefault.A (ref $bridgemethods.BridgeMethodDefault.II.vtable) +) +(global $bridgemethods.BridgeMethodDefault.II.vtable@$bridgemethods.BridgeMethodDefault.A (ref $bridgemethods.BridgeMethodDefault.II.vtable) (struct.new $bridgemethods.BridgeMethodDefault.II.vtable (ref.func $m_m__java_lang_String__void@bridgemethods.BridgeMethodDefault.A) ) +) +(global $bridgemethods.BridgeMethodDefault.A.itable (ref $bridgemethods.BridgeMethodDefault.A.itable) + (struct.new $bridgemethods.BridgeMethodDefault.A.itable + (global.get $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.A) + (global.get $bridgemethods.BridgeMethodDefault.II.vtable@$bridgemethods.BridgeMethodDefault.A) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.BridgeMethodDefault.A.itable (ref $bridgemethods.BridgeMethodDefault.A.itable) (struct.new $bridgemethods.BridgeMethodDefault.A.itable - (global.get $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.A) - (global.get $bridgemethods.BridgeMethodDefault.II.vtable@$bridgemethods.BridgeMethodDefault.A) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.BridgeMethodDefault.B [vtable.init] (global $bridgemethods.BridgeMethodDefault.B.vtable (ref $bridgemethods.BridgeMethodDefault.B.vtable) @@ -1249,24 +1280,28 @@ ) ;;; Code for bridgemethods.BridgeMethodDefault.B [itable.init] -(global $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.B (ref $bridgemethods.BridgeMethodDefault.I.vtable) + +(global $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.B (ref $bridgemethods.BridgeMethodDefault.I.vtable) (struct.new $bridgemethods.BridgeMethodDefault.I.vtable (ref.func $m_m__java_lang_Object__void@bridgemethods.BridgeMethodDefault.B) ) - )(global $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.B (ref $bridgemethods.BridgeMethodDefault.JJ.vtable) +) +(global $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.B (ref $bridgemethods.BridgeMethodDefault.JJ.vtable) (struct.new $bridgemethods.BridgeMethodDefault.JJ.vtable (ref.func $m_m__java_lang_Object__void@bridgemethods.BridgeMethodDefault.B) ) +) +(global $bridgemethods.BridgeMethodDefault.B.itable (ref $bridgemethods.BridgeMethodDefault.B.itable) + (struct.new $bridgemethods.BridgeMethodDefault.B.itable + (global.get $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.B) + (global.get $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.B) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.BridgeMethodDefault.B.itable (ref $bridgemethods.BridgeMethodDefault.B.itable) (struct.new $bridgemethods.BridgeMethodDefault.B.itable - (global.get $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.B) - (global.get $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.B) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.BridgeMethodDefault.C [vtable.init] (global $bridgemethods.BridgeMethodDefault.C.vtable (ref $bridgemethods.BridgeMethodDefault.C.vtable) @@ -1281,24 +1316,28 @@ ) ;;; Code for bridgemethods.BridgeMethodDefault.C [itable.init] -(global $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.C (ref $bridgemethods.BridgeMethodDefault.I.vtable) + +(global $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.C (ref $bridgemethods.BridgeMethodDefault.I.vtable) (struct.new $bridgemethods.BridgeMethodDefault.I.vtable (ref.func $m_m__java_lang_Object__void@bridgemethods.BridgeMethodDefault.C) ) - )(global $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.C (ref $bridgemethods.BridgeMethodDefault.JJ.vtable) +) +(global $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.C (ref $bridgemethods.BridgeMethodDefault.JJ.vtable) (struct.new $bridgemethods.BridgeMethodDefault.JJ.vtable (ref.func $m_m__java_lang_Object__void@bridgemethods.BridgeMethodDefault.C) ) +) +(global $bridgemethods.BridgeMethodDefault.C.itable (ref $bridgemethods.BridgeMethodDefault.C.itable) + (struct.new $bridgemethods.BridgeMethodDefault.C.itable + (global.get $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.C) + (global.get $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.C) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.BridgeMethodDefault.C.itable (ref $bridgemethods.BridgeMethodDefault.C.itable) (struct.new $bridgemethods.BridgeMethodDefault.C.itable - (global.get $bridgemethods.BridgeMethodDefault.I.vtable@$bridgemethods.BridgeMethodDefault.C) - (global.get $bridgemethods.BridgeMethodDefault.JJ.vtable@$bridgemethods.BridgeMethodDefault.C) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.BridgeMethodShadowedSignature [vtable.init] (global $bridgemethods.BridgeMethodShadowedSignature.vtable (ref $bridgemethods.BridgeMethodShadowedSignature.vtable) @@ -1325,20 +1364,23 @@ ) ;;; Code for bridgemethods.BridgeMethodShadowedSignature.C [itable.init] -(global $bridgemethods.BridgeMethodShadowedSignature.I.vtable@$bridgemethods.BridgeMethodShadowedSignature.C (ref $bridgemethods.BridgeMethodShadowedSignature.I.vtable) + +(global $bridgemethods.BridgeMethodShadowedSignature.I.vtable@$bridgemethods.BridgeMethodShadowedSignature.C (ref $bridgemethods.BridgeMethodShadowedSignature.I.vtable) (struct.new $bridgemethods.BridgeMethodShadowedSignature.I.vtable (ref.func $m_get__java_util_function_Consumer__java_lang_String@bridgemethods.BridgeMethodShadowedSignature.C) ) +) +(global $bridgemethods.BridgeMethodShadowedSignature.C.itable (ref $bridgemethods.BridgeMethodShadowedSignature.C.itable) + (struct.new $bridgemethods.BridgeMethodShadowedSignature.C.itable + (global.get $bridgemethods.BridgeMethodShadowedSignature.I.vtable@$bridgemethods.BridgeMethodShadowedSignature.C) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.BridgeMethodShadowedSignature.C.itable (ref $bridgemethods.BridgeMethodShadowedSignature.C.itable) (struct.new $bridgemethods.BridgeMethodShadowedSignature.C.itable - (global.get $bridgemethods.BridgeMethodShadowedSignature.I.vtable@$bridgemethods.BridgeMethodShadowedSignature.C) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.AbstractMap [vtable.init] (global $bridgemethods.AbstractMap.vtable (ref $bridgemethods.AbstractMap.vtable) @@ -1353,20 +1395,23 @@ ) ;;; Code for bridgemethods.AbstractMap [itable.init] -(global $bridgemethods.Map.vtable@$bridgemethods.AbstractMap (ref $bridgemethods.Map.vtable) + +(global $bridgemethods.Map.vtable@$bridgemethods.AbstractMap (ref $bridgemethods.Map.vtable) (struct.new $bridgemethods.Map.vtable (ref.func $m_put__java_lang_Object__java_lang_Object__java_lang_Object@bridgemethods.AbstractMap) ) +) +(global $bridgemethods.AbstractMap.itable (ref $bridgemethods.AbstractMap.itable) + (struct.new $bridgemethods.AbstractMap.itable + (global.get $bridgemethods.Map.vtable@$bridgemethods.AbstractMap) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.AbstractMap.itable (ref $bridgemethods.AbstractMap.itable) (struct.new $bridgemethods.AbstractMap.itable - (global.get $bridgemethods.Map.vtable@$bridgemethods.AbstractMap) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.EnumMap [vtable.init] (global $bridgemethods.EnumMap.vtable (ref $bridgemethods.EnumMap.vtable) @@ -1382,252 +1427,535 @@ ) ;;; Code for bridgemethods.EnumMap [itable.init] -(global $bridgemethods.Map.vtable@$bridgemethods.EnumMap (ref $bridgemethods.Map.vtable) + +(global $bridgemethods.Map.vtable@$bridgemethods.EnumMap (ref $bridgemethods.Map.vtable) (struct.new $bridgemethods.Map.vtable (ref.func $m_put__java_lang_Object__java_lang_Object__java_lang_Object@bridgemethods.EnumMap) ) +) +(global $bridgemethods.EnumMap.itable (ref $bridgemethods.EnumMap.itable) + (struct.new $bridgemethods.EnumMap.itable + (global.get $bridgemethods.Map.vtable@$bridgemethods.EnumMap) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $bridgemethods.EnumMap.itable (ref $bridgemethods.EnumMap.itable) (struct.new $bridgemethods.EnumMap.itable - (global.get $bridgemethods.Map.vtable@$bridgemethods.EnumMap) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for bridgemethods.I [static fields] -(global $f_$initialized__bridgemethods_I (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethods.I|__bridgemethods_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_I (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethods.I|__bridgemethods_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.A [static fields] -(global $f_$initialized__bridgemethods_A (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethods.A|__bridgemethods_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_A (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethods.A|__bridgemethods_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.B [static fields] -(global $f_$initialized__bridgemethods_B (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethods.B|__bridgemethods_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_B (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethods.B|__bridgemethods_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.SpecializedInterface [static fields] -(global $f_$initialized__bridgemethods_SpecializedInterface (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_SpecializedInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_SpecializedInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_SpecializedInterface (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_SpecializedInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_SpecializedInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.AccidentalOverride [static fields] -(global $f_$initialized__bridgemethods_AccidentalOverride (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_AccidentalOverride (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_AccidentalOverride (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_AccidentalOverride (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_AccidentalOverride (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_AccidentalOverride (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.SomeInterface [static fields] -(global $f_$initialized__bridgemethods_SomeInterface (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_SomeInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_SomeInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_SomeInterface (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_SomeInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_SomeInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.SuperParent [static fields] -(global $f_$initialized__bridgemethods_SuperParent (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_SuperParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_SuperParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_SuperParent (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_SuperParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_SuperParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.Parent [static fields] -(global $f_$initialized__bridgemethods_Parent (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethod [static fields] -(global $f_$initialized__bridgemethods_BridgeMethod (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethod (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.SomeOtherFooInterface [static fields] -(global $f_$initialized__bridgemethods_SomeOtherFooInterface (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_SomeOtherFooInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_SomeOtherFooInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_SomeOtherFooInterface (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_SomeOtherFooInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_SomeOtherFooInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.DualUnrelatedBridges [static fields] -(global $f_$initialized__bridgemethods_DualUnrelatedBridges (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_DualUnrelatedBridges (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_DualUnrelatedBridges (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_DualUnrelatedBridges (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_DualUnrelatedBridges (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_DualUnrelatedBridges (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.SuperDualUnrelatedAccidentalBridges [static fields] -(global $f_$initialized__bridgemethods_SuperDualUnrelatedAccidentalBridges (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_SuperDualUnrelatedAccidentalBridges (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_SuperDualUnrelatedAccidentalBridges (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_SuperDualUnrelatedAccidentalBridges (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_SuperDualUnrelatedAccidentalBridges (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_SuperDualUnrelatedAccidentalBridges (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.DualUnrelatedAccidentalBridges [static fields] -(global $f_$initialized__bridgemethods_DualUnrelatedAccidentalBridges (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_DualUnrelatedAccidentalBridges (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_DualUnrelatedAccidentalBridges (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_DualUnrelatedAccidentalBridges (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_DualUnrelatedAccidentalBridges (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_DualUnrelatedAccidentalBridges (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.Getter [static fields] -(global $f_$initialized__bridgemethods_Getter (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_Getter (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_Getter (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_Getter (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_Getter (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_Getter (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.ClassWithParameterizedGet [static fields] -(global $f_$initialized__bridgemethods_ClassWithParameterizedGet (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_ClassWithParameterizedGet (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_ClassWithParameterizedGet (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_ClassWithParameterizedGet (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_ClassWithParameterizedGet (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_ClassWithParameterizedGet (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.AccidentalOverrideBridge [static fields] -(global $f_$initialized__bridgemethods_AccidentalOverrideBridge (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_AccidentalOverrideBridge (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_AccidentalOverrideBridge (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_AccidentalOverrideBridge (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_AccidentalOverrideBridge (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_AccidentalOverrideBridge (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase10036 [static fields] -(global $f_$initialized__bridgemethods_TestCase10036 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase10036 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase10036 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase10036 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase102 [static fields] -(global $f_$initialized__bridgemethods_TestCase102 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase102 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase102 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase102 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.ParameterizedParent [static fields] -(global $f_$initialized__bridgemethods_ParameterizedParent (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_ParameterizedParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_ParameterizedParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_ParameterizedParent (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_ParameterizedParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_ParameterizedParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.ReparametrerizedChild [static fields] -(global $f_$initialized__bridgemethods_ReparametrerizedChild (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_ReparametrerizedChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_ReparametrerizedChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_ReparametrerizedChild (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_ReparametrerizedChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_ReparametrerizedChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.LeafChild [static fields] -(global $f_$initialized__bridgemethods_LeafChild (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_LeafChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_LeafChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_LeafChild (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_LeafChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_LeafChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.StringConsumer [static fields] -(global $f_$initialized__bridgemethods_StringConsumer (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_StringConsumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_StringConsumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_StringConsumer (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_StringConsumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_StringConsumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.Consumer [static fields] -(global $f_$initialized__bridgemethods_Consumer (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_Consumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_Consumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_Consumer (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_Consumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_Consumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.StringConsumerImpl [static fields] -(global $f_$initialized__bridgemethods_StringConsumerImpl (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_StringConsumerImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_StringConsumerImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_StringConsumerImpl (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_StringConsumerImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_StringConsumerImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase10036.BI3 [static fields] -(global $f_$initialized__bridgemethods_TestCase10036_BI3 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase10036_BI3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|BI3_get_String|__bridgemethods_TestCase10036_BI3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_BI3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase10036_BI3 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase10036_BI3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|BI3_get_String|__bridgemethods_TestCase10036_BI3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_BI3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase10036.BI2 [static fields] -(global $f_$initialized__bridgemethods_TestCase10036_BI2 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase10036_BI2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_BI2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase10036_BI2 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase10036_BI2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_BI2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase10036.BI1 [static fields] -(global $f_$initialized__bridgemethods_TestCase10036_BI1 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase10036_BI1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_BI1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase10036_BI1 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase10036_BI1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_BI1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase10036.B [static fields] -(global $f_$initialized__bridgemethods_TestCase10036_B (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase10036_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase10036_B (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase10036_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase10036_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase102.BI2 [static fields] -(global $f_$initialized__bridgemethods_TestCase102_BI2 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase102_BI2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_BI2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase102_BI2 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase102_BI2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_BI2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase102.BI1 [static fields] -(global $f_$initialized__bridgemethods_TestCase102_BI1 (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase102_BI1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_BI1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase102_BI1 (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase102_BI1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_BI1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase102.B [static fields] -(global $f_$initialized__bridgemethods_TestCase102_B (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase102_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase102_B (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase102_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.TestCase102.C [static fields] -(global $f_$initialized__bridgemethods_TestCase102_C (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_TestCase102_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_TestCase102_C (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_TestCase102_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_TestCase102_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault.I [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault_I (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault_I (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault.II [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault_II (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault_II (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_II (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault_II (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault_II (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_II (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault.A [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault_A (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault_A (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault.JJ [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault_JJ (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault_JJ (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_JJ (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault_JJ (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault_JJ (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_JJ (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault.B [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault_B (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault_B (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodDefault.C [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodDefault_C (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodDefault_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodDefault_C (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodDefault_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodDefault_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodShadowedSignature [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodShadowedSignature (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodShadowedSignature (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodShadowedSignature.I [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature_I (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodShadowedSignature_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature_I (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodShadowedSignature_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodShadowedSignature.B [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature_B (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodShadowedSignature_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|B_get_B2|__bridgemethods_BridgeMethodShadowedSignature_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature_B (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodShadowedSignature_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|B_get_B2|__bridgemethods_BridgeMethodShadowedSignature_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.BridgeMethodShadowedSignature.C [static fields] -(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature_C (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_BridgeMethodShadowedSignature_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_BridgeMethodShadowedSignature_C (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_BridgeMethodShadowedSignature_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_BridgeMethodShadowedSignature_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.Map [static fields] -(global $f_$initialized__bridgemethods_Map (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_Map (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_Map (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_Map (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_Map (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_Map (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.AbstractMap [static fields] -(global $f_$initialized__bridgemethods_AbstractMap (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_AbstractMap (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_AbstractMap (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_AbstractMap (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_AbstractMap (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_AbstractMap (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.EnumMap [static fields] -(global $f_$initialized__bridgemethods_EnumMap (mut i32) (i32.const 0)) -(global $f_$class__bridgemethods_EnumMap (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|bridgemethod...|__bridgemethods_EnumMap (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__bridgemethods_EnumMap (mut i32) + (i32.const 0) +) +(global $f_$class__bridgemethods_EnumMap (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|bridgemethod...|__bridgemethods_EnumMap (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for bridgemethods.I [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/cascadingconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/cascadingconstructor/output_wasm/module.wat.txt index 5d290aae8d..6fa048d0c6 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/cascadingconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/cascadingconstructor/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for cascadingconstructor.CascadingConstructor [static fields] -(global $f_$initialized__cascadingconstructor_CascadingConstructor (mut i32) (i32.const 0)) -(global $f_$class__cascadingconstructor_CascadingConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cascadingcon...|__cascadingconstructor_CascadingConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cascadingconstructor_CascadingConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__cascadingconstructor_CascadingConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cascadingcon...|__cascadingconstructor_CascadingConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cascadingconstructor.CascadingConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/cast/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/cast/output_wasm/module.wat.txt index 0f377cdcb3..de4914a664 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/cast/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/cast/output_wasm/module.wat.txt @@ -301,24 +301,28 @@ ) ;;; Code for cast.CastGenerics.Implementor [itable.init] -(global $cast.CastGenerics.A.vtable@$cast.CastGenerics.Implementor (ref $cast.CastGenerics.A.vtable) + +(global $cast.CastGenerics.A.vtable@$cast.CastGenerics.Implementor (ref $cast.CastGenerics.A.vtable) (struct.new $cast.CastGenerics.A.vtable (ref.func $m_mA__void@cast.CastGenerics.Implementor) ) - )(global $cast.CastGenerics.B.vtable@$cast.CastGenerics.Implementor (ref $cast.CastGenerics.B.vtable) +) +(global $cast.CastGenerics.B.vtable@$cast.CastGenerics.Implementor (ref $cast.CastGenerics.B.vtable) (struct.new $cast.CastGenerics.B.vtable (ref.func $m_mB__void@cast.CastGenerics.Implementor) ) +) +(global $cast.CastGenerics.Implementor.itable (ref $cast.CastGenerics.Implementor.itable) + (struct.new $cast.CastGenerics.Implementor.itable + (global.get $cast.CastGenerics.A.vtable@$cast.CastGenerics.Implementor) + (global.get $cast.CastGenerics.B.vtable@$cast.CastGenerics.Implementor) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $cast.CastGenerics.Implementor.itable (ref $cast.CastGenerics.Implementor.itable) (struct.new $cast.CastGenerics.Implementor.itable - (global.get $cast.CastGenerics.A.vtable@$cast.CastGenerics.Implementor) - (global.get $cast.CastGenerics.B.vtable@$cast.CastGenerics.Implementor) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for cast.CastGenerics.Container [vtable.init] (global $cast.CastGenerics.Container.vtable (ref $cast.CastGenerics.Container.vtable) @@ -426,86 +430,186 @@ ) ;;; Code for cast.CastGenerics [static fields] -(global $f_$initialized__cast_CastGenerics (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.1 [static fields] -(global $f_$initialized__cast_CastGenerics_1 (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_1 (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.A [static fields] -(global $f_$initialized__cast_CastGenerics_A (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_A (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.B [static fields] -(global $f_$initialized__cast_CastGenerics_B (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_B (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.BaseImplementor [static fields] -(global $f_$initialized__cast_CastGenerics_BaseImplementor (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_BaseImplementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_BaseImplementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_BaseImplementor (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_BaseImplementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_BaseImplementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.Implementor [static fields] -(global $f_$initialized__cast_CastGenerics_Implementor (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_Implementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Implementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_Implementor (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_Implementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Implementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.Container [static fields] -(global $f_$initialized__cast_CastGenerics_Container (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_Container (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Container (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_Container (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_Container (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Container (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.Empty1 [static fields] -(global $f_$initialized__cast_CastGenerics_Empty1 (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_Empty1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Empty1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_Empty1 (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_Empty1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Empty1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.Empty2 [static fields] -(global $f_$initialized__cast_CastGenerics_Empty2 (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_Empty2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Empty2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_Empty2 (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_Empty2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Empty2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.Foo [static fields] -(global $f_$initialized__cast_CastGenerics_Foo (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.1Nested [static fields] -(global $f_$initialized__cast_CastGenerics_1Nested (mut i32) (i32.const 0)) -(global $f_$class__cast_CastGenerics_1Nested (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastGen...|__cast_CastGenerics_1Nested (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastGenerics_1Nested (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastGenerics_1Nested (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastGen...|__cast_CastGenerics_1Nested (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastPrimitives [static fields] -(global $f_$initialized__cast_CastPrimitives (mut i32) (i32.const 0)) -(global $f_$class__cast_CastPrimitives (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastPri...|__cast_CastPrimitives (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastPrimitives (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastPrimitives (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastPri...|__cast_CastPrimitives (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastPrimitives.IntValueHolder [static fields] -(global $f_$initialized__cast_CastPrimitives_IntValueHolder (mut i32) (i32.const 0)) -(global $f_$class__cast_CastPrimitives_IntValueHolder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastPri...|__cast_CastPrimitives_IntValueHolder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastPrimitives_IntValueHolder (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastPrimitives_IntValueHolder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastPri...|__cast_CastPrimitives_IntValueHolder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastPrimitives.LongValueHolder [static fields] -(global $f_$initialized__cast_CastPrimitives_LongValueHolder (mut i32) (i32.const 0)) -(global $f_$class__cast_CastPrimitives_LongValueHolder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.CastPri...|__cast_CastPrimitives_LongValueHolder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_CastPrimitives_LongValueHolder (mut i32) + (i32.const 0) +) +(global $f_$class__cast_CastPrimitives_LongValueHolder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.CastPri...|__cast_CastPrimitives_LongValueHolder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.Casts [static fields] -(global $f_$initialized__cast_Casts (mut i32) (i32.const 0)) -(global $f_$class__cast_Casts (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foo|__cast_Casts (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|bar|__cast_Casts (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|cast.Casts|__cast_Casts (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_Casts (mut i32) + (i32.const 0) +) +(global $f_$class__cast_Casts (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foo|__cast_Casts (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|bar|__cast_Casts (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|cast.Casts|__cast_Casts (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.Casts.Foo [static fields] -(global $f_$initialized__cast_Casts_Foo (mut i32) (i32.const 0)) -(global $f_$class__cast_Casts_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cast.Casts_Foo|__cast_Casts_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cast_Casts_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__cast_Casts_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cast.Casts_Foo|__cast_Casts_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cast.CastGenerics.A [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/castonarrayinit/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/castonarrayinit/output_wasm/module.wat.txt index a7b49258a0..dc5077fd45 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/castonarrayinit/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/castonarrayinit/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for castonarrayinit.CastOnArrayInit [static fields] -(global $f_$initialized__castonarrayinit_CastOnArrayInit (mut i32) (i32.const 0)) -(global $f_$class__castonarrayinit_CastOnArrayInit (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|castonarrayi...|__castonarrayinit_CastOnArrayInit (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__castonarrayinit_CastOnArrayInit (mut i32) + (i32.const 0) +) +(global $f_$class__castonarrayinit_CastOnArrayInit (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|castonarrayi...|__castonarrayinit_CastOnArrayInit (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for castonarrayinit.CastOnArrayInit.Foo [static fields] -(global $f_$initialized__castonarrayinit_CastOnArrayInit_Foo (mut i32) (i32.const 0)) -(global $f_$class__castonarrayinit_CastOnArrayInit_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|castonarrayi...|__castonarrayinit_CastOnArrayInit_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__castonarrayinit_CastOnArrayInit_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__castonarrayinit_CastOnArrayInit_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|castonarrayi...|__castonarrayinit_CastOnArrayInit_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for castonarrayinit.CastOnArrayInit [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/characterliteral/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/characterliteral/output_wasm/module.wat.txt index 4c6e486ccf..26cc754a5e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/characterliteral/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/characterliteral/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for characterliteral.CharacterLiteral [static fields] -(global $f_$initialized__characterliteral_CharacterLiteral (mut i32) (i32.const 0)) -(global $f_$class__characterliteral_CharacterLiteral (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|characterlit...|__characterliteral_CharacterLiteral (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__characterliteral_CharacterLiteral (mut i32) + (i32.const 0) +) +(global $f_$class__characterliteral_CharacterLiteral (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|characterlit...|__characterliteral_CharacterLiteral (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for characterliteral.CharacterLiteral [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/circularimportuse/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/circularimportuse/output_wasm/module.wat.txt index fff232a25e..7777a66453 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/circularimportuse/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/circularimportuse/output_wasm/module.wat.txt @@ -84,19 +84,37 @@ ) ;;; Code for circularimportuse.Left [static fields] -(global $f_$initialized__circularimportuse_Left (mut i32) (i32.const 0)) -(global $f_$class__circularimportuse_Left (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|circularimpo...|__circularimportuse_Left (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__circularimportuse_Left (mut i32) + (i32.const 0) +) +(global $f_$class__circularimportuse_Left (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|circularimpo...|__circularimportuse_Left (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for circularimportuse.Main [static fields] -(global $f_$initialized__circularimportuse_Main (mut i32) (i32.const 0)) -(global $f_$class__circularimportuse_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|circularimpo...|__circularimportuse_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__circularimportuse_Main (mut i32) + (i32.const 0) +) +(global $f_$class__circularimportuse_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|circularimpo...|__circularimportuse_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for circularimportuse.Right [static fields] -(global $f_$initialized__circularimportuse_Right (mut i32) (i32.const 0)) -(global $f_$class__circularimportuse_Right (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|circularimpo...|__circularimportuse_Right (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__circularimportuse_Right (mut i32) + (i32.const 0) +) +(global $f_$class__circularimportuse_Right (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|circularimpo...|__circularimportuse_Right (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for circularimportuse.Left [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/classliteral/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/classliteral/output_wasm/module.wat.txt index 800b2ec884..d32bce27b2 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/classliteral/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/classliteral/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for classliteral.ClassLiteral [static fields] -(global $f_$initialized__classliteral_ClassLiteral (mut i32) (i32.const 0)) -(global $f_$class__classliteral_ClassLiteral (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|classliteral...|__classliteral_ClassLiteral (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__classliteral_ClassLiteral (mut i32) + (i32.const 0) +) +(global $f_$class__classliteral_ClassLiteral (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|classliteral...|__classliteral_ClassLiteral (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for classliteral.ClassLiteral [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/cloneable/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/cloneable/output_wasm/module.wat.txt index 28da99acbc..121b0614f1 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/cloneable/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/cloneable/output_wasm/module.wat.txt @@ -136,19 +136,22 @@ ) ;;; Code for cloneable.Cloneables.WithCloneable [itable.init] -(global $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneable (ref $java.lang.Cloneable.vtable) + +(global $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneable (ref $java.lang.Cloneable.vtable) (struct.new $java.lang.Cloneable.vtable ) +) +(global $cloneable.Cloneables.WithCloneable.itable (ref $cloneable.Cloneables.WithCloneable.itable) + (struct.new $cloneable.Cloneables.WithCloneable.itable + (ref.null struct) + (ref.null struct) + (ref.null struct) + (global.get $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneable) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $cloneable.Cloneables.WithCloneable.itable (ref $cloneable.Cloneables.WithCloneable.itable) (struct.new $cloneable.Cloneables.WithCloneable.itable - (ref.null struct) - (ref.null struct) - (ref.null struct) - (global.get $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneable) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for cloneable.Cloneables.WithoutCloneableChild [vtable.init] (global $cloneable.Cloneables.WithoutCloneableChild.vtable (ref $cloneable.Cloneables.WithoutCloneableChild.vtable) @@ -175,44 +178,77 @@ ) ;;; Code for cloneable.Cloneables.WithCloneableChild [itable.init] -(global $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneableChild (ref $java.lang.Cloneable.vtable) + +(global $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneableChild (ref $java.lang.Cloneable.vtable) (struct.new $java.lang.Cloneable.vtable ) +) +(global $cloneable.Cloneables.WithCloneableChild.itable (ref $cloneable.Cloneables.WithCloneableChild.itable) + (struct.new $cloneable.Cloneables.WithCloneableChild.itable + (ref.null struct) + (ref.null struct) + (ref.null struct) + (global.get $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneableChild) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $cloneable.Cloneables.WithCloneableChild.itable (ref $cloneable.Cloneables.WithCloneableChild.itable) (struct.new $cloneable.Cloneables.WithCloneableChild.itable - (ref.null struct) - (ref.null struct) - (ref.null struct) - (global.get $java.lang.Cloneable.vtable@$cloneable.Cloneables.WithCloneableChild) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for cloneable.Cloneables [static fields] -(global $f_$initialized__cloneable_Cloneables (mut i32) (i32.const 0)) -(global $f_$class__cloneable_Cloneables (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cloneable_Cloneables (mut i32) + (i32.const 0) +) +(global $f_$class__cloneable_Cloneables (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cloneable.Cloneables.WithoutCloneable [static fields] -(global $f_$initialized__cloneable_Cloneables_WithoutCloneable (mut i32) (i32.const 0)) -(global $f_$class__cloneable_Cloneables_WithoutCloneable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithoutCloneable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cloneable_Cloneables_WithoutCloneable (mut i32) + (i32.const 0) +) +(global $f_$class__cloneable_Cloneables_WithoutCloneable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithoutCloneable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cloneable.Cloneables.WithCloneable [static fields] -(global $f_$initialized__cloneable_Cloneables_WithCloneable (mut i32) (i32.const 0)) -(global $f_$class__cloneable_Cloneables_WithCloneable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithCloneable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cloneable_Cloneables_WithCloneable (mut i32) + (i32.const 0) +) +(global $f_$class__cloneable_Cloneables_WithCloneable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithCloneable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cloneable.Cloneables.WithoutCloneableChild [static fields] -(global $f_$initialized__cloneable_Cloneables_WithoutCloneableChild (mut i32) (i32.const 0)) -(global $f_$class__cloneable_Cloneables_WithoutCloneableChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithoutCloneableChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cloneable_Cloneables_WithoutCloneableChild (mut i32) + (i32.const 0) +) +(global $f_$class__cloneable_Cloneables_WithoutCloneableChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithoutCloneableChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cloneable.Cloneables.WithCloneableChild [static fields] -(global $f_$initialized__cloneable_Cloneables_WithCloneableChild (mut i32) (i32.const 0)) -(global $f_$class__cloneable_Cloneables_WithCloneableChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithCloneableChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__cloneable_Cloneables_WithCloneableChild (mut i32) + (i32.const 0) +) +(global $f_$class__cloneable_Cloneables_WithCloneableChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|cloneable.Cl...|__cloneable_Cloneables_WithCloneableChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for cloneable.Cloneables [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/collisions/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/collisions/output_wasm/module.wat.txt index 031cace1fa..b2f2eeb6e0 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/collisions/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/collisions/output_wasm/module.wat.txt @@ -187,41 +187,83 @@ ) ;;; Code for collisions.goog [static fields] -(global $f_$initialized__collisions_goog (mut i32) (i32.const 0)) -(global $f_$class__collisions_goog (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.goog|__collisions_goog (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_goog (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_goog (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.goog|__collisions_goog (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.Blah [static fields] ;;; Code for collisions.KtBlah [static fields] -(global $f_$initialized__collisions_KtBlah (mut i32) (i32.const 0)) -(global $f_$class__collisions_KtBlah (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.K...|__collisions_KtBlah (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_KtBlah (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_KtBlah (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.K...|__collisions_KtBlah (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.foo [static fields] -(global $f_$initialized__collisions_foo (mut i32) (i32.const 0)) -(global $f_$class__collisions_foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.foo|__collisions_foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_foo (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.foo|__collisions_foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.bar [static fields] -(global $f_$initialized__collisions_bar (mut i32) (i32.const 0)) -(global $f_$class__collisions_bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.bar|__collisions_bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_bar (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.bar|__collisions_bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.Other [static fields] -(global $f_$initialized__collisions_Other (mut i32) (i32.const 0)) -(global $f_$class__collisions_Other (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.O...|__collisions_Other (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_Other (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_Other (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.O...|__collisions_Other (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.T [static fields] -(global $f_$initialized__collisions_T (mut i32) (i32.const 0)) -(global $f_$class__collisions_T (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.T|__collisions_T (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_T (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_T (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.T|__collisions_T (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.Blah.$Overlay [static fields] -(global $f_$initialized__collisions_Blah_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__collisions_Blah_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|collisions.B...|__collisions_Blah_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__collisions_Blah_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__collisions_Blah_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|collisions.B...|__collisions_Blah_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for collisions.Blah.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/compiletimeconstant/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/compiletimeconstant/output_wasm/module.wat.txt index 0a7e64b67e..3248c1edfa 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/compiletimeconstant/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/compiletimeconstant/output_wasm/module.wat.txt @@ -26,15 +26,33 @@ ) ;;; Code for compiletimeconstant.CompileTimeConstant [static fields] -(global $f_OBJ__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_K__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$initialized__compiletimeconstant_CompileTimeConstant (mut i32) (i32.const 0)) -(global $f_$class__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|10000Tur_tle...|__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|ThisIsALongS...|__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|ThisIsALongS...|_1__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|ThisIsALongS...|_2__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|compiletimec...|__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_OBJ__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_K__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$initialized__compiletimeconstant_CompileTimeConstant (mut i32) + (i32.const 0) +) +(global $f_$class__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|10000Tur_tle...|__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|ThisIsALongS...|__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|ThisIsALongS...|_1__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|ThisIsALongS...|_2__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|compiletimec...|__compiletimeconstant_CompileTimeConstant (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for compiletimeconstant.CompileTimeConstant [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/continuestatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/continuestatement/output_wasm/module.wat.txt index 34b08358be..0ae470d82a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/continuestatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/continuestatement/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for continuestatement.ContinueStatement [static fields] -(global $f_$initialized__continuestatement_ContinueStatement (mut i32) (i32.const 0)) -(global $f_$class__continuestatement_ContinueStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|continuestat...|__continuestatement_ContinueStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__continuestatement_ContinueStatement (mut i32) + (i32.const 0) +) +(global $f_$class__continuestatement_ContinueStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|continuestat...|__continuestatement_ContinueStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for continuestatement.ContinueStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/deprecated/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/deprecated/output_wasm/module.wat.txt index e458c3e092..53e7839864 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/deprecated/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/deprecated/output_wasm/module.wat.txt @@ -121,23 +121,27 @@ ) ;;; Code for deprecated.DeprecatedExample.DeprecatedEnum [itable.init] -(global $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $deprecated.DeprecatedExample.DeprecatedEnum.itable (ref $deprecated.DeprecatedExample.DeprecatedEnum.itable) + (struct.new $deprecated.DeprecatedExample.DeprecatedEnum.itable + (global.get $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum) + (global.get $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $deprecated.DeprecatedExample.DeprecatedEnum.itable (ref $deprecated.DeprecatedExample.DeprecatedEnum.itable) (struct.new $deprecated.DeprecatedExample.DeprecatedEnum.itable - (global.get $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum) - (global.get $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedEnum) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for deprecated.DeprecatedExample.DeprecatedJsEnum [vtable.init] (global $deprecated.DeprecatedExample.DeprecatedJsEnum.vtable (ref $deprecated.DeprecatedExample.DeprecatedJsEnum.vtable) @@ -156,54 +160,100 @@ ) ;;; Code for deprecated.DeprecatedExample.DeprecatedJsEnum [itable.init] -(global $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $deprecated.DeprecatedExample.DeprecatedJsEnum.itable (ref $deprecated.DeprecatedExample.DeprecatedJsEnum.itable) + (struct.new $deprecated.DeprecatedExample.DeprecatedJsEnum.itable + (global.get $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum) + (global.get $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $deprecated.DeprecatedExample.DeprecatedJsEnum.itable (ref $deprecated.DeprecatedExample.DeprecatedJsEnum.itable) (struct.new $deprecated.DeprecatedExample.DeprecatedJsEnum.itable - (global.get $java.io.Serializable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum) - (global.get $java.lang.Comparable.vtable@$deprecated.DeprecatedExample.DeprecatedJsEnum) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for deprecated.DeprecatedExample [static fields] -(global $f_$initialized__deprecated_DeprecatedExample (mut i32) (i32.const 0)) -(global $f_$class__deprecated_DeprecatedExample (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|deprecated_f...|__deprecated_DeprecatedExample (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__deprecated_DeprecatedExample (mut i32) + (i32.const 0) +) +(global $f_$class__deprecated_DeprecatedExample (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|deprecated_f...|__deprecated_DeprecatedExample (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for deprecated.DeprecatedExample.DeprecatedInterface [static fields] -(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedInterface (mut i32) (i32.const 0)) -(global $f_$class__deprecated_DeprecatedExample_DeprecatedInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedInterface (mut i32) + (i32.const 0) +) +(global $f_$class__deprecated_DeprecatedExample_DeprecatedInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for deprecated.DeprecatedExample.DeprecatedJsFunction [static fields] -(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedJsFunction (mut i32) (i32.const 0)) -(global $f_$class__deprecated_DeprecatedExample_DeprecatedJsFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedJsFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedJsFunction (mut i32) + (i32.const 0) +) +(global $f_$class__deprecated_DeprecatedExample_DeprecatedJsFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedJsFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for deprecated.DeprecatedExample.DeprecatedEnum [static fields] -(global $f_A_VALUE__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $deprecated.DeprecatedExample.DeprecatedEnum)) (ref.null $deprecated.DeprecatedExample.DeprecatedEnum)) -(global $f_namesToValuesMap__deprecated_DeprecatedExample_DeprecatedEnum_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedEnum (mut i32) (i32.const 0)) -(global $f_$class__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|A_VALUE|__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_A_VALUE__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $deprecated.DeprecatedExample.DeprecatedEnum)) + (ref.null $deprecated.DeprecatedExample.DeprecatedEnum) +) +(global $f_namesToValuesMap__deprecated_DeprecatedExample_DeprecatedEnum_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedEnum (mut i32) + (i32.const 0) +) +(global $f_$class__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|A_VALUE|__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for deprecated.DeprecatedExample.DeprecatedJsEnum [static fields] -(global $f_A_VALUE__deprecated_DeprecatedExample_DeprecatedJsEnum (mut (ref null $deprecated.DeprecatedExample.DeprecatedJsEnum)) (ref.null $deprecated.DeprecatedExample.DeprecatedJsEnum)) -(global $f_namesToValuesMap__deprecated_DeprecatedExample_DeprecatedJsEnum_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedJsEnum (mut i32) (i32.const 0)) -(global $f_$class__deprecated_DeprecatedExample_DeprecatedJsEnum (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedJsEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_A_VALUE__deprecated_DeprecatedExample_DeprecatedJsEnum (mut (ref null $deprecated.DeprecatedExample.DeprecatedJsEnum)) + (ref.null $deprecated.DeprecatedExample.DeprecatedJsEnum) +) +(global $f_namesToValuesMap__deprecated_DeprecatedExample_DeprecatedJsEnum_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__deprecated_DeprecatedExample_DeprecatedJsEnum (mut i32) + (i32.const 0) +) +(global $f_$class__deprecated_DeprecatedExample_DeprecatedJsEnum (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|deprecated.D...|__deprecated_DeprecatedExample_DeprecatedJsEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for deprecated.DeprecatedExample.DeprecatedInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedcalls/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedcalls/output_wasm/module.wat.txt index f171b9fe0f..6839cf1880 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedcalls/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedcalls/output_wasm/module.wat.txt @@ -150,31 +150,65 @@ ) ;;; Code for devirtualizedcalls.ArrayCalls [static fields] -(global $f_$initialized__devirtualizedcalls_ArrayCalls (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedcalls_ArrayCalls (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|devirtualize...|__devirtualizedcalls_ArrayCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedcalls_ArrayCalls (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedcalls_ArrayCalls (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|devirtualize...|__devirtualizedcalls_ArrayCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedcalls.CharSequenceCalls [static fields] -(global $f_$initialized__devirtualizedcalls_CharSequenceCalls (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedcalls_CharSequenceCalls (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|s|__devirtualizedcalls_CharSequenceCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|devirtualize...|__devirtualizedcalls_CharSequenceCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedcalls_CharSequenceCalls (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedcalls_CharSequenceCalls (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|s|__devirtualizedcalls_CharSequenceCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|devirtualize...|__devirtualizedcalls_CharSequenceCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedcalls.NumberCalls [static fields] -(global $f_$initialized__devirtualizedcalls_NumberCalls (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedcalls_NumberCalls (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|devirtualize...|__devirtualizedcalls_NumberCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedcalls_NumberCalls (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedcalls_NumberCalls (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|devirtualize...|__devirtualizedcalls_NumberCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedcalls.ObjectCalls [static fields] -(global $f_$initialized__devirtualizedcalls_ObjectCalls (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedcalls_ObjectCalls (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|devirtualize...|__devirtualizedcalls_ObjectCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedcalls_ObjectCalls (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedcalls_ObjectCalls (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|devirtualize...|__devirtualizedcalls_ObjectCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedcalls.StringCalls [static fields] -(global $f_$initialized__devirtualizedcalls_StringCalls (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedcalls_StringCalls (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|String|__devirtualizedcalls_StringCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|devirtualize...|__devirtualizedcalls_StringCalls (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedcalls_StringCalls (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedcalls_StringCalls (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|String|__devirtualizedcalls_StringCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|devirtualize...|__devirtualizedcalls_StringCalls (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedcalls.ArrayCalls [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedsupermethodcall/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedsupermethodcall/output_wasm/module.wat.txt index 1856a837d4..fdace3b7dd 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedsupermethodcall/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/devirtualizedsupermethodcall/output_wasm/module.wat.txt @@ -80,19 +80,22 @@ ) ;;; Code for devirtualizedsupermethodcall.SubNumber [itable.init] -(global $java.io.Serializable.vtable@$devirtualizedsupermethodcall.SubNumber (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$devirtualizedsupermethodcall.SubNumber (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) +) +(global $devirtualizedsupermethodcall.SubNumber.itable (ref $devirtualizedsupermethodcall.SubNumber.itable) + (struct.new $devirtualizedsupermethodcall.SubNumber.itable + (global.get $java.io.Serializable.vtable@$devirtualizedsupermethodcall.SubNumber) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $devirtualizedsupermethodcall.SubNumber.itable (ref $devirtualizedsupermethodcall.SubNumber.itable) (struct.new $devirtualizedsupermethodcall.SubNumber.itable - (global.get $java.io.Serializable.vtable@$devirtualizedsupermethodcall.SubNumber) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for devirtualizedsupermethodcall.FooCallsSuperObjectMethod [vtable.init] (global $devirtualizedsupermethodcall.FooCallsSuperObjectMethod.vtable (ref $devirtualizedsupermethodcall.FooCallsSuperObjectMethod.vtable) @@ -118,19 +121,37 @@ ) ;;; Code for devirtualizedsupermethodcall.SubNumber [static fields] -(global $f_$initialized__devirtualizedsupermethodcall_SubNumber (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedsupermethodcall_SubNumber (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|devirtualize...|__devirtualizedsupermethodcall_SubNumber (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedsupermethodcall_SubNumber (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedsupermethodcall_SubNumber (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|devirtualize...|__devirtualizedsupermethodcall_SubNumber (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedsupermethodcall.FooCallsSuperObjectMethod [static fields] -(global $f_$initialized__devirtualizedsupermethodcall_FooCallsSuperObjectMethod (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedsupermethodcall_FooCallsSuperObjectMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|devirtualize...|__devirtualizedsupermethodcall_FooCallsSuperObjectMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedsupermethodcall_FooCallsSuperObjectMethod (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedsupermethodcall_FooCallsSuperObjectMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|devirtualize...|__devirtualizedsupermethodcall_FooCallsSuperObjectMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedsupermethodcall.Main [static fields] -(global $f_$initialized__devirtualizedsupermethodcall_Main (mut i32) (i32.const 0)) -(global $f_$class__devirtualizedsupermethodcall_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|devirtualize...|__devirtualizedsupermethodcall_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__devirtualizedsupermethodcall_Main (mut i32) + (i32.const 0) +) +(global $f_$class__devirtualizedsupermethodcall_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|devirtualize...|__devirtualizedsupermethodcall_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for devirtualizedsupermethodcall.FooCallsSuperObjectMethod [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/dowhilestatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/dowhilestatement/output_wasm/module.wat.txt index d98f20f080..37b8d25776 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/dowhilestatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/dowhilestatement/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for dowhilestatement.DoWhileStatement [static fields] -(global $f_$initialized__dowhilestatement_DoWhileStatement (mut i32) (i32.const 0)) -(global $f_$class__dowhilestatement_DoWhileStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|dowhilestate...|__dowhilestatement_DoWhileStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__dowhilestatement_DoWhileStatement (mut i32) + (i32.const 0) +) +(global $f_$class__dowhilestatement_DoWhileStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|dowhilestate...|__dowhilestatement_DoWhileStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for dowhilestatement.DoWhileStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/emptyclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/emptyclass/output_wasm/module.wat.txt index 1b69d609c0..f65ed1d8c4 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/emptyclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/emptyclass/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for emptyclass.EmptyClass [static fields] -(global $f_$initialized__emptyclass_EmptyClass (mut i32) (i32.const 0)) -(global $f_$class__emptyclass_EmptyClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|emptyclass.E...|__emptyclass_EmptyClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__emptyclass_EmptyClass (mut i32) + (i32.const 0) +) +(global $f_$class__emptyclass_EmptyClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|emptyclass.E...|__emptyclass_EmptyClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for emptyclass.EmptyClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/emptyinterface/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/emptyinterface/output_wasm/module.wat.txt index 96226cdae9..8602a3f903 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/emptyinterface/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/emptyinterface/output_wasm/module.wat.txt @@ -4,9 +4,15 @@ ) ;;; Code for emptyinterface.EmptyInterface [static fields] -(global $f_$initialized__emptyinterface_EmptyInterface (mut i32) (i32.const 0)) -(global $f_$class__emptyinterface_EmptyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|emptyinterfa...|__emptyinterface_EmptyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__emptyinterface_EmptyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__emptyinterface_EmptyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|emptyinterfa...|__emptyinterface_EmptyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for emptyinterface.EmptyInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm/module.wat.txt index cf955bbabe..ae50a4ccb7 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for emptymethod.EmptyMethod [static fields] -(global $f_$initialized__emptymethod_EmptyMethod (mut i32) (i32.const 0)) -(global $f_$class__emptymethod_EmptyMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|emptymethod....|__emptymethod_EmptyMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__emptymethod_EmptyMethod (mut i32) + (i32.const 0) +) +(global $f_$class__emptymethod_EmptyMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|emptymethod....|__emptymethod_EmptyMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for emptymethod.EmptyMethod [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm_modular/globals.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm_modular/globals.wat.txt index 76f34ec47d..efb9dbb8ed 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm_modular/globals.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/emptymethod/output_wasm_modular/globals.wat.txt @@ -1,6 +1,12 @@ ;;; Code for emptymethod.EmptyMethod [static fields] -(global $f_$initialized__emptymethod_EmptyMethod (mut i32) (i32.const 0)) -(global $f_$class__emptymethod_EmptyMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|emptymethod....|__emptymethod_EmptyMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__emptymethod_EmptyMethod (mut i32) + (i32.const 0) +) +(global $f_$class__emptymethod_EmptyMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|emptymethod....|__emptymethod_EmptyMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; End of code for emptymethod.EmptyMethod [static fields] \ No newline at end of file diff --git a/transpiler/javatests/com/google/j2cl/readable/java/enums/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/enums/output_wasm/module.wat.txt index 65aec79788..565492ca21 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/enums/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/enums/output_wasm/module.wat.txt @@ -175,23 +175,27 @@ ) ;;; Code for enums.Enum1 [itable.init] -(global $java.io.Serializable.vtable@$enums.Enum1 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$enums.Enum1 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$enums.Enum1 (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$enums.Enum1 (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $enums.Enum1.itable (ref $enums.Enum1.itable) + (struct.new $enums.Enum1.itable + (global.get $java.io.Serializable.vtable@$enums.Enum1) + (global.get $java.lang.Comparable.vtable@$enums.Enum1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $enums.Enum1.itable (ref $enums.Enum1.itable) (struct.new $enums.Enum1.itable - (global.get $java.io.Serializable.vtable@$enums.Enum1) - (global.get $java.lang.Comparable.vtable@$enums.Enum1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for enums.Enum2 [vtable.init] (global $enums.Enum2.vtable (ref $enums.Enum2.vtable) @@ -211,23 +215,27 @@ ) ;;; Code for enums.Enum2 [itable.init] -(global $java.io.Serializable.vtable@$enums.Enum2 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$enums.Enum2 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$enums.Enum2 (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$enums.Enum2 (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $enums.Enum2.itable (ref $enums.Enum2.itable) + (struct.new $enums.Enum2.itable + (global.get $java.io.Serializable.vtable@$enums.Enum2) + (global.get $java.lang.Comparable.vtable@$enums.Enum2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $enums.Enum2.itable (ref $enums.Enum2.itable) (struct.new $enums.Enum2.itable - (global.get $java.io.Serializable.vtable@$enums.Enum2) - (global.get $java.lang.Comparable.vtable@$enums.Enum2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for enums.Enum3 [vtable.init] (global $enums.Enum3.vtable (ref $enums.Enum3.vtable) @@ -246,23 +254,27 @@ ) ;;; Code for enums.Enum3 [itable.init] -(global $java.io.Serializable.vtable@$enums.Enum3 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$enums.Enum3 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$enums.Enum3 (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$enums.Enum3 (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $enums.Enum3.itable (ref $enums.Enum3.itable) + (struct.new $enums.Enum3.itable + (global.get $java.io.Serializable.vtable@$enums.Enum3) + (global.get $java.lang.Comparable.vtable@$enums.Enum3) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $enums.Enum3.itable (ref $enums.Enum3.itable) (struct.new $enums.Enum3.itable - (global.get $java.io.Serializable.vtable@$enums.Enum3) - (global.get $java.lang.Comparable.vtable@$enums.Enum3) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for enums.Enum2.1 [vtable.init] (global $enums.Enum2.1.vtable (ref $enums.Enum2.1.vtable) @@ -282,23 +294,27 @@ ) ;;; Code for enums.Enum2.1 [itable.init] -(global $java.io.Serializable.vtable@$enums.Enum2.1 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$enums.Enum2.1 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$enums.Enum2.1 (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$enums.Enum2.1 (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $enums.Enum2.1.itable (ref $enums.Enum2.1.itable) + (struct.new $enums.Enum2.1.itable + (global.get $java.io.Serializable.vtable@$enums.Enum2.1) + (global.get $java.lang.Comparable.vtable@$enums.Enum2.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $enums.Enum2.1.itable (ref $enums.Enum2.1.itable) (struct.new $enums.Enum2.1.itable - (global.get $java.io.Serializable.vtable@$enums.Enum2.1) - (global.get $java.lang.Comparable.vtable@$enums.Enum2.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for enums.Enum3.$LambdaImplementor$1 [vtable.init] (global $enums.Enum3.$LambdaImplementor$1.vtable (ref $enums.Enum3.$LambdaImplementor$1.vtable) @@ -315,64 +331,131 @@ ) ;;; Code for enums.Enum3.$LambdaImplementor$1 [itable.init] -(global $java.util.function.Function.vtable@$enums.Enum3.$LambdaImplementor$1 (ref $java.util.function.Function.vtable) + +(global $java.util.function.Function.vtable@$enums.Enum3.$LambdaImplementor$1 (ref $java.util.function.Function.vtable) (struct.new $java.util.function.Function.vtable (ref.func $m_andThen__java_util_function_Function__java_util_function_Function@enums.Enum3.$LambdaImplementor$1) (ref.func $m_apply__java_lang_Object__java_lang_Object@enums.Enum3.$LambdaImplementor$1) (ref.func $m_compose__java_util_function_Function__java_util_function_Function@enums.Enum3.$LambdaImplementor$1) ) +) +(global $enums.Enum3.$LambdaImplementor$1.itable (ref $enums.Enum3.$LambdaImplementor$1.itable) + (struct.new $enums.Enum3.$LambdaImplementor$1.itable + (global.get $java.util.function.Function.vtable@$enums.Enum3.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $enums.Enum3.$LambdaImplementor$1.itable (ref $enums.Enum3.$LambdaImplementor$1.itable) (struct.new $enums.Enum3.$LambdaImplementor$1.itable - (global.get $java.util.function.Function.vtable@$enums.Enum3.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for enums.Enum1 [static fields] -(global $f_V1__enums_Enum1 (mut (ref null $enums.Enum1)) (ref.null $enums.Enum1)) -(global $f_V2__enums_Enum1 (mut (ref null $enums.Enum1)) (ref.null $enums.Enum1)) -(global $f_namesToValuesMap__enums_Enum1_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__enums_Enum1 (mut i32) (i32.const 0)) -(global $f_$class__enums_Enum1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|V1|__enums_Enum1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|V2|__enums_Enum1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|enums.Enum1|__enums_Enum1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_V1__enums_Enum1 (mut (ref null $enums.Enum1)) + (ref.null $enums.Enum1) +) +(global $f_V2__enums_Enum1 (mut (ref null $enums.Enum1)) + (ref.null $enums.Enum1) +) +(global $f_namesToValuesMap__enums_Enum1_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__enums_Enum1 (mut i32) + (i32.const 0) +) +(global $f_$class__enums_Enum1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|V1|__enums_Enum1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|V2|__enums_Enum1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|enums.Enum1|__enums_Enum1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for enums.Enum2 [static fields] -(global $f_VALUE1__enums_Enum2 (mut (ref null $enums.Enum2)) (ref.null $enums.Enum2)) -(global $f_VALUE2__enums_Enum2 (mut (ref null $enums.Enum2)) (ref.null $enums.Enum2)) -(global $f_VALUE3__enums_Enum2 (mut (ref null $enums.Enum2)) (ref.null $enums.Enum2)) -(global $f_VALUE4__enums_Enum2 (mut (ref null $enums.Enum2)) (ref.null $enums.Enum2)) -(global $f_C__enums_Enum2 (mut (ref null $enums.Enum2)) (ref.null $enums.Enum2)) -(global $f_namesToValuesMap__enums_Enum2_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__enums_Enum2 (mut i32) (i32.const 0)) -(global $f_$class__enums_Enum2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|VALUE1|__enums_Enum2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|VALUE2|__enums_Enum2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|VALUE3|__enums_Enum2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|VALUE4|__enums_Enum2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|enums.Enum2|__enums_Enum2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_VALUE1__enums_Enum2 (mut (ref null $enums.Enum2)) + (ref.null $enums.Enum2) +) +(global $f_VALUE2__enums_Enum2 (mut (ref null $enums.Enum2)) + (ref.null $enums.Enum2) +) +(global $f_VALUE3__enums_Enum2 (mut (ref null $enums.Enum2)) + (ref.null $enums.Enum2) +) +(global $f_VALUE4__enums_Enum2 (mut (ref null $enums.Enum2)) + (ref.null $enums.Enum2) +) +(global $f_C__enums_Enum2 (mut (ref null $enums.Enum2)) + (ref.null $enums.Enum2) +) +(global $f_namesToValuesMap__enums_Enum2_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__enums_Enum2 (mut i32) + (i32.const 0) +) +(global $f_$class__enums_Enum2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|VALUE1|__enums_Enum2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|VALUE2|__enums_Enum2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|VALUE3|__enums_Enum2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|VALUE4|__enums_Enum2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|enums.Enum2|__enums_Enum2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for enums.Enum3 [static fields] -(global $f_VALUE1__enums_Enum3 (mut (ref null $enums.Enum3)) (ref.null $enums.Enum3)) -(global $f_namesToValuesMap__enums_Enum3_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__enums_Enum3 (mut i32) (i32.const 0)) -(global $f_$class__enums_Enum3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|enums.Enum3|__enums_Enum3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_VALUE1__enums_Enum3 (mut (ref null $enums.Enum3)) + (ref.null $enums.Enum3) +) +(global $f_namesToValuesMap__enums_Enum3_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__enums_Enum3 (mut i32) + (i32.const 0) +) +(global $f_$class__enums_Enum3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|enums.Enum3|__enums_Enum3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for enums.Enum2.1 [static fields] -(global $f_$initialized__enums_Enum2_1 (mut i32) (i32.const 0)) -(global $f_$class__enums_Enum2_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|enums.Enum2_1|__enums_Enum2_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__enums_Enum2_1 (mut i32) + (i32.const 0) +) +(global $f_$class__enums_Enum2_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|enums.Enum2_1|__enums_Enum2_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for enums.Enum3.$LambdaImplementor$1 [static fields] -(global $f_$initialized__enums_Enum3_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__enums_Enum3_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|enums.Enum3_...|__enums_Enum3_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__enums_Enum3_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__enums_Enum3_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|enums.Enum3_...|__enums_Enum3_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for enums.Enum3.$LambdaImplementor$1 [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/equality/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/equality/output_wasm/module.wat.txt index d20db80e4a..3f14342edb 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/equality/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/equality/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for equality.Equality [static fields] -(global $f_$initialized__equality_Equality (mut i32) (i32.const 0)) -(global $f_$class__equality_Equality (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|equality.Equ...|__equality_Equality (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__equality_Equality (mut i32) + (i32.const 0) +) +(global $f_$class__equality_Equality (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|equality.Equ...|__equality_Equality (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for equality.Equality [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/equalsandhashcodeininterface/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/equalsandhashcodeininterface/output_wasm/module.wat.txt index f4c0b33d59..1653eefe2c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/equalsandhashcodeininterface/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/equalsandhashcodeininterface/output_wasm/module.wat.txt @@ -18,21 +18,39 @@ ) ;;; Code for equalsandhashcodeininterface.BothInInterface [static fields] -(global $f_$initialized__equalsandhashcodeininterface_BothInInterface (mut i32) (i32.const 0)) -(global $f_$class__equalsandhashcodeininterface_BothInInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|equalsandhas...|__equalsandhashcodeininterface_BothInInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__equalsandhashcodeininterface_BothInInterface (mut i32) + (i32.const 0) +) +(global $f_$class__equalsandhashcodeininterface_BothInInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|equalsandhas...|__equalsandhashcodeininterface_BothInInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for equalsandhashcodeininterface.NeitherInInterface [static fields] -(global $f_$initialized__equalsandhashcodeininterface_NeitherInInterface (mut i32) (i32.const 0)) -(global $f_$class__equalsandhashcodeininterface_NeitherInInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|equalsandhas...|__equalsandhashcodeininterface_NeitherInInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__equalsandhashcodeininterface_NeitherInInterface (mut i32) + (i32.const 0) +) +(global $f_$class__equalsandhashcodeininterface_NeitherInInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|equalsandhas...|__equalsandhashcodeininterface_NeitherInInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for equalsandhashcodeininterface.ViaJsMethodInInterface [static fields] ;;; Code for equalsandhashcodeininterface.ViaJsMethodInInterface.$Overlay [static fields] -(global $f_$initialized__equalsandhashcodeininterface_ViaJsMethodInInterface_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__equalsandhashcodeininterface_ViaJsMethodInInterface_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|equalsandhas...|__equalsandhashcodeininterface_ViaJsMethodInInterface_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__equalsandhashcodeininterface_ViaJsMethodInInterface_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__equalsandhashcodeininterface_ViaJsMethodInInterface_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|equalsandhas...|__equalsandhashcodeininterface_ViaJsMethodInInterface_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for equalsandhashcodeininterface.BothInInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/exception/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/exception/output_wasm/module.wat.txt index d0d943c843..cd0a213e18 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/exception/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/exception/output_wasm/module.wat.txt @@ -113,19 +113,22 @@ ) ;;; Code for exception.MyException [itable.init] -(global $java.io.Serializable.vtable@$exception.MyException (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$exception.MyException (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) +) +(global $exception.MyException.itable (ref $exception.MyException.itable) + (struct.new $exception.MyException.itable + (global.get $java.io.Serializable.vtable@$exception.MyException) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $exception.MyException.itable (ref $exception.MyException.itable) (struct.new $exception.MyException.itable - (global.get $java.io.Serializable.vtable@$exception.MyException) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for exception.MyJsException [vtable.init] (global $exception.MyJsException.vtable (ref $exception.MyJsException.vtable) @@ -152,29 +155,44 @@ ) ;;; Code for exception.MyJsException [itable.init] -(global $java.io.Serializable.vtable@$exception.MyJsException (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$exception.MyJsException (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) +) +(global $exception.MyJsException.itable (ref $exception.MyJsException.itable) + (struct.new $exception.MyJsException.itable + (global.get $java.io.Serializable.vtable@$exception.MyJsException) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $exception.MyJsException.itable (ref $exception.MyJsException.itable) (struct.new $exception.MyJsException.itable - (global.get $java.io.Serializable.vtable@$exception.MyJsException) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for exception.MyException [static fields] -(global $f_$initialized__exception_MyException (mut i32) (i32.const 0)) -(global $f_$class__exception_MyException (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|exception.My...|__exception_MyException (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__exception_MyException (mut i32) + (i32.const 0) +) +(global $f_$class__exception_MyException (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|exception.My...|__exception_MyException (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for exception.MyJsException [static fields] -(global $f_$initialized__exception_MyJsException (mut i32) (i32.const 0)) -(global $f_$class__exception_MyJsException (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|exception.My...|__exception_MyJsException (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__exception_MyJsException (mut i32) + (i32.const 0) +) +(global $f_$class__exception_MyJsException (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|exception.My...|__exception_MyJsException (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for exception.MyException [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/exportimport/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/exportimport/output_wasm/module.wat.txt index 220c452cba..4945dde985 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/exportimport/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/exportimport/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for exportimport.Main [static fields] -(global $f_$initialized__exportimport_Main (mut i32) (i32.const 0)) -(global $f_$class__exportimport_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|exportimport...|__exportimport_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__exportimport_Main (mut i32) + (i32.const 0) +) +(global $f_$class__exportimport_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|exportimport...|__exportimport_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for exportimport.Main [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/foreachstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/foreachstatement/output_wasm/module.wat.txt index 723615e070..21f04c6a53 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/foreachstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/foreachstatement/output_wasm/module.wat.txt @@ -179,25 +179,29 @@ ) ;;; Code for foreachstatement.ForEachStatement.Exception1 [itable.init] -(global $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception1 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception1 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception1 (ref $java.lang.Iterable.vtable) +) +(global $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception1 (ref $java.lang.Iterable.vtable) (struct.new $java.lang.Iterable.vtable (ref.func $m_forEach__java_util_function_Consumer__void@foreachstatement.ForEachStatement.Exception1) (ref.func $m_iterator__java_util_Iterator@foreachstatement.ForEachStatement.Exception1) (ref.func $m_spliterator__java_util_Spliterator@foreachstatement.ForEachStatement.Exception1) ) +) +(global $foreachstatement.ForEachStatement.Exception1.itable (ref $foreachstatement.ForEachStatement.Exception1.itable) + (struct.new $foreachstatement.ForEachStatement.Exception1.itable + (global.get $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception1) + (global.get $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $foreachstatement.ForEachStatement.Exception1.itable (ref $foreachstatement.ForEachStatement.Exception1.itable) (struct.new $foreachstatement.ForEachStatement.Exception1.itable - (global.get $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception1) - (global.get $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for foreachstatement.ForEachStatement.Exception2 [vtable.init] (global $foreachstatement.ForEachStatement.Exception2.vtable (ref $foreachstatement.ForEachStatement.Exception2.vtable) @@ -227,25 +231,29 @@ ) ;;; Code for foreachstatement.ForEachStatement.Exception2 [itable.init] -(global $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception2 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception2 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception2 (ref $java.lang.Iterable.vtable) +) +(global $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception2 (ref $java.lang.Iterable.vtable) (struct.new $java.lang.Iterable.vtable (ref.func $m_forEach__java_util_function_Consumer__void@foreachstatement.ForEachStatement.Exception2) (ref.func $m_iterator__java_util_Iterator@foreachstatement.ForEachStatement.Exception2) (ref.func $m_spliterator__java_util_Spliterator@foreachstatement.ForEachStatement.Exception2) ) +) +(global $foreachstatement.ForEachStatement.Exception2.itable (ref $foreachstatement.ForEachStatement.Exception2.itable) + (struct.new $foreachstatement.ForEachStatement.Exception2.itable + (global.get $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception2) + (global.get $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $foreachstatement.ForEachStatement.Exception2.itable (ref $foreachstatement.ForEachStatement.Exception2.itable) (struct.new $foreachstatement.ForEachStatement.Exception2.itable - (global.get $java.io.Serializable.vtable@$foreachstatement.ForEachStatement.Exception2) - (global.get $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.Exception2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for foreachstatement.ForEachStatement.IterableReturningTypeVariable [vtable.init] (global $foreachstatement.ForEachStatement.IterableReturningTypeVariable.vtable (ref $foreachstatement.ForEachStatement.IterableReturningTypeVariable.vtable) @@ -262,42 +270,69 @@ ) ;;; Code for foreachstatement.ForEachStatement.IterableReturningTypeVariable [itable.init] -(global $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.IterableReturningTypeVariable (ref $java.lang.Iterable.vtable) + +(global $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.IterableReturningTypeVariable (ref $java.lang.Iterable.vtable) (struct.new $java.lang.Iterable.vtable (ref.func $m_forEach__java_util_function_Consumer__void@foreachstatement.ForEachStatement.IterableReturningTypeVariable) (ref.func $m_iterator__java_util_Iterator@foreachstatement.ForEachStatement.IterableReturningTypeVariable) (ref.func $m_spliterator__java_util_Spliterator@foreachstatement.ForEachStatement.IterableReturningTypeVariable) ) +) +(global $foreachstatement.ForEachStatement.IterableReturningTypeVariable.itable (ref $foreachstatement.ForEachStatement.IterableReturningTypeVariable.itable) + (struct.new $foreachstatement.ForEachStatement.IterableReturningTypeVariable.itable + (ref.null struct) + (global.get $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.IterableReturningTypeVariable) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $foreachstatement.ForEachStatement.IterableReturningTypeVariable.itable (ref $foreachstatement.ForEachStatement.IterableReturningTypeVariable.itable) (struct.new $foreachstatement.ForEachStatement.IterableReturningTypeVariable.itable - (ref.null struct) - (global.get $java.lang.Iterable.vtable@$foreachstatement.ForEachStatement.IterableReturningTypeVariable) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for foreachstatement.ForEachStatement [static fields] -(global $f_$initialized__foreachstatement_ForEachStatement (mut i32) (i32.const 0)) -(global $f_$class__foreachstatement_ForEachStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__foreachstatement_ForEachStatement (mut i32) + (i32.const 0) +) +(global $f_$class__foreachstatement_ForEachStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for foreachstatement.ForEachStatement.Exception1 [static fields] -(global $f_$initialized__foreachstatement_ForEachStatement_Exception1 (mut i32) (i32.const 0)) -(global $f_$class__foreachstatement_ForEachStatement_Exception1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement_Exception1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__foreachstatement_ForEachStatement_Exception1 (mut i32) + (i32.const 0) +) +(global $f_$class__foreachstatement_ForEachStatement_Exception1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement_Exception1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for foreachstatement.ForEachStatement.Exception2 [static fields] -(global $f_$initialized__foreachstatement_ForEachStatement_Exception2 (mut i32) (i32.const 0)) -(global $f_$class__foreachstatement_ForEachStatement_Exception2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement_Exception2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__foreachstatement_ForEachStatement_Exception2 (mut i32) + (i32.const 0) +) +(global $f_$class__foreachstatement_ForEachStatement_Exception2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement_Exception2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for foreachstatement.ForEachStatement.IterableReturningTypeVariable [static fields] -(global $f_$initialized__foreachstatement_ForEachStatement_IterableReturningTypeVariable (mut i32) (i32.const 0)) -(global $f_$class__foreachstatement_ForEachStatement_IterableReturningTypeVariable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement_IterableReturningTypeVariable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__foreachstatement_ForEachStatement_IterableReturningTypeVariable (mut i32) + (i32.const 0) +) +(global $f_$class__foreachstatement_ForEachStatement_IterableReturningTypeVariable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foreachstate...|__foreachstatement_ForEachStatement_IterableReturningTypeVariable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for foreachstatement.ForEachStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/forstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/forstatement/output_wasm/module.wat.txt index 794c4c9821..074fef21f2 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/forstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/forstatement/output_wasm/module.wat.txt @@ -34,9 +34,15 @@ ) ;;; Code for forstatement.ForStatement [static fields] -(global $f_$initialized__forstatement_ForStatement (mut i32) (i32.const 0)) -(global $f_$class__forstatement_ForStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|forstatement...|__forstatement_ForStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__forstatement_ForStatement (mut i32) + (i32.const 0) +) +(global $f_$class__forstatement_ForStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|forstatement...|__forstatement_ForStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for forstatement.ForStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/functionalinterface/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/functionalinterface/output_wasm/module.wat.txt index 4c355b81f6..95398e7c72 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/functionalinterface/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/functionalinterface/output_wasm/module.wat.txt @@ -72,44 +72,92 @@ ) ;;; Code for functionalinterface.FunctionalInterfaces [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.NonParametrized [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_NonParametrized (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_NonParametrized (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_NonParametrized (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_NonParametrized (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_NonParametrized (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_NonParametrized (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.Parametrized [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_Parametrized (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_Parametrized (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_Parametrized (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_Parametrized (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_Parametrized (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_Parametrized (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.Specialized [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_Specialized (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_Specialized (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_Specialized (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_Specialized (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_Specialized (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_Specialized (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.WithDefaultMethod [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithDefaultMethod (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_WithDefaultMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithDefaultMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithDefaultMethod (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_WithDefaultMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithDefaultMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.WithObjectMethods [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithObjectMethods (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_WithObjectMethods (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithObjectMethods (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithObjectMethods (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_WithObjectMethods (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithObjectMethods (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.WithParametrizedMethod [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithParametrizedMethod (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_WithParametrizedMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithParametrizedMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithParametrizedMethod (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_WithParametrizedMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithParametrizedMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.WithKtProperty [static fields] -(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithKtProperty (mut i32) (i32.const 0)) -(global $f_$class__functionalinterface_FunctionalInterfaces_WithKtProperty (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithKtProperty (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functionalinterface_FunctionalInterfaces_WithKtProperty (mut i32) + (i32.const 0) +) +(global $f_$class__functionalinterface_FunctionalInterfaces_WithKtProperty (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functionalin...|__functionalinterface_FunctionalInterfaces_WithKtProperty (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functionalinterface.FunctionalInterfaces.NonParametrized [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/functiontype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/functiontype/output_wasm/module.wat.txt index 33e18c96b6..684862acbd 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/functiontype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/functiontype/output_wasm/module.wat.txt @@ -42,29 +42,44 @@ ) ;;; Code for functiontype.FunctionImpl [itable.init] -(global $functiontype.Function.vtable@$functiontype.FunctionImpl (ref $functiontype.Function.vtable) + +(global $functiontype.Function.vtable@$functiontype.FunctionImpl (ref $functiontype.Function.vtable) (struct.new $functiontype.Function.vtable ) +) +(global $functiontype.FunctionImpl.itable (ref $functiontype.FunctionImpl.itable) + (struct.new $functiontype.FunctionImpl.itable + (global.get $functiontype.Function.vtable@$functiontype.FunctionImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $functiontype.FunctionImpl.itable (ref $functiontype.FunctionImpl.itable) (struct.new $functiontype.FunctionImpl.itable - (global.get $functiontype.Function.vtable@$functiontype.FunctionImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for functiontype.Function [static fields] -(global $f_$initialized__functiontype_Function (mut i32) (i32.const 0)) -(global $f_$class__functiontype_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functiontype...|__functiontype_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functiontype_Function (mut i32) + (i32.const 0) +) +(global $f_$class__functiontype_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functiontype...|__functiontype_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functiontype.FunctionImpl [static fields] -(global $f_$initialized__functiontype_FunctionImpl (mut i32) (i32.const 0)) -(global $f_$class__functiontype_FunctionImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|functiontype...|__functiontype_FunctionImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__functiontype_FunctionImpl (mut i32) + (i32.const 0) +) +(global $f_$class__functiontype_FunctionImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|functiontype...|__functiontype_FunctionImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for functiontype.Function [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/genericanddefaultmethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/genericanddefaultmethods/output_wasm/module.wat.txt index 5d28f00db3..861cd0f988 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/genericanddefaultmethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/genericanddefaultmethods/output_wasm/module.wat.txt @@ -74,37 +74,62 @@ ) ;;; Code for genericanddefaultmethods.ConcreteClass [itable.init] -(global $genericanddefaultmethods.InterfaceWithDefault.vtable@$genericanddefaultmethods.ConcreteClass (ref $genericanddefaultmethods.InterfaceWithDefault.vtable) + +(global $genericanddefaultmethods.InterfaceWithDefault.vtable@$genericanddefaultmethods.ConcreteClass (ref $genericanddefaultmethods.InterfaceWithDefault.vtable) (struct.new $genericanddefaultmethods.InterfaceWithDefault.vtable (ref.func $m_foo__java_lang_String__void@genericanddefaultmethods.ConcreteClass) ) +) +(global $genericanddefaultmethods.ConcreteClass.itable (ref $genericanddefaultmethods.ConcreteClass.itable) + (struct.new $genericanddefaultmethods.ConcreteClass.itable + (global.get $genericanddefaultmethods.InterfaceWithDefault.vtable@$genericanddefaultmethods.ConcreteClass) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $genericanddefaultmethods.ConcreteClass.itable (ref $genericanddefaultmethods.ConcreteClass.itable) (struct.new $genericanddefaultmethods.ConcreteClass.itable - (global.get $genericanddefaultmethods.InterfaceWithDefault.vtable@$genericanddefaultmethods.ConcreteClass) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for genericanddefaultmethods.InterfaceWithDefault [static fields] -(global $f_$initialized__genericanddefaultmethods_InterfaceWithDefault (mut i32) (i32.const 0)) -(global $f_$class__genericanddefaultmethods_InterfaceWithDefault (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|in_Interface...|__genericanddefaultmethods_InterfaceWithDefault (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|genericandde...|__genericanddefaultmethods_InterfaceWithDefault (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericanddefaultmethods_InterfaceWithDefault (mut i32) + (i32.const 0) +) +(global $f_$class__genericanddefaultmethods_InterfaceWithDefault (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|in_Interface...|__genericanddefaultmethods_InterfaceWithDefault (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|genericandde...|__genericanddefaultmethods_InterfaceWithDefault (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericanddefaultmethods.GenericClass [static fields] -(global $f_$initialized__genericanddefaultmethods_GenericClass (mut i32) (i32.const 0)) -(global $f_$class__genericanddefaultmethods_GenericClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|in_GenericClass|__genericanddefaultmethods_GenericClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|genericandde...|__genericanddefaultmethods_GenericClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericanddefaultmethods_GenericClass (mut i32) + (i32.const 0) +) +(global $f_$class__genericanddefaultmethods_GenericClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|in_GenericClass|__genericanddefaultmethods_GenericClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|genericandde...|__genericanddefaultmethods_GenericClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericanddefaultmethods.ConcreteClass [static fields] -(global $f_$initialized__genericanddefaultmethods_ConcreteClass (mut i32) (i32.const 0)) -(global $f_$class__genericanddefaultmethods_ConcreteClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericandde...|__genericanddefaultmethods_ConcreteClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericanddefaultmethods_ConcreteClass (mut i32) + (i32.const 0) +) +(global $f_$class__genericanddefaultmethods_ConcreteClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericandde...|__genericanddefaultmethods_ConcreteClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericanddefaultmethods.InterfaceWithDefault [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/genericconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/genericconstructor/output_wasm/module.wat.txt index f0ba7754f7..a5e15e7ef1 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/genericconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/genericconstructor/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for genericconstructor.GenericConstructor [static fields] -(global $f_$initialized__genericconstructor_GenericConstructor (mut i32) (i32.const 0)) -(global $f_$class__genericconstructor_GenericConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericconst...|__genericconstructor_GenericConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericconstructor_GenericConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__genericconstructor_GenericConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericconst...|__genericconstructor_GenericConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericconstructor.GenericConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/genericequals/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/genericequals/output_wasm/module.wat.txt index 74b890c883..84b5f55663 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/genericequals/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/genericequals/output_wasm/module.wat.txt @@ -30,9 +30,15 @@ ) ;;; Code for genericequals.GenericEquals [static fields] -(global $f_$initialized__genericequals_GenericEquals (mut i32) (i32.const 0)) -(global $f_$class__genericequals_GenericEquals (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericequal...|__genericequals_GenericEquals (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericequals_GenericEquals (mut i32) + (i32.const 0) +) +(global $f_$class__genericequals_GenericEquals (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericequal...|__genericequals_GenericEquals (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericequals.GenericEquals [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/genericinterfaceabstractimpl/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/genericinterfaceabstractimpl/output_wasm/module.wat.txt index d8e46d4970..6ce271a2de 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/genericinterfaceabstractimpl/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/genericinterfaceabstractimpl/output_wasm/module.wat.txt @@ -31,14 +31,26 @@ ))) ;;; Code for genericinterfaceabstractimpl.MyInterface [static fields] -(global $f_$initialized__genericinterfaceabstractimpl_MyInterface (mut i32) (i32.const 0)) -(global $f_$class__genericinterfaceabstractimpl_MyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericinter...|__genericinterfaceabstractimpl_MyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericinterfaceabstractimpl_MyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__genericinterfaceabstractimpl_MyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericinter...|__genericinterfaceabstractimpl_MyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericinterfaceabstractimpl.AbstractImpl [static fields] -(global $f_$initialized__genericinterfaceabstractimpl_AbstractImpl (mut i32) (i32.const 0)) -(global $f_$class__genericinterfaceabstractimpl_AbstractImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericinter...|__genericinterfaceabstractimpl_AbstractImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericinterfaceabstractimpl_AbstractImpl (mut i32) + (i32.const 0) +) +(global $f_$class__genericinterfaceabstractimpl_AbstractImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericinter...|__genericinterfaceabstractimpl_AbstractImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericinterfaceabstractimpl.MyInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/genericmethod/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/genericmethod/output_wasm/module.wat.txt index bbe488d95c..7e0dfacc2a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/genericmethod/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/genericmethod/output_wasm/module.wat.txt @@ -243,45 +243,95 @@ ) ;;; Code for genericmethod.GenericMethod [static fields] -(global $f_$initialized__genericmethod_GenericMethod (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|asdf|__genericmethod_GenericMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|asdf|__genericmethod_GenericMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.1 [static fields] -(global $f_$initialized__genericmethod_GenericMethod_1 (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_1 (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.SuperContainer [static fields] -(global $f_$initialized__genericmethod_GenericMethod_SuperContainer (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_SuperContainer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_SuperContainer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_SuperContainer (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_SuperContainer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_SuperContainer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.Container [static fields] -(global $f_$initialized__genericmethod_GenericMethod_Container (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_Container (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Container (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_Container (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_Container (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Container (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.Content [static fields] -(global $f_$initialized__genericmethod_GenericMethod_Content (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_Content (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Content (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_Content (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_Content (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Content (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.Consumer [static fields] -(global $f_$initialized__genericmethod_GenericMethod_Consumer (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_Consumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Consumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_Consumer (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_Consumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Consumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.Supplier [static fields] -(global $f_$initialized__genericmethod_GenericMethod_Supplier (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_Supplier (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Supplier (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_Supplier (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_Supplier (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_Supplier (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.1LocalClass [static fields] -(global $f_$initialized__genericmethod_GenericMethod_1LocalClass (mut i32) (i32.const 0)) -(global $f_$class__genericmethod_GenericMethod_1LocalClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_1LocalClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericmethod_GenericMethod_1LocalClass (mut i32) + (i32.const 0) +) +(global $f_$class__genericmethod_GenericMethod_1LocalClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericmetho...|__genericmethod_GenericMethod_1LocalClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericmethod.GenericMethod.Consumer [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/genericnativetype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/genericnativetype/output_wasm/module.wat.txt index 2e98c36541..6b7c1ae720 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/genericnativetype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/genericnativetype/output_wasm/module.wat.txt @@ -48,14 +48,26 @@ ;;; Code for genericnativetype.BoundedJsArray [static fields] ;;; Code for genericnativetype.BoundedJsArray.$Overlay [static fields] -(global $f_$initialized__genericnativetype_BoundedJsArray_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__genericnativetype_BoundedJsArray_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericnativ...|__genericnativetype_BoundedJsArray_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericnativetype_BoundedJsArray_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__genericnativetype_BoundedJsArray_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericnativ...|__genericnativetype_BoundedJsArray_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericnativetype.BoundedJsArrays [static fields] -(global $f_$initialized__genericnativetype_BoundedJsArrays (mut i32) (i32.const 0)) -(global $f_$class__genericnativetype_BoundedJsArrays (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|genericnativ...|__genericnativetype_BoundedJsArrays (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__genericnativetype_BoundedJsArrays (mut i32) + (i32.const 0) +) +(global $f_$class__genericnativetype_BoundedJsArrays (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|genericnativ...|__genericnativetype_BoundedJsArrays (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for genericnativetype.BoundedJsArray.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/gwtincompatible/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/gwtincompatible/output_wasm/module.wat.txt index fab095296b..9515fef67f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/gwtincompatible/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/gwtincompatible/output_wasm/module.wat.txt @@ -134,22 +134,26 @@ ) ;;; Code for gwtincompatible.Implementor [itable.init] -(global $gwtincompatible.Interface.vtable@$gwtincompatible.Implementor (ref $gwtincompatible.Interface.vtable) + +(global $gwtincompatible.Interface.vtable@$gwtincompatible.Implementor (ref $gwtincompatible.Interface.vtable) (struct.new $gwtincompatible.Interface.vtable ) - )(global $gwtincompatible.Interface.NestedInterface.vtable@$gwtincompatible.Implementor (ref $gwtincompatible.Interface.NestedInterface.vtable) +) +(global $gwtincompatible.Interface.NestedInterface.vtable@$gwtincompatible.Implementor (ref $gwtincompatible.Interface.NestedInterface.vtable) (struct.new $gwtincompatible.Interface.NestedInterface.vtable ) +) +(global $gwtincompatible.Implementor.itable (ref $gwtincompatible.Implementor.itable) + (struct.new $gwtincompatible.Implementor.itable + (global.get $gwtincompatible.Interface.vtable@$gwtincompatible.Implementor) + (global.get $gwtincompatible.Interface.NestedInterface.vtable@$gwtincompatible.Implementor) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $gwtincompatible.Implementor.itable (ref $gwtincompatible.Implementor.itable) (struct.new $gwtincompatible.Implementor.itable - (global.get $gwtincompatible.Interface.vtable@$gwtincompatible.Implementor) - (global.get $gwtincompatible.Interface.NestedInterface.vtable@$gwtincompatible.Implementor) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for gwtincompatible.Implementor.SomeEnum.1 [vtable.init] (global $gwtincompatible.Implementor.SomeEnum.1.vtable (ref $gwtincompatible.Implementor.SomeEnum.1.vtable) @@ -169,61 +173,113 @@ ) ;;; Code for gwtincompatible.Implementor.SomeEnum.1 [itable.init] -(global $java.io.Serializable.vtable@$gwtincompatible.Implementor.SomeEnum.1 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$gwtincompatible.Implementor.SomeEnum.1 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$gwtincompatible.Implementor.SomeEnum.1 (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$gwtincompatible.Implementor.SomeEnum.1 (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $gwtincompatible.Implementor.SomeEnum.1.itable (ref $gwtincompatible.Implementor.SomeEnum.1.itable) + (struct.new $gwtincompatible.Implementor.SomeEnum.1.itable + (global.get $java.io.Serializable.vtable@$gwtincompatible.Implementor.SomeEnum.1) + (global.get $java.lang.Comparable.vtable@$gwtincompatible.Implementor.SomeEnum.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $gwtincompatible.Implementor.SomeEnum.1.itable (ref $gwtincompatible.Implementor.SomeEnum.1.itable) (struct.new $gwtincompatible.Implementor.SomeEnum.1.itable - (global.get $java.io.Serializable.vtable@$gwtincompatible.Implementor.SomeEnum.1) - (global.get $java.lang.Comparable.vtable@$gwtincompatible.Implementor.SomeEnum.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for gwtincompatible.GwtIncompatible [static fields] -(global $f_$initialized__gwtincompatible_GwtIncompatible (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_GwtIncompatible (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|gwtincompati...|__gwtincompatible_GwtIncompatible (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__gwtincompatible_GwtIncompatible (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_GwtIncompatible (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_GwtIncompatible (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.Implementor [static fields] -(global $f_$initialized__gwtincompatible_Implementor (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_Implementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|gwtincompati...|__gwtincompatible_Implementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__gwtincompatible_Implementor (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_Implementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_Implementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.Implementor.SomeEnum.1 [static fields] -(global $f_$initialized__gwtincompatible_Implementor_SomeEnum_1 (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_Implementor_SomeEnum_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|gwtincompati...|__gwtincompatible_Implementor_SomeEnum_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__gwtincompatible_Implementor_SomeEnum_1 (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_Implementor_SomeEnum_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_Implementor_SomeEnum_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.Implementor.SomeEnum [static fields] -(global $f_COMPATIBLE__gwtincompatible_Implementor_SomeEnum (mut (ref null $gwtincompatible.Implementor.SomeEnum)) (ref.null $gwtincompatible.Implementor.SomeEnum)) -(global $f_namesToValuesMap__gwtincompatible_Implementor_SomeEnum_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__gwtincompatible_Implementor_SomeEnum (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_Implementor_SomeEnum (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|COMPATIBLE|__gwtincompatible_Implementor_SomeEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|gwtincompati...|__gwtincompatible_Implementor_SomeEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_COMPATIBLE__gwtincompatible_Implementor_SomeEnum (mut (ref null $gwtincompatible.Implementor.SomeEnum)) + (ref.null $gwtincompatible.Implementor.SomeEnum) +) +(global $f_namesToValuesMap__gwtincompatible_Implementor_SomeEnum_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__gwtincompatible_Implementor_SomeEnum (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_Implementor_SomeEnum (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|COMPATIBLE|__gwtincompatible_Implementor_SomeEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_Implementor_SomeEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.Interface [static fields] -(global $f_$initialized__gwtincompatible_Interface (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_Interface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|gwtincompati...|__gwtincompatible_Interface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__gwtincompatible_Interface (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_Interface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_Interface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.Interface.NestedInterface [static fields] -(global $f_$initialized__gwtincompatible_Interface_NestedInterface (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_Interface_NestedInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|gwtincompati...|__gwtincompatible_Interface_NestedInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__gwtincompatible_Interface_NestedInterface (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_Interface_NestedInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_Interface_NestedInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.Interface.ClassWithAbstractMethod [static fields] -(global $f_$initialized__gwtincompatible_Interface_ClassWithAbstractMethod (mut i32) (i32.const 0)) -(global $f_$class__gwtincompatible_Interface_ClassWithAbstractMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|gwtincompati...|__gwtincompatible_Interface_ClassWithAbstractMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__gwtincompatible_Interface_ClassWithAbstractMethod (mut i32) + (i32.const 0) +) +(global $f_$class__gwtincompatible_Interface_ClassWithAbstractMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|gwtincompati...|__gwtincompatible_Interface_ClassWithAbstractMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for gwtincompatible.GwtIncompatible [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/ifstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/ifstatement/output_wasm/module.wat.txt index 53630744e1..78edb43f0a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/ifstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/ifstatement/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for ifstatement.IfStatement [static fields] -(global $f_$initialized__ifstatement_IfStatement (mut i32) (i32.const 0)) -(global $f_$class__ifstatement_IfStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|ifstatement....|__ifstatement_IfStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__ifstatement_IfStatement (mut i32) + (i32.const 0) +) +(global $f_$class__ifstatement_IfStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|ifstatement....|__ifstatement_IfStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for ifstatement.IfStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/implementsgenericinterface/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/implementsgenericinterface/output_wasm/module.wat.txt index e3f3889e40..db98f36242 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/implementsgenericinterface/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/implementsgenericinterface/output_wasm/module.wat.txt @@ -70,19 +70,22 @@ ) ;;; Code for implementsgenericinterface.GenericInterfaceGenericImpl [itable.init] -(global $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceGenericImpl (ref $implementsgenericinterface.GenericInterface.vtable) + +(global $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceGenericImpl (ref $implementsgenericinterface.GenericInterface.vtable) (struct.new $implementsgenericinterface.GenericInterface.vtable ) +) +(global $implementsgenericinterface.GenericInterfaceGenericImpl.itable (ref $implementsgenericinterface.GenericInterfaceGenericImpl.itable) + (struct.new $implementsgenericinterface.GenericInterfaceGenericImpl.itable + (global.get $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceGenericImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $implementsgenericinterface.GenericInterfaceGenericImpl.itable (ref $implementsgenericinterface.GenericInterfaceGenericImpl.itable) (struct.new $implementsgenericinterface.GenericInterfaceGenericImpl.itable - (global.get $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceGenericImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for implementsgenericinterface.GenericInterfaceImpl [vtable.init] (global $implementsgenericinterface.GenericInterfaceImpl.vtable (ref $implementsgenericinterface.GenericInterfaceImpl.vtable) @@ -96,39 +99,66 @@ ) ;;; Code for implementsgenericinterface.GenericInterfaceImpl [itable.init] -(global $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceImpl (ref $implementsgenericinterface.GenericInterface.vtable) + +(global $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceImpl (ref $implementsgenericinterface.GenericInterface.vtable) (struct.new $implementsgenericinterface.GenericInterface.vtable ) +) +(global $implementsgenericinterface.GenericInterfaceImpl.itable (ref $implementsgenericinterface.GenericInterfaceImpl.itable) + (struct.new $implementsgenericinterface.GenericInterfaceImpl.itable + (global.get $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $implementsgenericinterface.GenericInterfaceImpl.itable (ref $implementsgenericinterface.GenericInterfaceImpl.itable) (struct.new $implementsgenericinterface.GenericInterfaceImpl.itable - (global.get $implementsgenericinterface.GenericInterface.vtable@$implementsgenericinterface.GenericInterfaceImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for implementsgenericinterface.GenericInterface [static fields] -(global $f_$initialized__implementsgenericinterface_GenericInterface (mut i32) (i32.const 0)) -(global $f_$class__implementsgenericinterface_GenericInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|implementsge...|__implementsgenericinterface_GenericInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__implementsgenericinterface_GenericInterface (mut i32) + (i32.const 0) +) +(global $f_$class__implementsgenericinterface_GenericInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|implementsge...|__implementsgenericinterface_GenericInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for implementsgenericinterface.GenericSubInterface [static fields] -(global $f_$initialized__implementsgenericinterface_GenericSubInterface (mut i32) (i32.const 0)) -(global $f_$class__implementsgenericinterface_GenericSubInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|implementsge...|__implementsgenericinterface_GenericSubInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__implementsgenericinterface_GenericSubInterface (mut i32) + (i32.const 0) +) +(global $f_$class__implementsgenericinterface_GenericSubInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|implementsge...|__implementsgenericinterface_GenericSubInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for implementsgenericinterface.GenericInterfaceGenericImpl [static fields] -(global $f_$initialized__implementsgenericinterface_GenericInterfaceGenericImpl (mut i32) (i32.const 0)) -(global $f_$class__implementsgenericinterface_GenericInterfaceGenericImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|implementsge...|__implementsgenericinterface_GenericInterfaceGenericImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__implementsgenericinterface_GenericInterfaceGenericImpl (mut i32) + (i32.const 0) +) +(global $f_$class__implementsgenericinterface_GenericInterfaceGenericImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|implementsge...|__implementsgenericinterface_GenericInterfaceGenericImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for implementsgenericinterface.GenericInterfaceImpl [static fields] -(global $f_$initialized__implementsgenericinterface_GenericInterfaceImpl (mut i32) (i32.const 0)) -(global $f_$class__implementsgenericinterface_GenericInterfaceImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|implementsge...|__implementsgenericinterface_GenericInterfaceImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__implementsgenericinterface_GenericInterfaceImpl (mut i32) + (i32.const 0) +) +(global $f_$class__implementsgenericinterface_GenericInterfaceImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|implementsge...|__implementsgenericinterface_GenericInterfaceImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for implementsgenericinterface.GenericInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/implicitparenthesis/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/implicitparenthesis/output_wasm/module.wat.txt index 130625ac18..2d2d671f0a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/implicitparenthesis/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/implicitparenthesis/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for implicitparenthesis.ImplicitParenthesis [static fields] -(global $f_$initialized__implicitparenthesis_ImplicitParenthesis (mut i32) (i32.const 0)) -(global $f_$class__implicitparenthesis_ImplicitParenthesis (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|implicitpare...|__implicitparenthesis_ImplicitParenthesis (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__implicitparenthesis_ImplicitParenthesis (mut i32) + (i32.const 0) +) +(global $f_$class__implicitparenthesis_ImplicitParenthesis (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|implicitpare...|__implicitparenthesis_ImplicitParenthesis (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for implicitparenthesis.ImplicitParenthesis [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/importglobaljstypes/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/importglobaljstypes/output_wasm/module.wat.txt index 9b0a1a94ec..39f0128f46 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/importglobaljstypes/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/importglobaljstypes/output_wasm/module.wat.txt @@ -138,49 +138,95 @@ ) ;;; Code for importglobaljstypes.Date [static fields] -(global $f_$initialized__importglobaljstypes_Date (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_Date (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importglobal...|__importglobaljstypes_Date (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_Date (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_Date (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importglobal...|__importglobaljstypes_Date (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.Date.NativeDate [static fields] ;;; Code for importglobaljstypes.Date.NativeDate.$Overlay [static fields] -(global $f_$initialized__importglobaljstypes_Date_NativeDate_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_Date_NativeDate_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importglobal...|__importglobaljstypes_Date_NativeDate_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_Date_NativeDate_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_Date_NativeDate_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importglobal...|__importglobaljstypes_Date_NativeDate_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.Number [static fields] -(global $f_$initialized__importglobaljstypes_Number (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_Number (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importglobal...|__importglobaljstypes_Number (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_Number (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_Number (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importglobal...|__importglobaljstypes_Number (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.Number.NativeFunction [static fields] ;;; Code for importglobaljstypes.Number.MyLiteralType [static fields] ;;; Code for importglobaljstypes.Number.NativeFunction.$Overlay [static fields] -(global $f_$initialized__importglobaljstypes_Number_NativeFunction_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_Number_NativeFunction_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importglobal...|__importglobaljstypes_Number_NativeFunction_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_Number_NativeFunction_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_Number_NativeFunction_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importglobal...|__importglobaljstypes_Number_NativeFunction_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.Number.MyLiteralType.$Overlay [static fields] -(global $f_$initialized__importglobaljstypes_Number_MyLiteralType_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_Number_MyLiteralType_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importglobal...|__importglobaljstypes_Number_MyLiteralType_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_Number_MyLiteralType_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_Number_MyLiteralType_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importglobal...|__importglobaljstypes_Number_MyLiteralType_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.RegExp [static fields] -(global $f_$initialized__importglobaljstypes_RegExp (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_RegExp (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|teststring|__importglobaljstypes_RegExp (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|restString|__importglobaljstypes_RegExp (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|importglobal...|__importglobaljstypes_RegExp (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_RegExp (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_RegExp (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|teststring|__importglobaljstypes_RegExp (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|restString|__importglobaljstypes_RegExp (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|importglobal...|__importglobaljstypes_RegExp (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.RegExp.NativeRegExp [static fields] ;;; Code for importglobaljstypes.RegExp.NativeRegExp.$Overlay [static fields] -(global $f_$initialized__importglobaljstypes_RegExp_NativeRegExp_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__importglobaljstypes_RegExp_NativeRegExp_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importglobal...|__importglobaljstypes_RegExp_NativeRegExp_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importglobaljstypes_RegExp_NativeRegExp_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__importglobaljstypes_RegExp_NativeRegExp_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importglobal...|__importglobaljstypes_RegExp_NativeRegExp_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importglobaljstypes.Date.NativeDate.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/importsfullyqualified/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/importsfullyqualified/output_wasm/module.wat.txt index 5daf8a4324..0d24ace240 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/importsfullyqualified/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/importsfullyqualified/output_wasm/module.wat.txt @@ -35,24 +35,33 @@ ) ;;; Code for importsfullyqualified.ImportsFullyQualified [itable.init] -(global $java.io.Serializable.vtable@$importsfullyqualified.ImportsFullyQualified (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$importsfullyqualified.ImportsFullyQualified (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) +) +(global $importsfullyqualified.ImportsFullyQualified.itable (ref $importsfullyqualified.ImportsFullyQualified.itable) + (struct.new $importsfullyqualified.ImportsFullyQualified.itable + (global.get $java.io.Serializable.vtable@$importsfullyqualified.ImportsFullyQualified) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $importsfullyqualified.ImportsFullyQualified.itable (ref $importsfullyqualified.ImportsFullyQualified.itable) (struct.new $importsfullyqualified.ImportsFullyQualified.itable - (global.get $java.io.Serializable.vtable@$importsfullyqualified.ImportsFullyQualified) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for importsfullyqualified.ImportsFullyQualified [static fields] -(global $f_$initialized__importsfullyqualified_ImportsFullyQualified (mut i32) (i32.const 0)) -(global $f_$class__importsfullyqualified_ImportsFullyQualified (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|importsfully...|__importsfullyqualified_ImportsFullyQualified (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__importsfullyqualified_ImportsFullyQualified (mut i32) + (i32.const 0) +) +(global $f_$class__importsfullyqualified_ImportsFullyQualified (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|importsfully...|__importsfullyqualified_ImportsFullyQualified (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for importsfullyqualified.ImportsFullyQualified [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/inferreturn/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/inferreturn/output_wasm/module.wat.txt index 109aff403c..ff860a6bc3 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/inferreturn/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/inferreturn/output_wasm/module.wat.txt @@ -26,10 +26,18 @@ ) ;;; Code for inferreturn.InferReturn [static fields] -(global $f_$initialized__inferreturn_InferReturn (mut i32) (i32.const 0)) -(global $f_$class__inferreturn_InferReturn (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foo|__inferreturn_InferReturn (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|inferreturn....|__inferreturn_InferReturn (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__inferreturn_InferReturn (mut i32) + (i32.const 0) +) +(global $f_$class__inferreturn_InferReturn (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foo|__inferreturn_InferReturn (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|inferreturn....|__inferreturn_InferReturn (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for inferreturn.InferReturn [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/initmethoddispatch/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/initmethoddispatch/output_wasm/module.wat.txt index 70e8102dbd..147ebc6659 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/initmethoddispatch/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/initmethoddispatch/output_wasm/module.wat.txt @@ -27,9 +27,15 @@ ) ;;; Code for initmethoddispatch.InitMethodDispatch [static fields] -(global $f_$initialized__initmethoddispatch_InitMethodDispatch (mut i32) (i32.const 0)) -(global $f_$class__initmethoddispatch_InitMethodDispatch (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|initmethoddi...|__initmethoddispatch_InitMethodDispatch (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__initmethoddispatch_InitMethodDispatch (mut i32) + (i32.const 0) +) +(global $f_$class__initmethoddispatch_InitMethodDispatch (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|initmethoddi...|__initmethoddispatch_InitMethodDispatch (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for initmethoddispatch.InitMethodDispatch [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/innerclassinheritance/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/innerclassinheritance/output_wasm/module.wat.txt index e555dd9fff..d692db2056 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/innerclassinheritance/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/innerclassinheritance/output_wasm/module.wat.txt @@ -296,49 +296,103 @@ ) ;;; Code for innerclassinheritance.ParentOuter [static fields] -(global $f_$initialized__innerclassinheritance_ParentOuter (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_ParentOuter (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_ParentOuter (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_ParentOuter (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_ParentOuter (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_ParentOuter (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.ParentInner [static fields] -(global $f_$initialized__innerclassinheritance_ParentInner (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_ParentInner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_ParentInner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_ParentInner (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_ParentInner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_ParentInner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.ChildClass [static fields] -(global $f_$initialized__innerclassinheritance_ChildClass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_ChildClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_ChildClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_ChildClass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_ChildClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_ChildClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.ChildClass.InnerClass [static fields] -(global $f_$initialized__innerclassinheritance_ChildClass_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_ChildClass_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_ChildClass_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_ChildClass_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_ChildClass_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_ChildClass_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.ChildClass.1LocalClass [static fields] -(global $f_$initialized__innerclassinheritance_ChildClass_1LocalClass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_ChildClass_1LocalClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_ChildClass_1LocalClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_ChildClass_1LocalClass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_ChildClass_1LocalClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_ChildClass_1LocalClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.MultipleNestings [static fields] -(global $f_$initialized__innerclassinheritance_MultipleNestings (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_MultipleNestings (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_MultipleNestings (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_MultipleNestings (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.MultipleNestings.Parent [static fields] -(global $f_$initialized__innerclassinheritance_MultipleNestings_Parent (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_MultipleNestings_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_MultipleNestings_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_MultipleNestings_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.MultipleNestings.InnerClass1.InnerClass2 [static fields] -(global $f_$initialized__innerclassinheritance_MultipleNestings_InnerClass1_InnerClass2 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_MultipleNestings_InnerClass1_InnerClass2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings_InnerClass1_InnerClass2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_MultipleNestings_InnerClass1_InnerClass2 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_MultipleNestings_InnerClass1_InnerClass2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings_InnerClass1_InnerClass2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.MultipleNestings.InnerClass1 [static fields] -(global $f_$initialized__innerclassinheritance_MultipleNestings_InnerClass1 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinheritance_MultipleNestings_InnerClass1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings_InnerClass1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinheritance_MultipleNestings_InnerClass1 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinheritance_MultipleNestings_InnerClass1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinheritance_MultipleNestings_InnerClass1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinheritance.ParentOuter [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/innerclassinitorder/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/innerclassinitorder/output_wasm/module.wat.txt index 0d80eead05..dfeba0cac3 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/innerclassinitorder/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/innerclassinitorder/output_wasm/module.wat.txt @@ -855,144 +855,312 @@ ) ;;; Code for innerclassinitorder.InnerClassInitOrder [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.1 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_1 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_1 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.2 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_2 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_2 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.3 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_3 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_3 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.4 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_4 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_4 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_4 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_4 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_4 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_4 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.OuterRefFromSuperCtorBase [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorBase (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorBase (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorBase (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorBase (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorBase (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorBase (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.OuterRefFromSuperCtorCall.1 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall_1 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall_1 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.OuterRefFromSuperCtorCall [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromSuperCtorCall (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.OuterRefFromThisCtorCall.1 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall_1 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall_1 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.OuterRefFromThisCtorCall [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_OuterRefFromThisCtorCall (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.InnerClass.1ReallyInnerClass [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_InnerClass_1ReallyInnerClass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_InnerClass_1ReallyInnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_InnerClass_1ReallyInnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_InnerClass_1ReallyInnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_InnerClass_1ReallyInnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_InnerClass_1ReallyInnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.InnerClass [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.P1.P2.P3 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_P1_P2_P3 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_P1_P2_P3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_P1_P2_P3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_P1_P2_P3 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_P1_P2_P3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_P1_P2_P3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.P1.P2 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_P1_P2 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_P1_P2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_P1_P2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_P1_P2 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_P1_P2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_P1_P2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.P1 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_P1 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_P1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_P1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_P1 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_P1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_P1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.ESOuter.ESInner [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESOuter_ESInner (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESOuter_ESInner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESOuter_ESInner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESOuter_ESInner (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESOuter_ESInner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESOuter_ESInner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.ESOuter [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESOuter (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESOuter (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESOuter (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESOuter (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESOuter (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESOuter (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.ESInnerSubclass [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESInnerSubclass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESInnerSubclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESInnerSubclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESInnerSubclass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESInnerSubclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESInnerSubclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.ESWGOuter.ESWGInner [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESWGOuter_ESWGInner (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESWGOuter_ESWGInner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESWGOuter_ESWGInner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESWGOuter_ESWGInner (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESWGOuter_ESWGInner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESWGOuter_ESWGInner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.ESWGOuter [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESWGOuter (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESWGOuter (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESWGOuter (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESWGOuter (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESWGOuter (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESWGOuter (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.ESWGInnerSubclass [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESWGInnerSubclass (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESWGInnerSubclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESWGInnerSubclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_ESWGInnerSubclass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_ESWGInnerSubclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_ESWGInnerSubclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.Outer.OuterIsNotSuper [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsNotSuper (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsNotSuper (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsNotSuper (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsNotSuper (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsNotSuper (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsNotSuper (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.Outer.OuterIsSuper.1 [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper_1 (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper_1 (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.Outer.OuterIsSuper [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_OuterIsSuper (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.Outer.TestQualifiedSuperCall [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_TestQualifiedSuperCall (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_TestQualifiedSuperCall (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_TestQualifiedSuperCall (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_TestQualifiedSuperCall (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_TestQualifiedSuperCall (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_TestQualifiedSuperCall (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.Outer.TestUnqualifiedSuperCall [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_TestUnqualifiedSuperCall (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_TestUnqualifiedSuperCall (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_TestUnqualifiedSuperCall (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer_TestUnqualifiedSuperCall (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer_TestUnqualifiedSuperCall (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer_TestUnqualifiedSuperCall (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.Outer [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_Outer (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_Outer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_Outer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder.1AddNumber [static fields] -(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_1AddNumber (mut i32) (i32.const 0)) -(global $f_$class__innerclassinitorder_InnerClassInitOrder_1AddNumber (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_1AddNumber (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclassinitorder_InnerClassInitOrder_1AddNumber (mut i32) + (i32.const 0) +) +(global $f_$class__innerclassinitorder_InnerClassInitOrder_1AddNumber (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclassin...|__innerclassinitorder_InnerClassInitOrder_1AddNumber (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclassinitorder.InnerClassInitOrder [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/innerclasswithconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/innerclasswithconstructor/output_wasm/module.wat.txt index e378de8e02..d34de37736 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/innerclasswithconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/innerclasswithconstructor/output_wasm/module.wat.txt @@ -85,19 +85,37 @@ ) ;;; Code for innerclasswithconstructor.InnerClassWithConstructor [static fields] -(global $f_$initialized__innerclasswithconstructor_InnerClassWithConstructor (mut i32) (i32.const 0)) -(global $f_$class__innerclasswithconstructor_InnerClassWithConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclasswi...|__innerclasswithconstructor_InnerClassWithConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclasswithconstructor_InnerClassWithConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__innerclasswithconstructor_InnerClassWithConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclasswi...|__innerclasswithconstructor_InnerClassWithConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclasswithconstructor.InnerClassWithConstructor.InnerClass [static fields] -(global $f_$initialized__innerclasswithconstructor_InnerClassWithConstructor_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__innerclasswithconstructor_InnerClassWithConstructor_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclasswi...|__innerclasswithconstructor_InnerClassWithConstructor_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclasswithconstructor_InnerClassWithConstructor_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__innerclasswithconstructor_InnerClassWithConstructor_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclasswi...|__innerclasswithconstructor_InnerClassWithConstructor_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclasswithconstructor.InnerClassWithConstructor.InnerClassWithSingleConstructor [static fields] -(global $f_$initialized__innerclasswithconstructor_InnerClassWithConstructor_InnerClassWithSingleConstructor (mut i32) (i32.const 0)) -(global $f_$class__innerclasswithconstructor_InnerClassWithConstructor_InnerClassWithSingleConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|innerclasswi...|__innerclasswithconstructor_InnerClassWithConstructor_InnerClassWithSingleConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__innerclasswithconstructor_InnerClassWithConstructor_InnerClassWithSingleConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__innerclasswithconstructor_InnerClassWithConstructor_InnerClassWithSingleConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|innerclasswi...|__innerclasswithconstructor_InnerClassWithConstructor_InnerClassWithSingleConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for innerclasswithconstructor.InnerClassWithConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instancefieldaccesslevels/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instancefieldaccesslevels/output_wasm/module.wat.txt index 782da243dd..c3b0add7b4 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instancefieldaccesslevels/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instancefieldaccesslevels/output_wasm/module.wat.txt @@ -30,9 +30,15 @@ ) ;;; Code for instancefieldaccesslevels.InstanceFieldAccessLevels [static fields] -(global $f_$initialized__instancefieldaccesslevels_InstanceFieldAccessLevels (mut i32) (i32.const 0)) -(global $f_$class__instancefieldaccesslevels_InstanceFieldAccessLevels (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancefiel...|__instancefieldaccesslevels_InstanceFieldAccessLevels (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancefieldaccesslevels_InstanceFieldAccessLevels (mut i32) + (i32.const 0) +) +(global $f_$class__instancefieldaccesslevels_InstanceFieldAccessLevels (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancefiel...|__instancefieldaccesslevels_InstanceFieldAccessLevels (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancefieldaccesslevels.InstanceFieldAccessLevels [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instancefieldinitializer/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instancefieldinitializer/output_wasm/module.wat.txt index ba4a002817..c323b1eb9b 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instancefieldinitializer/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instancefieldinitializer/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for instancefieldinitializer.InstanceFieldInitializer [static fields] -(global $f_$initialized__instancefieldinitializer_InstanceFieldInitializer (mut i32) (i32.const 0)) -(global $f_$class__instancefieldinitializer_InstanceFieldInitializer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancefiel...|__instancefieldinitializer_InstanceFieldInitializer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancefieldinitializer_InstanceFieldInitializer (mut i32) + (i32.const 0) +) +(global $f_$class__instancefieldinitializer_InstanceFieldInitializer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancefiel...|__instancefieldinitializer_InstanceFieldInitializer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancefieldinitializer.InstanceFieldInitializer [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instanceinitializers/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instanceinitializers/output_wasm/module.wat.txt index 9a4fe380b3..a189e74790 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instanceinitializers/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instanceinitializers/output_wasm/module.wat.txt @@ -27,9 +27,15 @@ ) ;;; Code for instanceinitializers.InstanceInitializers [static fields] -(global $f_$initialized__instanceinitializers_InstanceInitializers (mut i32) (i32.const 0)) -(global $f_$class__instanceinitializers_InstanceInitializers (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instanceinit...|__instanceinitializers_InstanceInitializers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instanceinitializers_InstanceInitializers (mut i32) + (i32.const 0) +) +(global $f_$class__instanceinitializers_InstanceInitializers (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instanceinit...|__instanceinitializers_InstanceInitializers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instanceinitializers.InstanceInitializers [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instanceinnerclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instanceinnerclass/output_wasm/module.wat.txt index f911aa29ca..1e4a63b913 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instanceinnerclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instanceinnerclass/output_wasm/module.wat.txt @@ -63,14 +63,26 @@ ) ;;; Code for instanceinnerclass.InstanceInnerClass [static fields] -(global $f_$initialized__instanceinnerclass_InstanceInnerClass (mut i32) (i32.const 0)) -(global $f_$class__instanceinnerclass_InstanceInnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instanceinne...|__instanceinnerclass_InstanceInnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instanceinnerclass_InstanceInnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__instanceinnerclass_InstanceInnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instanceinne...|__instanceinnerclass_InstanceInnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instanceinnerclass.InstanceInnerClass.InnerClass [static fields] -(global $f_$initialized__instanceinnerclass_InstanceInnerClass_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__instanceinnerclass_InstanceInnerClass_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instanceinne...|__instanceinnerclass_InstanceInnerClass_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instanceinnerclass_InstanceInnerClass_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__instanceinnerclass_InstanceInnerClass_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instanceinne...|__instanceinnerclass_InstanceInnerClass_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instanceinnerclass.InstanceInnerClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instancejsmethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instancejsmethods/output_wasm/module.wat.txt index 21db350710..6e6a6b96c1 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instancejsmethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instancejsmethods/output_wasm/module.wat.txt @@ -130,20 +130,23 @@ ) ;;; Code for instancejsmethods.Child [itable.init] -(global $instancejsmethods.MyInterface.vtable@$instancejsmethods.Child (ref $instancejsmethods.MyInterface.vtable) + +(global $instancejsmethods.MyInterface.vtable@$instancejsmethods.Child (ref $instancejsmethods.MyInterface.vtable) (struct.new $instancejsmethods.MyInterface.vtable (ref.func $m_intfFoo__int@instancejsmethods.Child) ) +) +(global $instancejsmethods.Child.itable (ref $instancejsmethods.Child.itable) + (struct.new $instancejsmethods.Child.itable + (global.get $instancejsmethods.MyInterface.vtable@$instancejsmethods.Child) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $instancejsmethods.Child.itable (ref $instancejsmethods.Child.itable) (struct.new $instancejsmethods.Child.itable - (global.get $instancejsmethods.MyInterface.vtable@$instancejsmethods.Child) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for instancejsmethods.Main [vtable.init] (global $instancejsmethods.Main.vtable (ref $instancejsmethods.Main.vtable) @@ -158,29 +161,59 @@ ) ;;; Code for instancejsmethods.MyInterface [static fields] -(global $f_$initialized__instancejsmethods_MyInterface (mut i32) (i32.const 0)) -(global $f_$class__instancejsmethods_MyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancejsme...|__instancejsmethods_MyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancejsmethods_MyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__instancejsmethods_MyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancejsme...|__instancejsmethods_MyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancejsmethods.SuperParent [static fields] -(global $f_$initialized__instancejsmethods_SuperParent (mut i32) (i32.const 0)) -(global $f_$class__instancejsmethods_SuperParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancejsme...|__instancejsmethods_SuperParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancejsmethods_SuperParent (mut i32) + (i32.const 0) +) +(global $f_$class__instancejsmethods_SuperParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancejsme...|__instancejsmethods_SuperParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancejsmethods.Parent [static fields] -(global $f_$initialized__instancejsmethods_Parent (mut i32) (i32.const 0)) -(global $f_$class__instancejsmethods_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancejsme...|__instancejsmethods_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancejsmethods_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__instancejsmethods_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancejsme...|__instancejsmethods_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancejsmethods.Child [static fields] -(global $f_$initialized__instancejsmethods_Child (mut i32) (i32.const 0)) -(global $f_$class__instancejsmethods_Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancejsme...|__instancejsmethods_Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancejsmethods_Child (mut i32) + (i32.const 0) +) +(global $f_$class__instancejsmethods_Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancejsme...|__instancejsmethods_Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancejsmethods.Main [static fields] -(global $f_$initialized__instancejsmethods_Main (mut i32) (i32.const 0)) -(global $f_$class__instancejsmethods_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancejsme...|__instancejsmethods_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instancejsmethods_Main (mut i32) + (i32.const 0) +) +(global $f_$class__instancejsmethods_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancejsme...|__instancejsmethods_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancejsmethods.MyInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instanceofexpression/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instanceofexpression/output_wasm/module.wat.txt index f57b20b953..6aa704e3c3 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instanceofexpression/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instanceofexpression/output_wasm/module.wat.txt @@ -73,31 +73,50 @@ ) ;;; Code for instanceofexpression.InstanceofExpressions.1 [itable.init] -(global $java.io.Serializable.vtable@$instanceofexpression.InstanceofExpressions.1 (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$instanceofexpression.InstanceofExpressions.1 (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) +) +(global $instanceofexpression.InstanceofExpressions.1.itable (ref $instanceofexpression.InstanceofExpressions.1.itable) + (struct.new $instanceofexpression.InstanceofExpressions.1.itable + (global.get $java.io.Serializable.vtable@$instanceofexpression.InstanceofExpressions.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $instanceofexpression.InstanceofExpressions.1.itable (ref $instanceofexpression.InstanceofExpressions.1.itable) (struct.new $instanceofexpression.InstanceofExpressions.1.itable - (global.get $java.io.Serializable.vtable@$instanceofexpression.InstanceofExpressions.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for instanceofexpression.InstanceofExpressions [static fields] -(global $f_$initialized__instanceofexpression_InstanceofExpressions (mut i32) (i32.const 0)) -(global $f_$class__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foo|__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|bar|__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|instanceofex...|__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instanceofexpression_InstanceofExpressions (mut i32) + (i32.const 0) +) +(global $f_$class__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foo|__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|bar|__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|instanceofex...|__instanceofexpression_InstanceofExpressions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instanceofexpression.InstanceofExpressions.1 [static fields] -(global $f_$initialized__instanceofexpression_InstanceofExpressions_1 (mut i32) (i32.const 0)) -(global $f_$class__instanceofexpression_InstanceofExpressions_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instanceofex...|__instanceofexpression_InstanceofExpressions_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__instanceofexpression_InstanceofExpressions_1 (mut i32) + (i32.const 0) +) +(global $f_$class__instanceofexpression_InstanceofExpressions_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instanceofex...|__instanceofexpression_InstanceofExpressions_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instanceofexpression.InstanceofExpressions [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/instancequalifieronstaticfield/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/instancequalifieronstaticfield/output_wasm/module.wat.txt index cbbdc399b8..6cf59025f1 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/instancequalifieronstaticfield/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/instancequalifieronstaticfield/output_wasm/module.wat.txt @@ -26,11 +26,21 @@ ) ;;; Code for instancequalifieronstaticfield.InstanceQualifiers [static fields] -(global $f_staticField__instancequalifieronstaticfield_InstanceQualifiers (mut i32) (i32.const 0)) -(global $f_sideEffectCount__instancequalifieronstaticfield_InstanceQualifiers (mut i32) (i32.const 0)) -(global $f_$initialized__instancequalifieronstaticfield_InstanceQualifiers (mut i32) (i32.const 0)) -(global $f_$class__instancequalifieronstaticfield_InstanceQualifiers (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|instancequal...|__instancequalifieronstaticfield_InstanceQualifiers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_staticField__instancequalifieronstaticfield_InstanceQualifiers (mut i32) + (i32.const 0) +) +(global $f_sideEffectCount__instancequalifieronstaticfield_InstanceQualifiers (mut i32) + (i32.const 0) +) +(global $f_$initialized__instancequalifieronstaticfield_InstanceQualifiers (mut i32) + (i32.const 0) +) +(global $f_$class__instancequalifieronstaticfield_InstanceQualifiers (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|instancequal...|__instancequalifieronstaticfield_InstanceQualifiers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for instancequalifieronstaticfield.InstanceQualifiers [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/interfacedevirtualize/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/interfacedevirtualize/output_wasm/module.wat.txt index 4536c8aaef..0c13956d34 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/interfacedevirtualize/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/interfacedevirtualize/output_wasm/module.wat.txt @@ -42,9 +42,15 @@ ) ;;; Code for interfacedevirtualize.InterfaceDevirtualize [static fields] -(global $f_$initialized__interfacedevirtualize_InterfaceDevirtualize (mut i32) (i32.const 0)) -(global $f_$class__interfacedevirtualize_InterfaceDevirtualize (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfacedev...|__interfacedevirtualize_InterfaceDevirtualize (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfacedevirtualize_InterfaceDevirtualize (mut i32) + (i32.const 0) +) +(global $f_$class__interfacedevirtualize_InterfaceDevirtualize (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfacedev...|__interfacedevirtualize_InterfaceDevirtualize (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfacedevirtualize.InterfaceDevirtualize [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/interfacejsbridge/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/interfacejsbridge/output_wasm/module.wat.txt index 8ce7062198..5424b81015 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/interfacejsbridge/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/interfacejsbridge/output_wasm/module.wat.txt @@ -72,28 +72,33 @@ ) ;;; Code for interfacejsbridge.InterfaceImpl [itable.init] -(global $interfacejsbridge.SubInterface.vtable@$interfacejsbridge.InterfaceImpl (ref $interfacejsbridge.SubInterface.vtable) + +(global $interfacejsbridge.SubInterface.vtable@$interfacejsbridge.InterfaceImpl (ref $interfacejsbridge.SubInterface.vtable) (struct.new $interfacejsbridge.SubInterface.vtable (ref.func $m_foo__int__int@interfacejsbridge.InterfaceImpl) ) - )(global $interfacejsbridge.MyJsInterface.vtable@$interfacejsbridge.InterfaceImpl (ref $interfacejsbridge.MyJsInterface.vtable) +) +(global $interfacejsbridge.MyJsInterface.vtable@$interfacejsbridge.InterfaceImpl (ref $interfacejsbridge.MyJsInterface.vtable) (struct.new $interfacejsbridge.MyJsInterface.vtable (ref.func $m_foo__int__int@interfacejsbridge.InterfaceImpl) ) - )(global $interfacejsbridge.MyInterface.vtable@$interfacejsbridge.InterfaceImpl (ref $interfacejsbridge.MyInterface.vtable) +) +(global $interfacejsbridge.MyInterface.vtable@$interfacejsbridge.InterfaceImpl (ref $interfacejsbridge.MyInterface.vtable) (struct.new $interfacejsbridge.MyInterface.vtable (ref.func $m_foo__int__int@interfacejsbridge.InterfaceImpl) ) +) +(global $interfacejsbridge.InterfaceImpl.itable (ref $interfacejsbridge.InterfaceImpl.itable) + (struct.new $interfacejsbridge.InterfaceImpl.itable + (global.get $interfacejsbridge.SubInterface.vtable@$interfacejsbridge.InterfaceImpl) + (global.get $interfacejsbridge.MyJsInterface.vtable@$interfacejsbridge.InterfaceImpl) + (global.get $interfacejsbridge.MyInterface.vtable@$interfacejsbridge.InterfaceImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $interfacejsbridge.InterfaceImpl.itable (ref $interfacejsbridge.InterfaceImpl.itable) (struct.new $interfacejsbridge.InterfaceImpl.itable - (global.get $interfacejsbridge.SubInterface.vtable@$interfacejsbridge.InterfaceImpl) - (global.get $interfacejsbridge.MyJsInterface.vtable@$interfacejsbridge.InterfaceImpl) - (global.get $interfacejsbridge.MyInterface.vtable@$interfacejsbridge.InterfaceImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for interfacejsbridge.Main [vtable.init] (global $interfacejsbridge.Main.vtable (ref $interfacejsbridge.Main.vtable) @@ -108,29 +113,59 @@ ) ;;; Code for interfacejsbridge.MyJsInterface [static fields] -(global $f_$initialized__interfacejsbridge_MyJsInterface (mut i32) (i32.const 0)) -(global $f_$class__interfacejsbridge_MyJsInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfacejsb...|__interfacejsbridge_MyJsInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfacejsbridge_MyJsInterface (mut i32) + (i32.const 0) +) +(global $f_$class__interfacejsbridge_MyJsInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfacejsb...|__interfacejsbridge_MyJsInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfacejsbridge.MyInterface [static fields] -(global $f_$initialized__interfacejsbridge_MyInterface (mut i32) (i32.const 0)) -(global $f_$class__interfacejsbridge_MyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfacejsb...|__interfacejsbridge_MyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfacejsbridge_MyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__interfacejsbridge_MyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfacejsb...|__interfacejsbridge_MyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfacejsbridge.SubInterface [static fields] -(global $f_$initialized__interfacejsbridge_SubInterface (mut i32) (i32.const 0)) -(global $f_$class__interfacejsbridge_SubInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfacejsb...|__interfacejsbridge_SubInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfacejsbridge_SubInterface (mut i32) + (i32.const 0) +) +(global $f_$class__interfacejsbridge_SubInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfacejsb...|__interfacejsbridge_SubInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfacejsbridge.InterfaceImpl [static fields] -(global $f_$initialized__interfacejsbridge_InterfaceImpl (mut i32) (i32.const 0)) -(global $f_$class__interfacejsbridge_InterfaceImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfacejsb...|__interfacejsbridge_InterfaceImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfacejsbridge_InterfaceImpl (mut i32) + (i32.const 0) +) +(global $f_$class__interfacejsbridge_InterfaceImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfacejsb...|__interfacejsbridge_InterfaceImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfacejsbridge.Main [static fields] -(global $f_$initialized__interfacejsbridge_Main (mut i32) (i32.const 0)) -(global $f_$class__interfacejsbridge_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfacejsb...|__interfacejsbridge_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfacejsbridge_Main (mut i32) + (i32.const 0) +) +(global $f_$class__interfacejsbridge_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfacejsb...|__interfacejsbridge_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfacejsbridge.MyJsInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm/module.wat.txt index 2a9e09e5be..9308612707 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm/module.wat.txt @@ -113,50 +113,84 @@ ) ;;; Code for interfaces.Main.Implementor [itable.init] -(global $interfaces.Main.SubInterface.vtable@$interfaces.Main.Implementor (ref $interfaces.Main.SubInterface.vtable) + +(global $interfaces.Main.SubInterface.vtable@$interfaces.Main.Implementor (ref $interfaces.Main.SubInterface.vtable) (struct.new $interfaces.Main.SubInterface.vtable (ref.func $m_defaultMethod__java_lang_String__void@interfaces.Main.Implementor) ) - )(global $interfaces.Main.Interface.vtable@$interfaces.Main.Implementor (ref $interfaces.Main.Interface.vtable) +) +(global $interfaces.Main.Interface.vtable@$interfaces.Main.Implementor (ref $interfaces.Main.Interface.vtable) (struct.new $interfaces.Main.Interface.vtable (ref.func $m_defaultMethod__java_lang_Object__void@interfaces.Main.Implementor) (ref.func $m_interfaceMethod__void@interfaces.Main.Implementor) ) +) +(global $interfaces.Main.Implementor.itable (ref $interfaces.Main.Implementor.itable) + (struct.new $interfaces.Main.Implementor.itable + (global.get $interfaces.Main.SubInterface.vtable@$interfaces.Main.Implementor) + (global.get $interfaces.Main.Interface.vtable@$interfaces.Main.Implementor) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $interfaces.Main.Implementor.itable (ref $interfaces.Main.Implementor.itable) (struct.new $interfaces.Main.Implementor.itable - (global.get $interfaces.Main.SubInterface.vtable@$interfaces.Main.Implementor) - (global.get $interfaces.Main.Interface.vtable@$interfaces.Main.Implementor) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for interfaces.Main [static fields] -(global $f_$initialized__interfaces_Main (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.Main|__interfaces_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.Main|__interfaces_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfaces.Main.Interface [static fields] -(global $f_$initialized__interfaces_Main_Interface (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_Interface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_Interface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_Interface (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_Interface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_Interface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfaces.Main.SubInterface [static fields] -(global $f_$initialized__interfaces_Main_SubInterface (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_SubInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_SubInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_SubInterface (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_SubInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_SubInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfaces.Main.Implementor [static fields] -(global $f_$initialized__interfaces_Main_Implementor (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_Implementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_Implementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_Implementor (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_Implementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_Implementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfaces.Main.AbstractImplementor [static fields] -(global $f_$initialized__interfaces_Main_AbstractImplementor (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_AbstractImplementor (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for interfaces.Main.Interface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm_modular/globals.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm_modular/globals.wat.txt index a3d30ea926..b69fc7f28c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm_modular/globals.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/interfaces/output_wasm_modular/globals.wat.txt @@ -1,26 +1,56 @@ ;;; Code for interfaces.Main [static fields] -(global $f_$initialized__interfaces_Main (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.Main|__interfaces_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.Main|__interfaces_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; End of code for interfaces.Main [static fields] ;;; Code for interfaces.Main.Interface [static fields] -(global $f_$initialized__interfaces_Main_Interface (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_Interface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_Interface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_Interface (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_Interface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_Interface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; End of code for interfaces.Main.Interface [static fields] ;;; Code for interfaces.Main.SubInterface [static fields] -(global $f_$initialized__interfaces_Main_SubInterface (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_SubInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_SubInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_SubInterface (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_SubInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_SubInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; End of code for interfaces.Main.SubInterface [static fields] ;;; Code for interfaces.Main.Implementor [static fields] -(global $f_$initialized__interfaces_Main_Implementor (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_Implementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_Implementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_Implementor (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_Implementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_Implementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; End of code for interfaces.Main.Implementor [static fields] ;;; Code for interfaces.Main.AbstractImplementor [static fields] -(global $f_$initialized__interfaces_Main_AbstractImplementor (mut i32) (i32.const 0)) -(global $f_$class__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|interfaces.M...|__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__interfaces_Main_AbstractImplementor (mut i32) + (i32.const 0) +) +(global $f_$class__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|interfaces.M...|__interfaces_Main_AbstractImplementor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; End of code for interfaces.Main.AbstractImplementor [static fields] \ No newline at end of file diff --git a/transpiler/javatests/com/google/j2cl/readable/java/intersectiontype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/intersectiontype/output_wasm/module.wat.txt index 66a94ef309..178d4b4022 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/intersectiontype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/intersectiontype/output_wasm/module.wat.txt @@ -183,23 +183,27 @@ ) ;;; Code for intersectiontype.IntersectionTypeTest.$LambdaImplementor$1 [itable.init] -(global $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1 (ref $intersectiontype.Serial.vtable) + +(global $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1 (ref $intersectiontype.Serial.vtable) (struct.new $intersectiontype.Serial.vtable ) - )(global $intersectiontype.Cmp.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1 (ref $intersectiontype.Cmp.vtable) +) +(global $intersectiontype.Cmp.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1 (ref $intersectiontype.Cmp.vtable) (struct.new $intersectiontype.Cmp.vtable (ref.func $m_cmp__int@intersectiontype.IntersectionTypeTest.$LambdaImplementor$1) ) +) +(global $intersectiontype.IntersectionTypeTest.$LambdaImplementor$1.itable (ref $intersectiontype.IntersectionTypeTest.$LambdaImplementor$1.itable) + (struct.new $intersectiontype.IntersectionTypeTest.$LambdaImplementor$1.itable + (global.get $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1) + (global.get $intersectiontype.Cmp.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $intersectiontype.IntersectionTypeTest.$LambdaImplementor$1.itable (ref $intersectiontype.IntersectionTypeTest.$LambdaImplementor$1.itable) (struct.new $intersectiontype.IntersectionTypeTest.$LambdaImplementor$1.itable - (global.get $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1) - (global.get $intersectiontype.Cmp.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 [vtable.init] (global $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.vtable (ref $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.vtable) @@ -214,23 +218,27 @@ ) ;;; Code for intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 [itable.init] -(global $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 (ref $intersectiontype.Serial.vtable) + +(global $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 (ref $intersectiontype.Serial.vtable) (struct.new $intersectiontype.Serial.vtable ) - )(global $intersectiontype.Cmp2.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 (ref $intersectiontype.Cmp2.vtable) +) +(global $intersectiontype.Cmp2.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 (ref $intersectiontype.Cmp2.vtable) (struct.new $intersectiontype.Cmp2.vtable (ref.func $m_cmp__int__int@intersectiontype.IntersectionTypeTest.$LambdaImplementor$2) ) +) +(global $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.itable (ref $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.itable) + (struct.new $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.itable + (global.get $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2) + (global.get $intersectiontype.Cmp2.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.itable (ref $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.itable) (struct.new $intersectiontype.IntersectionTypeTest.$LambdaImplementor$2.itable - (global.get $intersectiontype.Serial.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2) - (global.get $intersectiontype.Cmp2.vtable@$intersectiontype.IntersectionTypeTest.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for intersectiontype.IntersectionTypeTest.MapEntry [vtable.init] (global $intersectiontype.IntersectionTypeTest.MapEntry.vtable (ref $intersectiontype.IntersectionTypeTest.MapEntry.vtable) @@ -267,69 +275,147 @@ ) ;;; Code for intersectiontype.Getable [static fields] -(global $f_$initialized__intersectiontype_Getable (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_Getable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_Getable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_Getable (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_Getable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_Getable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.Setable [static fields] -(global $f_$initialized__intersectiontype_Setable (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_Setable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_Setable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_Setable (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_Setable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_Setable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.Serial [static fields] -(global $f_$initialized__intersectiontype_Serial (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_Serial (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_Serial (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_Serial (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_Serial (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_Serial (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.Cmp [static fields] -(global $f_$initialized__intersectiontype_Cmp (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_Cmp (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_Cmp (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_Cmp (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_Cmp (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_Cmp (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.Cmp2 [static fields] -(global $f_$initialized__intersectiontype_Cmp2 (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_Cmp2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_Cmp2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_Cmp2 (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_Cmp2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_Cmp2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.$LambdaImplementor$1 [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.$LambdaImplementor$2 [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.MapEntry [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_MapEntry (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_MapEntry (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_MapEntry (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_MapEntry (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_MapEntry (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_MapEntry (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.A [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_A (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_A (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.EmptyA [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_EmptyA (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_EmptyA (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_EmptyA (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_EmptyA (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_EmptyA (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_EmptyA (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.EmptyB [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_EmptyB (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_EmptyB (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_EmptyB (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_EmptyB (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_EmptyB (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_EmptyB (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.IntersectionTypeTest.SomeConcreteType [static fields] -(global $f_$initialized__intersectiontype_IntersectionTypeTest_SomeConcreteType (mut i32) (i32.const 0)) -(global $f_$class__intersectiontype_IntersectionTypeTest_SomeConcreteType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_SomeConcreteType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__intersectiontype_IntersectionTypeTest_SomeConcreteType (mut i32) + (i32.const 0) +) +(global $f_$class__intersectiontype_IntersectionTypeTest_SomeConcreteType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|intersection...|__intersectiontype_IntersectionTypeTest_SomeConcreteType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for intersectiontype.Getable [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/javascriptkeywords/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/javascriptkeywords/output_wasm/module.wat.txt index 2db24c44e8..8f82377546 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/javascriptkeywords/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/javascriptkeywords/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for javascriptkeywords.JSKeyWords [static fields] -(global $f_$initialized__javascriptkeywords_JSKeyWords (mut i32) (i32.const 0)) -(global $f_$class__javascriptkeywords_JSKeyWords (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|javascriptke...|__javascriptkeywords_JSKeyWords (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__javascriptkeywords_JSKeyWords (mut i32) + (i32.const 0) +) +(global $f_$class__javascriptkeywords_JSKeyWords (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|javascriptke...|__javascriptkeywords_JSKeyWords (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for javascriptkeywords.JSKeyWords [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsbridgeaccidentaloverride/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsbridgeaccidentaloverride/output_wasm/module.wat.txt index ce93f5cdc2..a5cc41b05e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsbridgeaccidentaloverride/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsbridgeaccidentaloverride/output_wasm/module.wat.txt @@ -111,20 +111,23 @@ ) ;;; Code for jsbridgeaccidentaloverride.MyJsType [itable.init] -(global $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.MyJsType (ref $jsbridgeaccidentaloverride.OtherInterface.vtable) + +(global $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.MyJsType (ref $jsbridgeaccidentaloverride.OtherInterface.vtable) (struct.new $jsbridgeaccidentaloverride.OtherInterface.vtable (ref.func $m_fun__int__int@jsbridgeaccidentaloverride.MyJsType) ) +) +(global $jsbridgeaccidentaloverride.MyJsType.itable (ref $jsbridgeaccidentaloverride.MyJsType.itable) + (struct.new $jsbridgeaccidentaloverride.MyJsType.itable + (global.get $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.MyJsType) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsbridgeaccidentaloverride.MyJsType.itable (ref $jsbridgeaccidentaloverride.MyJsType.itable) (struct.new $jsbridgeaccidentaloverride.MyJsType.itable - (global.get $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.MyJsType) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsbridgeaccidentaloverride.SubJsType [vtable.init] (global $jsbridgeaccidentaloverride.SubJsType.vtable (ref $jsbridgeaccidentaloverride.SubJsType.vtable) @@ -141,50 +144,84 @@ ) ;;; Code for jsbridgeaccidentaloverride.SubJsType [itable.init] -(global $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.SubJsType (ref $jsbridgeaccidentaloverride.OtherInterface.vtable) + +(global $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.SubJsType (ref $jsbridgeaccidentaloverride.OtherInterface.vtable) (struct.new $jsbridgeaccidentaloverride.OtherInterface.vtable (ref.func $m_fun__int__int@jsbridgeaccidentaloverride.MyJsType) ) - )(global $jsbridgeaccidentaloverride.MyInterface.vtable@$jsbridgeaccidentaloverride.SubJsType (ref $jsbridgeaccidentaloverride.MyInterface.vtable) +) +(global $jsbridgeaccidentaloverride.MyInterface.vtable@$jsbridgeaccidentaloverride.SubJsType (ref $jsbridgeaccidentaloverride.MyInterface.vtable) (struct.new $jsbridgeaccidentaloverride.MyInterface.vtable (ref.func $m_bar__int__int@jsbridgeaccidentaloverride.SubJsType) (ref.func $m_foo__int__int@jsbridgeaccidentaloverride.MyJsType) ) +) +(global $jsbridgeaccidentaloverride.SubJsType.itable (ref $jsbridgeaccidentaloverride.SubJsType.itable) + (struct.new $jsbridgeaccidentaloverride.SubJsType.itable + (global.get $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.SubJsType) + (global.get $jsbridgeaccidentaloverride.MyInterface.vtable@$jsbridgeaccidentaloverride.SubJsType) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsbridgeaccidentaloverride.SubJsType.itable (ref $jsbridgeaccidentaloverride.SubJsType.itable) (struct.new $jsbridgeaccidentaloverride.SubJsType.itable - (global.get $jsbridgeaccidentaloverride.OtherInterface.vtable@$jsbridgeaccidentaloverride.SubJsType) - (global.get $jsbridgeaccidentaloverride.MyInterface.vtable@$jsbridgeaccidentaloverride.SubJsType) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsbridgeaccidentaloverride.Main [static fields] -(global $f_$initialized__jsbridgeaccidentaloverride_Main (mut i32) (i32.const 0)) -(global $f_$class__jsbridgeaccidentaloverride_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgeaccidentaloverride_Main (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgeaccidentaloverride_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgeaccidentaloverride.OtherInterface [static fields] -(global $f_$initialized__jsbridgeaccidentaloverride_OtherInterface (mut i32) (i32.const 0)) -(global $f_$class__jsbridgeaccidentaloverride_OtherInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_OtherInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgeaccidentaloverride_OtherInterface (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgeaccidentaloverride_OtherInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_OtherInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgeaccidentaloverride.MyJsType [static fields] -(global $f_$initialized__jsbridgeaccidentaloverride_MyJsType (mut i32) (i32.const 0)) -(global $f_$class__jsbridgeaccidentaloverride_MyJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_MyJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgeaccidentaloverride_MyJsType (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgeaccidentaloverride_MyJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_MyJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgeaccidentaloverride.MyInterface [static fields] -(global $f_$initialized__jsbridgeaccidentaloverride_MyInterface (mut i32) (i32.const 0)) -(global $f_$class__jsbridgeaccidentaloverride_MyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_MyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgeaccidentaloverride_MyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgeaccidentaloverride_MyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_MyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgeaccidentaloverride.SubJsType [static fields] -(global $f_$initialized__jsbridgeaccidentaloverride_SubJsType (mut i32) (i32.const 0)) -(global $f_$class__jsbridgeaccidentaloverride_SubJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_SubJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgeaccidentaloverride_SubJsType (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgeaccidentaloverride_SubJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeacci...|__jsbridgeaccidentaloverride_SubJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgeaccidentaloverride.OtherInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsbridgebackward/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsbridgebackward/output_wasm/module.wat.txt index 209ac35ccb..6b94fee320 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsbridgebackward/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsbridgebackward/output_wasm/module.wat.txt @@ -98,20 +98,23 @@ ) ;;; Code for jsbridgebackward.InterfaceImpl [itable.init] -(global $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.InterfaceImpl (ref $jsbridgebackward.MyJsInterface.vtable) + +(global $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.InterfaceImpl (ref $jsbridgebackward.MyJsInterface.vtable) (struct.new $jsbridgebackward.MyJsInterface.vtable (ref.func $m_foo__int__int@jsbridgebackward.A) ) +) +(global $jsbridgebackward.InterfaceImpl.itable (ref $jsbridgebackward.InterfaceImpl.itable) + (struct.new $jsbridgebackward.InterfaceImpl.itable + (global.get $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.InterfaceImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsbridgebackward.InterfaceImpl.itable (ref $jsbridgebackward.InterfaceImpl.itable) (struct.new $jsbridgebackward.InterfaceImpl.itable - (global.get $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.InterfaceImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsbridgebackward.SubInterfaceImpl [vtable.init] (global $jsbridgebackward.SubInterfaceImpl.vtable (ref $jsbridgebackward.SubInterfaceImpl.vtable) @@ -126,40 +129,67 @@ ) ;;; Code for jsbridgebackward.SubInterfaceImpl [itable.init] -(global $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.SubInterfaceImpl (ref $jsbridgebackward.MyJsInterface.vtable) + +(global $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.SubInterfaceImpl (ref $jsbridgebackward.MyJsInterface.vtable) (struct.new $jsbridgebackward.MyJsInterface.vtable (ref.func $m_foo__int__int@jsbridgebackward.SubInterfaceImpl) ) +) +(global $jsbridgebackward.SubInterfaceImpl.itable (ref $jsbridgebackward.SubInterfaceImpl.itable) + (struct.new $jsbridgebackward.SubInterfaceImpl.itable + (global.get $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.SubInterfaceImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsbridgebackward.SubInterfaceImpl.itable (ref $jsbridgebackward.SubInterfaceImpl.itable) (struct.new $jsbridgebackward.SubInterfaceImpl.itable - (global.get $jsbridgebackward.MyJsInterface.vtable@$jsbridgebackward.SubInterfaceImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsbridgebackward.MyJsInterface [static fields] -(global $f_$initialized__jsbridgebackward_MyJsInterface (mut i32) (i32.const 0)) -(global $f_$class__jsbridgebackward_MyJsInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeback...|__jsbridgebackward_MyJsInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgebackward_MyJsInterface (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgebackward_MyJsInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeback...|__jsbridgebackward_MyJsInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgebackward.A [static fields] -(global $f_$initialized__jsbridgebackward_A (mut i32) (i32.const 0)) -(global $f_$class__jsbridgebackward_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeback...|__jsbridgebackward_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgebackward_A (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgebackward_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeback...|__jsbridgebackward_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgebackward.InterfaceImpl [static fields] -(global $f_$initialized__jsbridgebackward_InterfaceImpl (mut i32) (i32.const 0)) -(global $f_$class__jsbridgebackward_InterfaceImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeback...|__jsbridgebackward_InterfaceImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgebackward_InterfaceImpl (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgebackward_InterfaceImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeback...|__jsbridgebackward_InterfaceImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgebackward.SubInterfaceImpl [static fields] -(global $f_$initialized__jsbridgebackward_SubInterfaceImpl (mut i32) (i32.const 0)) -(global $f_$class__jsbridgebackward_SubInterfaceImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsbridgeback...|__jsbridgebackward_SubInterfaceImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsbridgebackward_SubInterfaceImpl (mut i32) + (i32.const 0) +) +(global $f_$class__jsbridgebackward_SubInterfaceImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsbridgeback...|__jsbridgebackward_SubInterfaceImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsbridgebackward.MyJsInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsconstructor/output_wasm/module.wat.txt index f382e0e34d..4ec808be82 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsconstructor/output_wasm/module.wat.txt @@ -398,74 +398,158 @@ ) ;;; Code for jsconstructor.JsConstructorClass [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.A [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_A (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_A (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.B [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_B (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_B (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.C [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_C (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_C (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.D [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_D (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_D (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_D (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_D (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_D (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_D (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.E [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_E (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_E (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_E (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_E (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_E (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_E (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.F [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_F (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_F (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_F (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_F (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_F (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_F (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.G [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_G (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_G (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_G (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_G (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_G (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_G (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.H [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_H (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_H (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_H (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_H (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_H (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_H (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.Varargs [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_Varargs (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_Varargs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_Varargs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_Varargs (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_Varargs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_Varargs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.SubVarargs [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_SubVarargs (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_SubVarargs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_SubVarargs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_SubVarargs (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_SubVarargs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_SubVarargs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.InstanceVarargs [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_InstanceVarargs (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_InstanceVarargs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_InstanceVarargs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_InstanceVarargs (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_InstanceVarargs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_InstanceVarargs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.RegularType [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_RegularType (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_RegularType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_RegularType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_RegularType (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_RegularType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_RegularType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass.JsConstructorSubtypeOfRegularType [static fields] -(global $f_$initialized__jsconstructor_JsConstructorClass_JsConstructorSubtypeOfRegularType (mut i32) (i32.const 0)) -(global $f_$class__jsconstructor_JsConstructorClass_JsConstructorSubtypeOfRegularType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_JsConstructorSubtypeOfRegularType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsconstructor_JsConstructorClass_JsConstructorSubtypeOfRegularType (mut i32) + (i32.const 0) +) +(global $f_$class__jsconstructor_JsConstructorClass_JsConstructorSubtypeOfRegularType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsconstructo...|__jsconstructor_JsConstructorClass_JsConstructorSubtypeOfRegularType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsconstructor.JsConstructorClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsdoctypemappings/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsdoctypemappings/output_wasm/module.wat.txt index ddffd45597..e788507ca9 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsdoctypemappings/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsdoctypemappings/output_wasm/module.wat.txt @@ -202,21 +202,39 @@ ) ;;; Code for jsdoctypemappings.JsDocTypeMappings [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeFunction [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeFunction (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeFunction (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeType [static fields] ;;; Code for jsdoctypemappings.JsDocTypeMappings.ExportedType [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_ExportedType (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_ExportedType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_ExportedType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_ExportedType (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_ExportedType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_ExportedType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeNumber [static fields] @@ -235,49 +253,103 @@ ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeWildcard [static fields] ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeType.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeType_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeType_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeType_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeType_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeType_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeType_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeNumber.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeNumber_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeNumber_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeNumber_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeNumber_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeNumber_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeNumber_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeBoolean.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeBoolean_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeBoolean_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeBoolean_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeBoolean_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeBoolean_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeBoolean_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeString.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeString_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeString_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeString_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeString_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeString_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeString_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeNull.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeNull_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeNull_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeNull_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeNull_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeNull_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeNull_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeUndefined.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeUndefined_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeUndefined_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeUndefined_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeUndefined_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeUndefined_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeUndefined_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeVoid.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeVoid_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeVoid_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeVoid_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeVoid_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeVoid_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeVoid_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeStar.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeStar_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeStar_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeStar_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeStar_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeStar_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeStar_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeWildcard.$Overlay [static fields] -(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeWildcard_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeWildcard_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeWildcard_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsdoctypemappings_JsDocTypeMappings_NativeWildcard_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsdoctypemappings_JsDocTypeMappings_NativeWildcard_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsdoctypemap...|__jsdoctypemappings_JsDocTypeMappings_NativeWildcard_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsdoctypemappings.JsDocTypeMappings.NativeFunction [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsignore/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsignore/output_wasm/module.wat.txt index edde8d3816..1dd15cbe9f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsignore/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsignore/output_wasm/module.wat.txt @@ -26,12 +26,24 @@ ) ;;; Code for jsignore.JsIgnoreExample [static fields] -(global $f_exportedField__jsignore_JsIgnoreExample (mut i32) (i32.const 0)) -(global $f_notExportedField__jsignore_JsIgnoreExample (mut i32) (i32.const 0)) -(global $f_CONSTNAME__jsignore_JsIgnoreExample (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__jsignore_JsIgnoreExample (mut i32) (i32.const 0)) -(global $f_$class__jsignore_JsIgnoreExample (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsignore.JsI...|__jsignore_JsIgnoreExample (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_exportedField__jsignore_JsIgnoreExample (mut i32) + (i32.const 0) +) +(global $f_notExportedField__jsignore_JsIgnoreExample (mut i32) + (i32.const 0) +) +(global $f_CONSTNAME__jsignore_JsIgnoreExample (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__jsignore_JsIgnoreExample (mut i32) + (i32.const 0) +) +(global $f_$class__jsignore_JsIgnoreExample (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsignore.JsI...|__jsignore_JsIgnoreExample (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsignore.JsIgnoreExample [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsinnerclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsinnerclass/output_wasm/module.wat.txt index 09dee3d07f..efa592b2dc 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsinnerclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsinnerclass/output_wasm/module.wat.txt @@ -87,19 +87,37 @@ ) ;;; Code for jsinnerclass.Main [static fields] -(global $f_$initialized__jsinnerclass_Main (mut i32) (i32.const 0)) -(global $f_$class__jsinnerclass_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsinnerclass...|__jsinnerclass_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsinnerclass_Main (mut i32) + (i32.const 0) +) +(global $f_$class__jsinnerclass_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsinnerclass...|__jsinnerclass_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsinnerclass.Main.Outer.Inner [static fields] -(global $f_$initialized__jsinnerclass_Main_Outer_Inner (mut i32) (i32.const 0)) -(global $f_$class__jsinnerclass_Main_Outer_Inner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsinnerclass...|__jsinnerclass_Main_Outer_Inner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsinnerclass_Main_Outer_Inner (mut i32) + (i32.const 0) +) +(global $f_$class__jsinnerclass_Main_Outer_Inner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsinnerclass...|__jsinnerclass_Main_Outer_Inner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsinnerclass.Main.Outer [static fields] -(global $f_$initialized__jsinnerclass_Main_Outer (mut i32) (i32.const 0)) -(global $f_$class__jsinnerclass_Main_Outer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsinnerclass...|__jsinnerclass_Main_Outer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsinnerclass_Main_Outer (mut i32) + (i32.const 0) +) +(global $f_$class__jsinnerclass_Main_Outer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsinnerclass...|__jsinnerclass_Main_Outer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsinnerclass.Main [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsmemberinnativetype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsmemberinnativetype/output_wasm/module.wat.txt index 43070a9a0f..c925785537 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsmemberinnativetype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsmemberinnativetype/output_wasm/module.wat.txt @@ -21,9 +21,15 @@ ;;; Code for jsmemberinnativetype.MyNativeType [static fields] ;;; Code for jsmemberinnativetype.MyNativeType.$Overlay [static fields] -(global $f_$initialized__jsmemberinnativetype_MyNativeType_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsmemberinnativetype_MyNativeType_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsmemberinna...|__jsmemberinnativetype_MyNativeType_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsmemberinnativetype_MyNativeType_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsmemberinnativetype_MyNativeType_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsmemberinna...|__jsmemberinnativetype_MyNativeType_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsmemberinnativetype.MyNativeType.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsnonnull/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsnonnull/output_wasm/module.wat.txt index 63d326370e..57505d959f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsnonnull/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsnonnull/output_wasm/module.wat.txt @@ -186,7 +186,8 @@ ) ;;; Code for jsnonnull.Main.StringComparator [itable.init] -(global $java.util.Comparator.vtable@$jsnonnull.Main.StringComparator (ref $java.util.Comparator.vtable) + +(global $java.util.Comparator.vtable@$jsnonnull.Main.StringComparator (ref $java.util.Comparator.vtable) (struct.new $java.util.Comparator.vtable (ref.func $m_compare__java_lang_Object__java_lang_Object__int@jsnonnull.Main.StringComparator) (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object) @@ -198,16 +199,18 @@ (ref.func $m_thenComparingInt__java_util_function_ToIntFunction__java_util_Comparator@jsnonnull.Main.StringComparator) (ref.func $m_thenComparingLong__java_util_function_ToLongFunction__java_util_Comparator@jsnonnull.Main.StringComparator) ) +) +(global $jsnonnull.Main.StringComparator.itable (ref $jsnonnull.Main.StringComparator.itable) + (struct.new $jsnonnull.Main.StringComparator.itable + (ref.null struct) + (global.get $java.util.Comparator.vtable@$jsnonnull.Main.StringComparator) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsnonnull.Main.StringComparator.itable (ref $jsnonnull.Main.StringComparator.itable) (struct.new $jsnonnull.Main.StringComparator.itable - (ref.null struct) - (global.get $java.util.Comparator.vtable@$jsnonnull.Main.StringComparator) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsnonnull.Main.NullableStringComparator [vtable.init] (global $jsnonnull.Main.NullableStringComparator.vtable (ref $jsnonnull.Main.NullableStringComparator.vtable) @@ -230,7 +233,8 @@ ) ;;; Code for jsnonnull.Main.NullableStringComparator [itable.init] -(global $java.util.Comparator.vtable@$jsnonnull.Main.NullableStringComparator (ref $java.util.Comparator.vtable) + +(global $java.util.Comparator.vtable@$jsnonnull.Main.NullableStringComparator (ref $java.util.Comparator.vtable) (struct.new $java.util.Comparator.vtable (ref.func $m_compare__java_lang_Object__java_lang_Object__int@jsnonnull.Main.NullableStringComparator) (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object) @@ -242,16 +246,18 @@ (ref.func $m_thenComparingInt__java_util_function_ToIntFunction__java_util_Comparator@jsnonnull.Main.NullableStringComparator) (ref.func $m_thenComparingLong__java_util_function_ToLongFunction__java_util_Comparator@jsnonnull.Main.NullableStringComparator) ) +) +(global $jsnonnull.Main.NullableStringComparator.itable (ref $jsnonnull.Main.NullableStringComparator.itable) + (struct.new $jsnonnull.Main.NullableStringComparator.itable + (ref.null struct) + (global.get $java.util.Comparator.vtable@$jsnonnull.Main.NullableStringComparator) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsnonnull.Main.NullableStringComparator.itable (ref $jsnonnull.Main.NullableStringComparator.itable) (struct.new $jsnonnull.Main.NullableStringComparator.itable - (ref.null struct) - (global.get $java.util.Comparator.vtable@$jsnonnull.Main.NullableStringComparator) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsnonnull.Main.NonNullableStringSubNullableComparator [vtable.init] (global $jsnonnull.Main.NonNullableStringSubNullableComparator.vtable (ref $jsnonnull.Main.NonNullableStringSubNullableComparator.vtable) @@ -274,7 +280,8 @@ ) ;;; Code for jsnonnull.Main.NonNullableStringSubNullableComparator [itable.init] -(global $java.util.Comparator.vtable@$jsnonnull.Main.NonNullableStringSubNullableComparator (ref $java.util.Comparator.vtable) + +(global $java.util.Comparator.vtable@$jsnonnull.Main.NonNullableStringSubNullableComparator (ref $java.util.Comparator.vtable) (struct.new $java.util.Comparator.vtable (ref.func $m_compare__java_lang_Object__java_lang_Object__int@jsnonnull.Main.NullableStringComparator) (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object) @@ -286,52 +293,98 @@ (ref.func $m_thenComparingInt__java_util_function_ToIntFunction__java_util_Comparator@jsnonnull.Main.NullableStringComparator) (ref.func $m_thenComparingLong__java_util_function_ToLongFunction__java_util_Comparator@jsnonnull.Main.NullableStringComparator) ) +) +(global $jsnonnull.Main.NonNullableStringSubNullableComparator.itable (ref $jsnonnull.Main.NonNullableStringSubNullableComparator.itable) + (struct.new $jsnonnull.Main.NonNullableStringSubNullableComparator.itable + (ref.null struct) + (global.get $java.util.Comparator.vtable@$jsnonnull.Main.NonNullableStringSubNullableComparator) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsnonnull.Main.NonNullableStringSubNullableComparator.itable (ref $jsnonnull.Main.NonNullableStringSubNullableComparator.itable) (struct.new $jsnonnull.Main.NonNullableStringSubNullableComparator.itable - (ref.null struct) - (global.get $java.util.Comparator.vtable@$jsnonnull.Main.NonNullableStringSubNullableComparator) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsnonnull.Main [static fields] -(global $f_$initialized__jsnonnull_Main (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Hello|__jsnonnull_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|jsnonnull.Main|__jsnonnull_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Hello|__jsnonnull_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|jsnonnull.Main|__jsnonnull_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.MyFunction [static fields] -(global $f_$initialized__jsnonnull_Main_MyFunction (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main_MyFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_MyFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main_MyFunction (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main_MyFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_MyFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.StringComparator [static fields] -(global $f_$initialized__jsnonnull_Main_StringComparator (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main_StringComparator (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_StringComparator (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main_StringComparator (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main_StringComparator (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_StringComparator (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.NullableStringComparator [static fields] -(global $f_$initialized__jsnonnull_Main_NullableStringComparator (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main_NullableStringComparator (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NullableStringComparator (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main_NullableStringComparator (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main_NullableStringComparator (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NullableStringComparator (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.NonNullableStringSubNullableComparator [static fields] -(global $f_$initialized__jsnonnull_Main_NonNullableStringSubNullableComparator (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main_NonNullableStringSubNullableComparator (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NonNullableStringSubNullableComparator (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main_NonNullableStringSubNullableComparator (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main_NonNullableStringSubNullableComparator (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NonNullableStringSubNullableComparator (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.NonNullableTemplatedReturn [static fields] -(global $f_$initialized__jsnonnull_Main_NonNullableTemplatedReturn (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main_NonNullableTemplatedReturn (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NonNullableTemplatedReturn (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main_NonNullableTemplatedReturn (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main_NonNullableTemplatedReturn (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NonNullableTemplatedReturn (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.NonNullableTemplate [static fields] -(global $f_$initialized__jsnonnull_Main_NonNullableTemplate (mut i32) (i32.const 0)) -(global $f_$class__jsnonnull_Main_NonNullableTemplate (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NonNullableTemplate (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnonnull_Main_NonNullableTemplate (mut i32) + (i32.const 0) +) +(global $f_$class__jsnonnull_Main_NonNullableTemplate (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsnonnull.Ma...|__jsnonnull_Main_NonNullableTemplate (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnonnull.Main.MyFunction [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsnullable/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsnullable/output_wasm/module.wat.txt index cc8a5072c2..859da7b864 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsnullable/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsnullable/output_wasm/module.wat.txt @@ -33,10 +33,18 @@ ) ;;; Code for jsnullable.Main [static fields] -(global $f_$initialized__jsnullable_Main (mut i32) (i32.const 0)) -(global $f_$class__jsnullable_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Hello|__jsnullable_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|jsnullable.Main|__jsnullable_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsnullable_Main (mut i32) + (i32.const 0) +) +(global $f_$class__jsnullable_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Hello|__jsnullable_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|jsnullable.Main|__jsnullable_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsnullable.Main [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsoptional/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsoptional/output_wasm/module.wat.txt index bdba397054..f210f06388 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsoptional/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsoptional/output_wasm/module.wat.txt @@ -193,20 +193,23 @@ ) ;;; Code for jsoptional.Main.$LambdaImplementor$1 [itable.init] -(global $jsoptional.Main.Function.vtable@$jsoptional.Main.$LambdaImplementor$1 (ref $jsoptional.Main.Function.vtable) + +(global $jsoptional.Main.Function.vtable@$jsoptional.Main.$LambdaImplementor$1 (ref $jsoptional.Main.Function.vtable) (struct.new $jsoptional.Main.Function.vtable (ref.func $m_f1__java_lang_String__arrayOf_java_lang_Object__java_lang_Object@jsoptional.Main.$LambdaImplementor$1) ) +) +(global $jsoptional.Main.$LambdaImplementor$1.itable (ref $jsoptional.Main.$LambdaImplementor$1.itable) + (struct.new $jsoptional.Main.$LambdaImplementor$1.itable + (global.get $jsoptional.Main.Function.vtable@$jsoptional.Main.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsoptional.Main.$LambdaImplementor$1.itable (ref $jsoptional.Main.$LambdaImplementor$1.itable) (struct.new $jsoptional.Main.$LambdaImplementor$1.itable - (global.get $jsoptional.Main.Function.vtable@$jsoptional.Main.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsoptional.Main.AFunction [vtable.init] (global $jsoptional.Main.AFunction.vtable (ref $jsoptional.Main.AFunction.vtable) @@ -221,20 +224,23 @@ ) ;;; Code for jsoptional.Main.AFunction [itable.init] -(global $jsoptional.Main.Function.vtable@$jsoptional.Main.AFunction (ref $jsoptional.Main.Function.vtable) + +(global $jsoptional.Main.Function.vtable@$jsoptional.Main.AFunction (ref $jsoptional.Main.Function.vtable) (struct.new $jsoptional.Main.Function.vtable (ref.func $m_f1__java_lang_String__arrayOf_java_lang_Object__java_lang_Object@jsoptional.Main.AFunction) ) +) +(global $jsoptional.Main.AFunction.itable (ref $jsoptional.Main.AFunction.itable) + (struct.new $jsoptional.Main.AFunction.itable + (global.get $jsoptional.Main.Function.vtable@$jsoptional.Main.AFunction) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsoptional.Main.AFunction.itable (ref $jsoptional.Main.AFunction.itable) (struct.new $jsoptional.Main.AFunction.itable - (global.get $jsoptional.Main.Function.vtable@$jsoptional.Main.AFunction) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsoptional.Main.TemplatedSubtype [vtable.init] (global $jsoptional.Main.TemplatedSubtype.vtable (ref $jsoptional.Main.TemplatedSubtype.vtable) @@ -250,20 +256,23 @@ ) ;;; Code for jsoptional.Main.TemplatedSubtype [itable.init] -(global $jsoptional.Main.I.vtable@$jsoptional.Main.TemplatedSubtype (ref $jsoptional.Main.I.vtable) + +(global $jsoptional.Main.I.vtable@$jsoptional.Main.TemplatedSubtype (ref $jsoptional.Main.I.vtable) (struct.new $jsoptional.Main.I.vtable (ref.func $m_m__java_lang_Object__java_lang_Object__void@jsoptional.Main.TemplatedSubtype) ) +) +(global $jsoptional.Main.TemplatedSubtype.itable (ref $jsoptional.Main.TemplatedSubtype.itable) + (struct.new $jsoptional.Main.TemplatedSubtype.itable + (global.get $jsoptional.Main.I.vtable@$jsoptional.Main.TemplatedSubtype) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsoptional.Main.TemplatedSubtype.itable (ref $jsoptional.Main.TemplatedSubtype.itable) (struct.new $jsoptional.Main.TemplatedSubtype.itable - (global.get $jsoptional.Main.I.vtable@$jsoptional.Main.TemplatedSubtype) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsoptional.Main.SpecializedSubtype [vtable.init] (global $jsoptional.Main.SpecializedSubtype.vtable (ref $jsoptional.Main.SpecializedSubtype.vtable) @@ -279,20 +288,23 @@ ) ;;; Code for jsoptional.Main.SpecializedSubtype [itable.init] -(global $jsoptional.Main.I.vtable@$jsoptional.Main.SpecializedSubtype (ref $jsoptional.Main.I.vtable) + +(global $jsoptional.Main.I.vtable@$jsoptional.Main.SpecializedSubtype (ref $jsoptional.Main.I.vtable) (struct.new $jsoptional.Main.I.vtable (ref.func $m_m__java_lang_Object__java_lang_Object__void@jsoptional.Main.SpecializedSubtype) ) +) +(global $jsoptional.Main.SpecializedSubtype.itable (ref $jsoptional.Main.SpecializedSubtype.itable) + (struct.new $jsoptional.Main.SpecializedSubtype.itable + (global.get $jsoptional.Main.I.vtable@$jsoptional.Main.SpecializedSubtype) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsoptional.Main.SpecializedSubtype.itable (ref $jsoptional.Main.SpecializedSubtype.itable) (struct.new $jsoptional.Main.SpecializedSubtype.itable - (global.get $jsoptional.Main.I.vtable@$jsoptional.Main.SpecializedSubtype) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsoptional.Main.NonJsTypeSubtype [vtable.init] (global $jsoptional.Main.NonJsTypeSubtype.vtable (ref $jsoptional.Main.NonJsTypeSubtype.vtable) @@ -308,60 +320,111 @@ ) ;;; Code for jsoptional.Main.NonJsTypeSubtype [itable.init] -(global $jsoptional.Main.I.vtable@$jsoptional.Main.NonJsTypeSubtype (ref $jsoptional.Main.I.vtable) + +(global $jsoptional.Main.I.vtable@$jsoptional.Main.NonJsTypeSubtype (ref $jsoptional.Main.I.vtable) (struct.new $jsoptional.Main.I.vtable (ref.func $m_m__java_lang_Object__java_lang_Object__void@jsoptional.Main.NonJsTypeSubtype) ) +) +(global $jsoptional.Main.NonJsTypeSubtype.itable (ref $jsoptional.Main.NonJsTypeSubtype.itable) + (struct.new $jsoptional.Main.NonJsTypeSubtype.itable + (global.get $jsoptional.Main.I.vtable@$jsoptional.Main.NonJsTypeSubtype) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsoptional.Main.NonJsTypeSubtype.itable (ref $jsoptional.Main.NonJsTypeSubtype.itable) (struct.new $jsoptional.Main.NonJsTypeSubtype.itable - (global.get $jsoptional.Main.I.vtable@$jsoptional.Main.NonJsTypeSubtype) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsoptional.Main [static fields] -(global $f_$initialized__jsoptional_Main (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.Main|__jsoptional_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.Main|__jsoptional_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.$LambdaImplementor$1 [static fields] -(global $f_$initialized__jsoptional_Main_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.Function [static fields] -(global $f_$initialized__jsoptional_Main_Function (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_Function (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.AFunction [static fields] -(global $f_$initialized__jsoptional_Main_AFunction (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_AFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_AFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_AFunction (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_AFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_AFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.I [static fields] -(global $f_$initialized__jsoptional_Main_I (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_I (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.TemplatedSubtype [static fields] -(global $f_$initialized__jsoptional_Main_TemplatedSubtype (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_TemplatedSubtype (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_TemplatedSubtype (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_TemplatedSubtype (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_TemplatedSubtype (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_TemplatedSubtype (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.SpecializedSubtype [static fields] -(global $f_$initialized__jsoptional_Main_SpecializedSubtype (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_SpecializedSubtype (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_SpecializedSubtype (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_SpecializedSubtype (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_SpecializedSubtype (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_SpecializedSubtype (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.NonJsTypeSubtype [static fields] -(global $f_$initialized__jsoptional_Main_NonJsTypeSubtype (mut i32) (i32.const 0)) -(global $f_$class__jsoptional_Main_NonJsTypeSubtype (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoptional.M...|__jsoptional_Main_NonJsTypeSubtype (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoptional_Main_NonJsTypeSubtype (mut i32) + (i32.const 0) +) +(global $f_$class__jsoptional_Main_NonJsTypeSubtype (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoptional.M...|__jsoptional_Main_NonJsTypeSubtype (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoptional.Main.Function [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jsoverlay/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jsoverlay/output_wasm/module.wat.txt index 8289792dea..70f7211fd8 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jsoverlay/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jsoverlay/output_wasm/module.wat.txt @@ -95,20 +95,23 @@ ) ;;; Code for jsoverlay.Main.NativeJsTypeWithOverlay.1 [itable.init] -(global $jsoverlay.Main.Intf.vtable@$jsoverlay.Main.NativeJsTypeWithOverlay.1 (ref $jsoverlay.Main.Intf.vtable) + +(global $jsoverlay.Main.Intf.vtable@$jsoverlay.Main.NativeJsTypeWithOverlay.1 (ref $jsoverlay.Main.Intf.vtable) (struct.new $jsoverlay.Main.Intf.vtable (ref.func $m_run__void@jsoverlay.Main.NativeJsTypeWithOverlay.1) ) +) +(global $jsoverlay.Main.NativeJsTypeWithOverlay.1.itable (ref $jsoverlay.Main.NativeJsTypeWithOverlay.1.itable) + (struct.new $jsoverlay.Main.NativeJsTypeWithOverlay.1.itable + (global.get $jsoverlay.Main.Intf.vtable@$jsoverlay.Main.NativeJsTypeWithOverlay.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jsoverlay.Main.NativeJsTypeWithOverlay.1.itable (ref $jsoverlay.Main.NativeJsTypeWithOverlay.1.itable) (struct.new $jsoverlay.Main.NativeJsTypeWithOverlay.1.itable - (global.get $jsoverlay.Main.Intf.vtable@$jsoverlay.Main.NativeJsTypeWithOverlay.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jsoverlay.Main.NativeJsTypeWithOverlay.$Overlay [vtable.init] (global $jsoverlay.Main.NativeJsTypeWithOverlay.$Overlay.vtable (ref $jsoverlay.Main.NativeJsTypeWithOverlay.$Overlay.vtable) @@ -118,36 +121,72 @@ ) ;;; Code for jsoverlay.Main [static fields] -(global $f_$initialized__jsoverlay_Main (mut i32) (i32.const 0)) -(global $f_$class__jsoverlay_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|10|__jsoverlay_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|jsoverlay.Main|__jsoverlay_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoverlay_Main (mut i32) + (i32.const 0) +) +(global $f_$class__jsoverlay_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|10|__jsoverlay_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|jsoverlay.Main|__jsoverlay_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoverlay.Main.NativeJsTypeInterfaceWithOverlay [static fields] ;;; Code for jsoverlay.Main.NativeJsTypeWithOverlay.1 [static fields] -(global $f_$initialized__jsoverlay_Main_NativeJsTypeWithOverlay_1 (mut i32) (i32.const 0)) -(global $f_$class__jsoverlay_Main_NativeJsTypeWithOverlay_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_NativeJsTypeWithOverlay_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoverlay_Main_NativeJsTypeWithOverlay_1 (mut i32) + (i32.const 0) +) +(global $f_$class__jsoverlay_Main_NativeJsTypeWithOverlay_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_NativeJsTypeWithOverlay_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoverlay.Main.NativeJsTypeWithOverlay [static fields] ;;; Code for jsoverlay.Main.Intf [static fields] -(global $f_$initialized__jsoverlay_Main_Intf (mut i32) (i32.const 0)) -(global $f_$class__jsoverlay_Main_Intf (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_Intf (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jsoverlay_Main_Intf (mut i32) + (i32.const 0) +) +(global $f_$class__jsoverlay_Main_Intf (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_Intf (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoverlay.Main.NativeJsTypeInterfaceWithOverlay.$Overlay [static fields] -(global $f_staticField__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_staticField__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_NativeJsTypeInterfaceWithOverlay_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoverlay.Main.NativeJsTypeWithOverlay.$Overlay [static fields] -(global $f_staticField__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_staticField__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jsoverlay.Ma...|__jsoverlay_Main_NativeJsTypeWithOverlay_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jsoverlay.Main.NativeJsTypeInterfaceWithOverlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jstype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jstype/output_wasm/module.wat.txt index 88a2c43835..c549c9f649 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jstype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jstype/output_wasm/module.wat.txt @@ -52,23 +52,41 @@ ) ;;; Code for jstype.SomeJsType [static fields] -(global $f_$initialized__jstype_SomeJsType (mut i32) (i32.const 0)) -(global $f_$class__jstype_SomeJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstype.SomeJ...|__jstype_SomeJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstype_SomeJsType (mut i32) + (i32.const 0) +) +(global $f_$class__jstype_SomeJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstype.SomeJ...|__jstype_SomeJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstype.SomeJsType.Star [static fields] ;;; Code for jstype.SomeJsType.Wildcard [static fields] ;;; Code for jstype.SomeJsType.Star.$Overlay [static fields] -(global $f_$initialized__jstype_SomeJsType_Star_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jstype_SomeJsType_Star_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstype.SomeJ...|__jstype_SomeJsType_Star_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstype_SomeJsType_Star_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jstype_SomeJsType_Star_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstype.SomeJ...|__jstype_SomeJsType_Star_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstype.SomeJsType.Wildcard.$Overlay [static fields] -(global $f_$initialized__jstype_SomeJsType_Wildcard_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__jstype_SomeJsType_Wildcard_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstype.SomeJ...|__jstype_SomeJsType_Wildcard_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstype_SomeJsType_Wildcard_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__jstype_SomeJsType_Wildcard_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstype.SomeJ...|__jstype_SomeJsType_Wildcard_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstype.SomeJsType.Star [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jstypeenum/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jstypeenum/output_wasm/module.wat.txt index 99acb1d9a2..23c93c4dc6 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jstypeenum/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jstypeenum/output_wasm/module.wat.txt @@ -47,35 +47,59 @@ ) ;;; Code for jstypeenum.Color [itable.init] -(global $java.io.Serializable.vtable@$jstypeenum.Color (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$jstypeenum.Color (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$jstypeenum.Color (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$jstypeenum.Color (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $jstypeenum.Color.itable (ref $jstypeenum.Color.itable) + (struct.new $jstypeenum.Color.itable + (global.get $java.io.Serializable.vtable@$jstypeenum.Color) + (global.get $java.lang.Comparable.vtable@$jstypeenum.Color) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jstypeenum.Color.itable (ref $jstypeenum.Color.itable) (struct.new $jstypeenum.Color.itable - (global.get $java.io.Serializable.vtable@$jstypeenum.Color) - (global.get $java.lang.Comparable.vtable@$jstypeenum.Color) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jstypeenum.Color [static fields] -(global $f_RED__jstypeenum_Color (mut (ref null $jstypeenum.Color)) (ref.null $jstypeenum.Color)) -(global $f_GREEN__jstypeenum_Color (mut (ref null $jstypeenum.Color)) (ref.null $jstypeenum.Color)) -(global $f_BLUE__jstypeenum_Color (mut (ref null $jstypeenum.Color)) (ref.null $jstypeenum.Color)) -(global $f_namesToValuesMap__jstypeenum_Color_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__jstypeenum_Color (mut i32) (i32.const 0)) -(global $f_$class__jstypeenum_Color (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|RED|__jstypeenum_Color (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|GREEN|__jstypeenum_Color (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|BLUE|__jstypeenum_Color (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|jstypeenum.C...|__jstypeenum_Color (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_RED__jstypeenum_Color (mut (ref null $jstypeenum.Color)) + (ref.null $jstypeenum.Color) +) +(global $f_GREEN__jstypeenum_Color (mut (ref null $jstypeenum.Color)) + (ref.null $jstypeenum.Color) +) +(global $f_BLUE__jstypeenum_Color (mut (ref null $jstypeenum.Color)) + (ref.null $jstypeenum.Color) +) +(global $f_namesToValuesMap__jstypeenum_Color_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__jstypeenum_Color (mut i32) + (i32.const 0) +) +(global $f_$class__jstypeenum_Color (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|RED|__jstypeenum_Color (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|GREEN|__jstypeenum_Color (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|BLUE|__jstypeenum_Color (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|jstypeenum.C...|__jstypeenum_Color (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypeenum.Color [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jstypeinnerclasswithnamespace/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jstypeinnerclasswithnamespace/output_wasm/module.wat.txt index 6e56108737..5ed8c8c774 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jstypeinnerclasswithnamespace/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jstypeinnerclasswithnamespace/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for jstypeinnerclasswithnamespace.JsTypeInnerClassWithNamespace [static fields] -(global $f_$initialized__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace (mut i32) (i32.const 0)) -(global $f_$class__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstypeinnerc...|__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace (mut i32) + (i32.const 0) +) +(global $f_$class__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstypeinnerc...|__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypeinnerclasswithnamespace.JsTypeInnerClassWithNamespace.InnerClass [static fields] -(global $f_$initialized__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstypeinnerc...|__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstypeinnerc...|__jstypeinnerclasswithnamespace_JsTypeInnerClassWithNamespace_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypeinnerclasswithnamespace.JsTypeInnerClassWithNamespace [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jstypeswithconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jstypeswithconstructor/output_wasm/module.wat.txt index 40c9ccc794..62e696dbdb 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jstypeswithconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jstypeswithconstructor/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for jstypeswithconstructor.JsTypesWithConstructor [static fields] -(global $f_$initialized__jstypeswithconstructor_JsTypesWithConstructor (mut i32) (i32.const 0)) -(global $f_$class__jstypeswithconstructor_JsTypesWithConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstypeswithc...|__jstypeswithconstructor_JsTypesWithConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstypeswithconstructor_JsTypesWithConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__jstypeswithconstructor_JsTypesWithConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstypeswithc...|__jstypeswithconstructor_JsTypesWithConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypeswithconstructor.JsTypesWithConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jstypewithdefault/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jstypewithdefault/output_wasm/module.wat.txt index 382cc9e8cc..4740ea9dc8 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jstypewithdefault/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jstypewithdefault/output_wasm/module.wat.txt @@ -43,30 +43,45 @@ ) ;;; Code for jstypewithdefault.SomeJsType [itable.init] -(global $jstypewithdefault.Interface.vtable@$jstypewithdefault.SomeJsType (ref $jstypewithdefault.Interface.vtable) + +(global $jstypewithdefault.Interface.vtable@$jstypewithdefault.SomeJsType (ref $jstypewithdefault.Interface.vtable) (struct.new $jstypewithdefault.Interface.vtable (ref.func $m_defaultMethod__void@jstypewithdefault.SomeJsType) ) +) +(global $jstypewithdefault.SomeJsType.itable (ref $jstypewithdefault.SomeJsType.itable) + (struct.new $jstypewithdefault.SomeJsType.itable + (global.get $jstypewithdefault.Interface.vtable@$jstypewithdefault.SomeJsType) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $jstypewithdefault.SomeJsType.itable (ref $jstypewithdefault.SomeJsType.itable) (struct.new $jstypewithdefault.SomeJsType.itable - (global.get $jstypewithdefault.Interface.vtable@$jstypewithdefault.SomeJsType) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for jstypewithdefault.SomeJsType [static fields] -(global $f_$initialized__jstypewithdefault_SomeJsType (mut i32) (i32.const 0)) -(global $f_$class__jstypewithdefault_SomeJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstypewithde...|__jstypewithdefault_SomeJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstypewithdefault_SomeJsType (mut i32) + (i32.const 0) +) +(global $f_$class__jstypewithdefault_SomeJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstypewithde...|__jstypewithdefault_SomeJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypewithdefault.Interface [static fields] -(global $f_$initialized__jstypewithdefault_Interface (mut i32) (i32.const 0)) -(global $f_$class__jstypewithdefault_Interface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstypewithde...|__jstypewithdefault_Interface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstypewithdefault_Interface (mut i32) + (i32.const 0) +) +(global $f_$class__jstypewithdefault_Interface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstypewithde...|__jstypewithdefault_Interface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypewithdefault.Interface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/jstypewithnamespace/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/jstypewithnamespace/output_wasm/module.wat.txt index 46252f0d67..2c48723e9d 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/jstypewithnamespace/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/jstypewithnamespace/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for jstypewithnamespace.JsTypeWithNamespace [static fields] -(global $f_$initialized__jstypewithnamespace_JsTypeWithNamespace (mut i32) (i32.const 0)) -(global $f_$class__jstypewithnamespace_JsTypeWithNamespace (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|jstypewithna...|__jstypewithnamespace_JsTypeWithNamespace (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__jstypewithnamespace_JsTypeWithNamespace (mut i32) + (i32.const 0) +) +(global $f_$class__jstypewithnamespace_JsTypeWithNamespace (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|jstypewithna...|__jstypewithnamespace_JsTypeWithNamespace (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for jstypewithnamespace.JsTypeWithNamespace [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/labelstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/labelstatement/output_wasm/module.wat.txt index 6946fc7b93..d3cb38d8d1 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/labelstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/labelstatement/output_wasm/module.wat.txt @@ -36,9 +36,15 @@ ) ;;; Code for labelstatement.LabeledStatement [static fields] -(global $f_$initialized__labelstatement_LabeledStatement (mut i32) (i32.const 0)) -(global $f_$class__labelstatement_LabeledStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|labelstateme...|__labelstatement_LabeledStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__labelstatement_LabeledStatement (mut i32) + (i32.const 0) +) +(global $f_$class__labelstatement_LabeledStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|labelstateme...|__labelstatement_LabeledStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for labelstatement.LabeledStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/lambdas/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/lambdas/output_wasm/module.wat.txt index 5d66e0ea80..04e18a64f9 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/lambdas/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/lambdas/output_wasm/module.wat.txt @@ -1236,20 +1236,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$1 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$1 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$1 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$1) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$1.itable (ref $lambdas.Lambdas.$LambdaImplementor$1.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$1.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$1.itable (ref $lambdas.Lambdas.$LambdaImplementor$1.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$1.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$2 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$2.vtable (ref $lambdas.Lambdas.$LambdaImplementor$2.vtable) @@ -1264,20 +1267,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$2 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$2 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$2 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$2) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$2.itable (ref $lambdas.Lambdas.$LambdaImplementor$2.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$2.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$2.itable (ref $lambdas.Lambdas.$LambdaImplementor$2.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$2.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$3 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$3.vtable (ref $lambdas.Lambdas.$LambdaImplementor$3.vtable) @@ -1292,20 +1298,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$3 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$3 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$3 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$3) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$3.itable (ref $lambdas.Lambdas.$LambdaImplementor$3.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$3.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$3) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$3.itable (ref $lambdas.Lambdas.$LambdaImplementor$3.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$3.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$3) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$4 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$4.vtable (ref $lambdas.Lambdas.$LambdaImplementor$4.vtable) @@ -1320,20 +1329,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$4 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$4 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$4 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$4) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$4.itable (ref $lambdas.Lambdas.$LambdaImplementor$4.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$4.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$4) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$4.itable (ref $lambdas.Lambdas.$LambdaImplementor$4.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$4.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$4) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$5 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$5.vtable (ref $lambdas.Lambdas.$LambdaImplementor$5.vtable) @@ -1348,20 +1360,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$5 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$5 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$5 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$5) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$5.itable (ref $lambdas.Lambdas.$LambdaImplementor$5.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$5.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$5) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$5.itable (ref $lambdas.Lambdas.$LambdaImplementor$5.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$5.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$5) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$6 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$6.vtable (ref $lambdas.Lambdas.$LambdaImplementor$6.vtable) @@ -1376,20 +1391,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$6 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$6 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$6 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$6) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$6.itable (ref $lambdas.Lambdas.$LambdaImplementor$6.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$6.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$6) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$6.itable (ref $lambdas.Lambdas.$LambdaImplementor$6.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$6.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$6) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$7 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$7.vtable (ref $lambdas.Lambdas.$LambdaImplementor$7.vtable) @@ -1404,20 +1422,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$7 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$7 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$7 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$7) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$7.itable (ref $lambdas.Lambdas.$LambdaImplementor$7.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$7.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$7) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$7.itable (ref $lambdas.Lambdas.$LambdaImplementor$7.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$7.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$7) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$8 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$8.vtable (ref $lambdas.Lambdas.$LambdaImplementor$8.vtable) @@ -1432,20 +1453,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$8 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$8 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$8 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$8) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$8.itable (ref $lambdas.Lambdas.$LambdaImplementor$8.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$8.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$8) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$8.itable (ref $lambdas.Lambdas.$LambdaImplementor$8.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$8.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$8) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$9 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$9.vtable (ref $lambdas.Lambdas.$LambdaImplementor$9.vtable) @@ -1460,20 +1484,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$9 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$9 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$9 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$9) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$9.itable (ref $lambdas.Lambdas.$LambdaImplementor$9.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$9.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$9) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$9.itable (ref $lambdas.Lambdas.$LambdaImplementor$9.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$9.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$9) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$10 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$10.vtable (ref $lambdas.Lambdas.$LambdaImplementor$10.vtable) @@ -1488,20 +1515,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$10 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$10 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$10 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.$LambdaImplementor$10) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$10.itable (ref $lambdas.Lambdas.$LambdaImplementor$10.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$10.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$10) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$10.itable (ref $lambdas.Lambdas.$LambdaImplementor$10.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$10.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$10) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.1 [vtable.init] (global $lambdas.Lambdas.1.vtable (ref $lambdas.Lambdas.1.vtable) @@ -1516,20 +1546,23 @@ ) ;;; Code for lambdas.Lambdas.1 [itable.init] -(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.1 (ref $lambdas.Lambdas.Functional.vtable) + +(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.1 (ref $lambdas.Lambdas.Functional.vtable) (struct.new $lambdas.Lambdas.Functional.vtable (ref.func $m_wrap__lambdas_Lambdas_Functional__lambdas_Lambdas_Functional@lambdas.Lambdas.1) ) +) +(global $lambdas.Lambdas.1.itable (ref $lambdas.Lambdas.1.itable) + (struct.new $lambdas.Lambdas.1.itable + (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.1.itable (ref $lambdas.Lambdas.1.itable) (struct.new $lambdas.Lambdas.1.itable - (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$11 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$11.vtable (ref $lambdas.Lambdas.$LambdaImplementor$11.vtable) @@ -1544,20 +1577,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$11 [itable.init] -(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$11 (ref $lambdas.Lambdas.Functional.vtable) + +(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$11 (ref $lambdas.Lambdas.Functional.vtable) (struct.new $lambdas.Lambdas.Functional.vtable (ref.func $m_wrap__lambdas_Lambdas_Functional__lambdas_Lambdas_Functional@lambdas.Lambdas.$LambdaImplementor$11) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$11.itable (ref $lambdas.Lambdas.$LambdaImplementor$11.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$11.itable + (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$11) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$11.itable (ref $lambdas.Lambdas.$LambdaImplementor$11.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$11.itable - (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$11) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.2 [vtable.init] (global $lambdas.Lambdas.2.vtable (ref $lambdas.Lambdas.2.vtable) @@ -1572,20 +1608,23 @@ ) ;;; Code for lambdas.Lambdas.2 [itable.init] -(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.2 (ref $lambdas.Lambdas.Functional.vtable) + +(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.2 (ref $lambdas.Lambdas.Functional.vtable) (struct.new $lambdas.Lambdas.Functional.vtable (ref.func $m_wrap__lambdas_Lambdas_Functional__lambdas_Lambdas_Functional@lambdas.Lambdas.2) ) +) +(global $lambdas.Lambdas.2.itable (ref $lambdas.Lambdas.2.itable) + (struct.new $lambdas.Lambdas.2.itable + (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.2.itable (ref $lambdas.Lambdas.2.itable) (struct.new $lambdas.Lambdas.2.itable - (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$12 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$12.vtable (ref $lambdas.Lambdas.$LambdaImplementor$12.vtable) @@ -1600,20 +1639,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$12 [itable.init] -(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$12 (ref $lambdas.Lambdas.Functional.vtable) + +(global $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$12 (ref $lambdas.Lambdas.Functional.vtable) (struct.new $lambdas.Lambdas.Functional.vtable (ref.func $m_wrap__lambdas_Lambdas_Functional__lambdas_Lambdas_Functional@lambdas.Lambdas.$LambdaImplementor$12) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$12.itable (ref $lambdas.Lambdas.$LambdaImplementor$12.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$12.itable + (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$12) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$12.itable (ref $lambdas.Lambdas.$LambdaImplementor$12.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$12.itable - (global.get $lambdas.Lambdas.Functional.vtable@$lambdas.Lambdas.$LambdaImplementor$12) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$13 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$13.vtable (ref $lambdas.Lambdas.$LambdaImplementor$13.vtable) @@ -1628,20 +1670,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$13 [itable.init] -(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$13 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) + +(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$13 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) (struct.new $lambdas.Lambdas.GenericFunctionalInterface.vtable (ref.func $m_m__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$13) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$13.itable (ref $lambdas.Lambdas.$LambdaImplementor$13.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$13.itable + (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$13) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$13.itable (ref $lambdas.Lambdas.$LambdaImplementor$13.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$13.itable - (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$13) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$14 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$14.vtable (ref $lambdas.Lambdas.$LambdaImplementor$14.vtable) @@ -1656,20 +1701,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$14 [itable.init] -(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$14 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) + +(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$14 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) (struct.new $lambdas.Lambdas.GenericFunctionalInterface.vtable (ref.func $m_m__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$14) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$14.itable (ref $lambdas.Lambdas.$LambdaImplementor$14.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$14.itable + (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$14) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$14.itable (ref $lambdas.Lambdas.$LambdaImplementor$14.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$14.itable - (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$14) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$15 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$15.vtable (ref $lambdas.Lambdas.$LambdaImplementor$15.vtable) @@ -1684,20 +1732,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$15 [itable.init] -(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$15 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) + +(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$15 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) (struct.new $lambdas.Lambdas.GenericFunctionalInterface.vtable (ref.func $m_m__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$15) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$15.itable (ref $lambdas.Lambdas.$LambdaImplementor$15.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$15.itable + (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$15) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$15.itable (ref $lambdas.Lambdas.$LambdaImplementor$15.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$15.itable - (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$15) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$16 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$16.vtable (ref $lambdas.Lambdas.$LambdaImplementor$16.vtable) @@ -1713,21 +1764,24 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$16 [itable.init] -(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$16 (ref $lambdas.Lambdas.BiFunction.vtable) + +(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$16 (ref $lambdas.Lambdas.BiFunction.vtable) (struct.new $lambdas.Lambdas.BiFunction.vtable (ref.func $m_andThen__lambdas_Lambdas_Function__lambdas_Lambdas_BiFunction@lambdas.Lambdas.$LambdaImplementor$16) (ref.func $m_apply__java_lang_Object__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$16) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$16.itable (ref $lambdas.Lambdas.$LambdaImplementor$16.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$16.itable + (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$16) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$16.itable (ref $lambdas.Lambdas.$LambdaImplementor$16.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$16.itable - (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$16) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$17 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$17.vtable (ref $lambdas.Lambdas.$LambdaImplementor$17.vtable) @@ -1743,21 +1797,24 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$17 [itable.init] -(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$17 (ref $lambdas.Lambdas.BiFunction.vtable) + +(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$17 (ref $lambdas.Lambdas.BiFunction.vtable) (struct.new $lambdas.Lambdas.BiFunction.vtable (ref.func $m_andThen__lambdas_Lambdas_Function__lambdas_Lambdas_BiFunction@lambdas.Lambdas.$LambdaImplementor$17) (ref.func $m_apply__java_lang_Object__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$17) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$17.itable (ref $lambdas.Lambdas.$LambdaImplementor$17.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$17.itable + (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$17) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$17.itable (ref $lambdas.Lambdas.$LambdaImplementor$17.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$17.itable - (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$17) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$18 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$18.vtable (ref $lambdas.Lambdas.$LambdaImplementor$18.vtable) @@ -1772,20 +1829,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$18 [itable.init] -(global $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$18 (ref $lambdas.Lambdas.Function.vtable) + +(global $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$18 (ref $lambdas.Lambdas.Function.vtable) (struct.new $lambdas.Lambdas.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$18) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$18.itable (ref $lambdas.Lambdas.$LambdaImplementor$18.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$18.itable + (global.get $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$18) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$18.itable (ref $lambdas.Lambdas.$LambdaImplementor$18.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$18.itable - (global.get $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$18) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$19 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$19.vtable (ref $lambdas.Lambdas.$LambdaImplementor$19.vtable) @@ -1800,20 +1860,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$19 [itable.init] -(global $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$19 (ref $lambdas.Lambdas.Function.vtable) + +(global $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$19 (ref $lambdas.Lambdas.Function.vtable) (struct.new $lambdas.Lambdas.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$19) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$19.itable (ref $lambdas.Lambdas.$LambdaImplementor$19.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$19.itable + (global.get $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$19) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$19.itable (ref $lambdas.Lambdas.$LambdaImplementor$19.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$19.itable - (global.get $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.$LambdaImplementor$19) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$20 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$20.vtable (ref $lambdas.Lambdas.$LambdaImplementor$20.vtable) @@ -1828,20 +1891,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$20 [itable.init] -(global $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$20 (ref $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable) + +(global $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$20 (ref $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable) (struct.new $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable (ref.func $m_run__void@lambdas.Lambdas.$LambdaImplementor$20) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$20.itable (ref $lambdas.Lambdas.$LambdaImplementor$20.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$20.itable + (global.get $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$20) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$20.itable (ref $lambdas.Lambdas.$LambdaImplementor$20.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$20.itable - (global.get $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$20) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.3 [vtable.init] (global $lambdas.Lambdas.3.vtable (ref $lambdas.Lambdas.3.vtable) @@ -1867,20 +1933,23 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$21 [itable.init] -(global $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$21 (ref $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable) + +(global $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$21 (ref $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable) (struct.new $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable (ref.func $m_run__void@lambdas.Lambdas.$LambdaImplementor$21) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$21.itable (ref $lambdas.Lambdas.$LambdaImplementor$21.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$21.itable + (global.get $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$21) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$21.itable (ref $lambdas.Lambdas.$LambdaImplementor$21.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$21.itable - (global.get $lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid.vtable@$lambdas.Lambdas.$LambdaImplementor$21) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$22 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$22.vtable (ref $lambdas.Lambdas.$LambdaImplementor$22.vtable) @@ -1896,24 +1965,28 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$22 [itable.init] -(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$22 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) + +(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$22 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) (struct.new $lambdas.Lambdas.GenericFunctionalInterface.vtable (ref.func $m_m__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$22) ) - )(global $lambdas.Lambdas.JustADefaultT.vtable@$lambdas.Lambdas.$LambdaImplementor$22 (ref $lambdas.Lambdas.JustADefaultT.vtable) +) +(global $lambdas.Lambdas.JustADefaultT.vtable@$lambdas.Lambdas.$LambdaImplementor$22 (ref $lambdas.Lambdas.JustADefaultT.vtable) (struct.new $lambdas.Lambdas.JustADefaultT.vtable (ref.func $m_method__java_lang_Object__void@lambdas.Lambdas.$LambdaImplementor$22) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$22.itable (ref $lambdas.Lambdas.$LambdaImplementor$22.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$22.itable + (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$22) + (global.get $lambdas.Lambdas.JustADefaultT.vtable@$lambdas.Lambdas.$LambdaImplementor$22) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$22.itable (ref $lambdas.Lambdas.$LambdaImplementor$22.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$22.itable - (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$22) - (global.get $lambdas.Lambdas.JustADefaultT.vtable@$lambdas.Lambdas.$LambdaImplementor$22) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$23 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$23.vtable (ref $lambdas.Lambdas.$LambdaImplementor$23.vtable) @@ -1929,24 +2002,28 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$23 [itable.init] -(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$23 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) + +(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$23 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) (struct.new $lambdas.Lambdas.GenericFunctionalInterface.vtable (ref.func $m_m__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$23) ) - )(global $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$23 (ref $lambdas.Lambdas.JustADefaultS.vtable) +) +(global $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$23 (ref $lambdas.Lambdas.JustADefaultS.vtable) (struct.new $lambdas.Lambdas.JustADefaultS.vtable (ref.func $m_method__java_lang_Object__void@lambdas.Lambdas.$LambdaImplementor$23) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$23.itable (ref $lambdas.Lambdas.$LambdaImplementor$23.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$23.itable + (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$23) + (global.get $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$23) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$23.itable (ref $lambdas.Lambdas.$LambdaImplementor$23.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$23.itable - (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$23) - (global.get $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$23) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$24 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$24.vtable (ref $lambdas.Lambdas.$LambdaImplementor$24.vtable) @@ -1962,24 +2039,28 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$24 [itable.init] -(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$24 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) + +(global $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$24 (ref $lambdas.Lambdas.GenericFunctionalInterface.vtable) (struct.new $lambdas.Lambdas.GenericFunctionalInterface.vtable (ref.func $m_m__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$24) ) - )(global $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$24 (ref $lambdas.Lambdas.JustADefaultS.vtable) +) +(global $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$24 (ref $lambdas.Lambdas.JustADefaultS.vtable) (struct.new $lambdas.Lambdas.JustADefaultS.vtable (ref.func $m_method__java_lang_Object__void@lambdas.Lambdas.$LambdaImplementor$24) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$24.itable (ref $lambdas.Lambdas.$LambdaImplementor$24.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$24.itable + (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$24) + (global.get $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$24) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$24.itable (ref $lambdas.Lambdas.$LambdaImplementor$24.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$24.itable - (global.get $lambdas.Lambdas.GenericFunctionalInterface.vtable@$lambdas.Lambdas.$LambdaImplementor$24) - (global.get $lambdas.Lambdas.JustADefaultS.vtable@$lambdas.Lambdas.$LambdaImplementor$24) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$25 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$25.vtable (ref $lambdas.Lambdas.$LambdaImplementor$25.vtable) @@ -1996,25 +2077,29 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$25 [itable.init] -(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$25 (ref $lambdas.Lambdas.BiFunction.vtable) + +(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$25 (ref $lambdas.Lambdas.BiFunction.vtable) (struct.new $lambdas.Lambdas.BiFunction.vtable (ref.func $m_andThen__lambdas_Lambdas_Function__lambdas_Lambdas_BiFunction@lambdas.Lambdas.$LambdaImplementor$25) (ref.func $m_apply__java_lang_Object__java_lang_Object__java_lang_Object@lambdas.Lambdas.$LambdaImplementor$25) ) - )(global $lambdas.Lambdas.MarkerWithDefaultMethod.vtable@$lambdas.Lambdas.$LambdaImplementor$25 (ref $lambdas.Lambdas.MarkerWithDefaultMethod.vtable) +) +(global $lambdas.Lambdas.MarkerWithDefaultMethod.vtable@$lambdas.Lambdas.$LambdaImplementor$25 (ref $lambdas.Lambdas.MarkerWithDefaultMethod.vtable) (struct.new $lambdas.Lambdas.MarkerWithDefaultMethod.vtable (ref.func $m_defaultMethod__void@lambdas.Lambdas.$LambdaImplementor$25) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$25.itable (ref $lambdas.Lambdas.$LambdaImplementor$25.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$25.itable + (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$25) + (global.get $lambdas.Lambdas.MarkerWithDefaultMethod.vtable@$lambdas.Lambdas.$LambdaImplementor$25) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$25.itable (ref $lambdas.Lambdas.$LambdaImplementor$25.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$25.itable - (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.$LambdaImplementor$25) - (global.get $lambdas.Lambdas.MarkerWithDefaultMethod.vtable@$lambdas.Lambdas.$LambdaImplementor$25) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$26 [vtable.init] (global $lambdas.Lambdas.$LambdaImplementor$26.vtable (ref $lambdas.Lambdas.$LambdaImplementor$26.vtable) @@ -2031,22 +2116,25 @@ ) ;;; Code for lambdas.Lambdas.$LambdaImplementor$26 [itable.init] -(global $java.lang.Iterable.vtable@$lambdas.Lambdas.$LambdaImplementor$26 (ref $java.lang.Iterable.vtable) + +(global $java.lang.Iterable.vtable@$lambdas.Lambdas.$LambdaImplementor$26 (ref $java.lang.Iterable.vtable) (struct.new $java.lang.Iterable.vtable (ref.func $m_forEach__java_util_function_Consumer__void@lambdas.Lambdas.$LambdaImplementor$26) (ref.func $m_iterator__java_util_Iterator@lambdas.Lambdas.$LambdaImplementor$26) (ref.func $m_spliterator__java_util_Spliterator@lambdas.Lambdas.$LambdaImplementor$26) ) +) +(global $lambdas.Lambdas.$LambdaImplementor$26.itable (ref $lambdas.Lambdas.$LambdaImplementor$26.itable) + (struct.new $lambdas.Lambdas.$LambdaImplementor$26.itable + (ref.null struct) + (global.get $java.lang.Iterable.vtable@$lambdas.Lambdas.$LambdaImplementor$26) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.$LambdaImplementor$26.itable (ref $lambdas.Lambdas.$LambdaImplementor$26.itable) (struct.new $lambdas.Lambdas.$LambdaImplementor$26.itable - (ref.null struct) - (global.get $java.lang.Iterable.vtable@$lambdas.Lambdas.$LambdaImplementor$26) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.BiFunction.$LambdaImplementor$27 [vtable.init] (global $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.vtable (ref $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.vtable) @@ -2062,21 +2150,24 @@ ) ;;; Code for lambdas.Lambdas.BiFunction.$LambdaImplementor$27 [itable.init] -(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.BiFunction.$LambdaImplementor$27 (ref $lambdas.Lambdas.BiFunction.vtable) + +(global $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.BiFunction.$LambdaImplementor$27 (ref $lambdas.Lambdas.BiFunction.vtable) (struct.new $lambdas.Lambdas.BiFunction.vtable (ref.func $m_andThen__lambdas_Lambdas_Function__lambdas_Lambdas_BiFunction@lambdas.Lambdas.BiFunction.$LambdaImplementor$27) (ref.func $m_apply__java_lang_Object__java_lang_Object__java_lang_Object@lambdas.Lambdas.BiFunction.$LambdaImplementor$27) ) +) +(global $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.itable (ref $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.itable) + (struct.new $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.itable + (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.BiFunction.$LambdaImplementor$27) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.itable (ref $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.itable) (struct.new $lambdas.Lambdas.BiFunction.$LambdaImplementor$27.itable - (global.get $lambdas.Lambdas.BiFunction.vtable@$lambdas.Lambdas.BiFunction.$LambdaImplementor$27) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.Function.$LambdaImplementor$28 [vtable.init] (global $lambdas.Lambdas.Function.$LambdaImplementor$28.vtable (ref $lambdas.Lambdas.Function.$LambdaImplementor$28.vtable) @@ -2091,20 +2182,23 @@ ) ;;; Code for lambdas.Lambdas.Function.$LambdaImplementor$28 [itable.init] -(global $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.Function.$LambdaImplementor$28 (ref $lambdas.Lambdas.Function.vtable) + +(global $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.Function.$LambdaImplementor$28 (ref $lambdas.Lambdas.Function.vtable) (struct.new $lambdas.Lambdas.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@lambdas.Lambdas.Function.$LambdaImplementor$28) ) +) +(global $lambdas.Lambdas.Function.$LambdaImplementor$28.itable (ref $lambdas.Lambdas.Function.$LambdaImplementor$28.itable) + (struct.new $lambdas.Lambdas.Function.$LambdaImplementor$28.itable + (global.get $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.Function.$LambdaImplementor$28) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.Function.$LambdaImplementor$28.itable (ref $lambdas.Lambdas.Function.$LambdaImplementor$28.itable) (struct.new $lambdas.Lambdas.Function.$LambdaImplementor$28.itable - (global.get $lambdas.Lambdas.Function.vtable@$lambdas.Lambdas.Function.$LambdaImplementor$28) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.Parent [vtable.init] (global $lambdas.Lambdas.Parent.vtable (ref $lambdas.Lambdas.Parent.vtable) @@ -2131,20 +2225,23 @@ ) ;;; Code for lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29 [itable.init] -(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29 (ref $lambdas.Lambdas.FunctionalInterface.vtable) + +(global $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29 (ref $lambdas.Lambdas.FunctionalInterface.vtable) (struct.new $lambdas.Lambdas.FunctionalInterface.vtable (ref.func $m_m__int__int@lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29) ) +) +(global $lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29.itable (ref $lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29.itable) + (struct.new $lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29.itable + (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29.itable (ref $lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29.itable) (struct.new $lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29.itable - (global.get $lambdas.Lambdas.FunctionalInterface.vtable@$lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.LambdaInSubClass [vtable.init] (global $lambdas.Lambdas.LambdaInSubClass.vtable (ref $lambdas.Lambdas.LambdaInSubClass.vtable) @@ -2172,20 +2269,23 @@ ) ;;; Code for lambdas.Lambdas.IdentityFunction [itable.init] -(global $lambdas.Lambdas.GenericJsFunction.vtable@$lambdas.Lambdas.IdentityFunction (ref $lambdas.Lambdas.GenericJsFunction.vtable) + +(global $lambdas.Lambdas.GenericJsFunction.vtable@$lambdas.Lambdas.IdentityFunction (ref $lambdas.Lambdas.GenericJsFunction.vtable) (struct.new $lambdas.Lambdas.GenericJsFunction.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@lambdas.Lambdas.IdentityFunction) ) +) +(global $lambdas.Lambdas.IdentityFunction.itable (ref $lambdas.Lambdas.IdentityFunction.itable) + (struct.new $lambdas.Lambdas.IdentityFunction.itable + (global.get $lambdas.Lambdas.GenericJsFunction.vtable@$lambdas.Lambdas.IdentityFunction) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.IdentityFunction.itable (ref $lambdas.Lambdas.IdentityFunction.itable) (struct.new $lambdas.Lambdas.IdentityFunction.itable - (global.get $lambdas.Lambdas.GenericJsFunction.vtable@$lambdas.Lambdas.IdentityFunction) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.Outer.$LambdaImplementor$30 [vtable.init] (global $lambdas.Lambdas.Outer.$LambdaImplementor$30.vtable (ref $lambdas.Lambdas.Outer.$LambdaImplementor$30.vtable) @@ -2200,20 +2300,23 @@ ) ;;; Code for lambdas.Lambdas.Outer.$LambdaImplementor$30 [itable.init] -(global $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Outer.$LambdaImplementor$30 (ref $lambdas.Lambdas.Runnable.vtable) + +(global $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Outer.$LambdaImplementor$30 (ref $lambdas.Lambdas.Runnable.vtable) (struct.new $lambdas.Lambdas.Runnable.vtable (ref.func $m_run__void@lambdas.Lambdas.Outer.$LambdaImplementor$30) ) +) +(global $lambdas.Lambdas.Outer.$LambdaImplementor$30.itable (ref $lambdas.Lambdas.Outer.$LambdaImplementor$30.itable) + (struct.new $lambdas.Lambdas.Outer.$LambdaImplementor$30.itable + (global.get $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Outer.$LambdaImplementor$30) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.Outer.$LambdaImplementor$30.itable (ref $lambdas.Lambdas.Outer.$LambdaImplementor$30.itable) (struct.new $lambdas.Lambdas.Outer.$LambdaImplementor$30.itable - (global.get $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Outer.$LambdaImplementor$30) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.Outer [vtable.init] (global $lambdas.Lambdas.Outer.vtable (ref $lambdas.Lambdas.Outer.vtable) @@ -2253,20 +2356,23 @@ ) ;;; Code for lambdas.Lambdas.Sub.1 [itable.init] -(global $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Sub.1 (ref $lambdas.Lambdas.Runnable.vtable) + +(global $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Sub.1 (ref $lambdas.Lambdas.Runnable.vtable) (struct.new $lambdas.Lambdas.Runnable.vtable (ref.func $m_run__void@lambdas.Lambdas.Sub.1) ) +) +(global $lambdas.Lambdas.Sub.1.itable (ref $lambdas.Lambdas.Sub.1.itable) + (struct.new $lambdas.Lambdas.Sub.1.itable + (global.get $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Sub.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.Sub.1.itable (ref $lambdas.Lambdas.Sub.1.itable) (struct.new $lambdas.Lambdas.Sub.1.itable - (global.get $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.Sub.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.Sub [vtable.init] (global $lambdas.Lambdas.Sub.vtable (ref $lambdas.Lambdas.Sub.vtable) @@ -2294,20 +2400,23 @@ ) ;;; Code for lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31 [itable.init] -(global $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31 (ref $lambdas.Lambdas.Runnable.vtable) + +(global $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31 (ref $lambdas.Lambdas.Runnable.vtable) (struct.new $lambdas.Lambdas.Runnable.vtable (ref.func $m_run__void@lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31) ) +) +(global $lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31.itable (ref $lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31.itable) + (struct.new $lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31.itable + (global.get $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31.itable (ref $lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31.itable) (struct.new $lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31.itable - (global.get $lambdas.Lambdas.Runnable.vtable@$lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for lambdas.Lambdas.SubWithLambda [vtable.init] (global $lambdas.Lambdas.SubWithLambda.vtable (ref $lambdas.Lambdas.SubWithLambda.vtable) @@ -2323,299 +2432,649 @@ ) ;;; Code for lambdas.Lambdas [static fields] -(global $f_identityFunction__lambdas_Lambdas_ (mut (ref null $lambdas.Lambdas.IdentityFunction)) (ref.null $lambdas.Lambdas.IdentityFunction)) -(global $f_$initialized__lambdas_Lambdas (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lambdas|__lambdas_Lambdas (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_identityFunction__lambdas_Lambdas_ (mut (ref null $lambdas.Lambdas.IdentityFunction)) + (ref.null $lambdas.Lambdas.IdentityFunction) +) +(global $f_$initialized__lambdas_Lambdas (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lambdas|__lambdas_Lambdas (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$1 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$2 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$3 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$3 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$3 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$4 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$4 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$4 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$4 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$4 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$4 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$4 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$5 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$5 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$5 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$5 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$5 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$5 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$5 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$6 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$6 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$6 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$6 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$6 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$6 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$6 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$7 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$7 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$7 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$7 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$7 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$7 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$7 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$8 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$8 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$8 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$8 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$8 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$8 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$8 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$9 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$9 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$9 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$9 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$9 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$9 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$9 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$10 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$10 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$10 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$10 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$10 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$10 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$10 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.1 [static fields] -(global $f_$initialized__lambdas_Lambdas_1 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_1 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$11 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$11 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$11 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$11 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$11 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$11 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$11 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.2 [static fields] -(global $f_$initialized__lambdas_Lambdas_2 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_2 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$12 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$12 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$12 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$12 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$12 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$12 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$12 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$13 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$13 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$13 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$13 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$13 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$13 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$13 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$14 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$14 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$14 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$14 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$14 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$14 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$14 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$15 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$15 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$15 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$15 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$15 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$15 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$15 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$16 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$16 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$16 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$16 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$16 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$16 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$16 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$17 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$17 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$17 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$17 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$17 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$17 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$17 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$18 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$18 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$18 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$18 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$18 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$18 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$18 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$19 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$19 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$19 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$19 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$19 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$19 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$19 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$20 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$20 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$20 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$20 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$20 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$20 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$20 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.3 [static fields] -(global $f_$initialized__lambdas_Lambdas_3 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_3 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$21 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$21 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$21 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$21 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$21 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$21 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$21 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$22 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$22 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$22 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$22 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$22 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$22 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$22 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$23 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$23 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$23 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$23 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$23 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$23 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$23 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$24 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$24 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$24 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$24 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$24 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$24 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$24 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$25 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$25 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$25 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$25 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$25 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$25 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$25 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.$LambdaImplementor$26 [static fields] -(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$26 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_$LambdaImplementor$26 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$26 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_$LambdaImplementor$26 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_$LambdaImplementor$26 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_$LambdaImplementor$26 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.FunctionalInterface [static fields] -(global $f_$initialized__lambdas_Lambdas_FunctionalInterface (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_FunctionalInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_FunctionalInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_FunctionalInterface (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_FunctionalInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_FunctionalInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Functional [static fields] -(global $f_$initialized__lambdas_Lambdas_Functional (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Functional (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Functional (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Functional (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Functional (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Functional (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.GenericFunctionalInterface [static fields] -(global $f_$initialized__lambdas_Lambdas_GenericFunctionalInterface (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_GenericFunctionalInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_GenericFunctionalInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_GenericFunctionalInterface (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_GenericFunctionalInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_GenericFunctionalInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.BiFunction.$LambdaImplementor$27 [static fields] -(global $f_$initialized__lambdas_Lambdas_BiFunction_$LambdaImplementor$27 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_BiFunction_$LambdaImplementor$27 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_BiFunction_$LambdaImplementor$27 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_BiFunction_$LambdaImplementor$27 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_BiFunction_$LambdaImplementor$27 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_BiFunction_$LambdaImplementor$27 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.BiFunction [static fields] -(global $f_$initialized__lambdas_Lambdas_BiFunction (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_BiFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_BiFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_BiFunction (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_BiFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_BiFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Function.$LambdaImplementor$28 [static fields] -(global $f_$initialized__lambdas_Lambdas_Function_$LambdaImplementor$28 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Function_$LambdaImplementor$28 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Function_$LambdaImplementor$28 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Function_$LambdaImplementor$28 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Function_$LambdaImplementor$28 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Function_$LambdaImplementor$28 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Function [static fields] -(global $f_$initialized__lambdas_Lambdas_Function (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Function (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.FunctionalInterfaceWithMethodReturningVoid [static fields] -(global $f_$initialized__lambdas_Lambdas_FunctionalInterfaceWithMethodReturningVoid (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_FunctionalInterfaceWithMethodReturningVoid (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_FunctionalInterfaceWithMethodReturningVoid (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_FunctionalInterfaceWithMethodReturningVoid (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_FunctionalInterfaceWithMethodReturningVoid (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_FunctionalInterfaceWithMethodReturningVoid (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Parent [static fields] -(global $f_$initialized__lambdas_Lambdas_Parent (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.LambdaInSubClass.$LambdaImplementor$29 [static fields] -(global $f_$initialized__lambdas_Lambdas_LambdaInSubClass_$LambdaImplementor$29 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_LambdaInSubClass_$LambdaImplementor$29 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_LambdaInSubClass_$LambdaImplementor$29 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_LambdaInSubClass_$LambdaImplementor$29 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_LambdaInSubClass_$LambdaImplementor$29 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_LambdaInSubClass_$LambdaImplementor$29 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.LambdaInSubClass [static fields] -(global $f_$initialized__lambdas_Lambdas_LambdaInSubClass (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_LambdaInSubClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_LambdaInSubClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_LambdaInSubClass (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_LambdaInSubClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_LambdaInSubClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.GenericJsFunction [static fields] -(global $f_$initialized__lambdas_Lambdas_GenericJsFunction (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_GenericJsFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_GenericJsFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_GenericJsFunction (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_GenericJsFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_GenericJsFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Thenable [static fields] ;;; Code for lambdas.Lambdas.AnotherThenable [static fields] ;;; Code for lambdas.Lambdas.IdentityFunction [static fields] -(global $f_$initialized__lambdas_Lambdas_IdentityFunction (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_IdentityFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_IdentityFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_IdentityFunction (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_IdentityFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_IdentityFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Equals [static fields] -(global $f_$initialized__lambdas_Lambdas_Equals (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Equals (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Equals (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Equals (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Equals (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Equals (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.JsSupplier [static fields] -(global $f_$initialized__lambdas_Lambdas_JsSupplier (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_JsSupplier (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_JsSupplier (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_JsSupplier (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_JsSupplier (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_JsSupplier (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.JustADefaultT [static fields] -(global $f_$initialized__lambdas_Lambdas_JustADefaultT (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_JustADefaultT (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_JustADefaultT (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_JustADefaultT (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_JustADefaultT (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_JustADefaultT (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.JustADefaultS [static fields] -(global $f_$initialized__lambdas_Lambdas_JustADefaultS (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_JustADefaultS (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_JustADefaultS (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_JustADefaultS (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_JustADefaultS (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_JustADefaultS (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.MarkerWithDefaultMethod [static fields] -(global $f_$initialized__lambdas_Lambdas_MarkerWithDefaultMethod (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_MarkerWithDefaultMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_MarkerWithDefaultMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_MarkerWithDefaultMethod (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_MarkerWithDefaultMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_MarkerWithDefaultMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Runnable [static fields] -(global $f_$initialized__lambdas_Lambdas_Runnable (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Runnable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Runnable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Runnable (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Runnable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Runnable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Outer.$LambdaImplementor$30 [static fields] -(global $f_$initialized__lambdas_Lambdas_Outer_$LambdaImplementor$30 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Outer_$LambdaImplementor$30 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Outer_$LambdaImplementor$30 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Outer_$LambdaImplementor$30 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Outer_$LambdaImplementor$30 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Outer_$LambdaImplementor$30 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Outer [static fields] -(global $f_$initialized__lambdas_Lambdas_Outer (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Outer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Outer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Outer (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Outer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Outer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Super [static fields] -(global $f_$initialized__lambdas_Lambdas_Super (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Super (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Super (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Super (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Super (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Super (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Sub.1 [static fields] -(global $f_$initialized__lambdas_Lambdas_Sub_1 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Sub_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Sub_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Sub_1 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Sub_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Sub_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Sub [static fields] -(global $f_$initialized__lambdas_Lambdas_Sub (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Sub (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Sub (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Sub (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Sub (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Sub (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.SubWithLambda.$LambdaImplementor$31 [static fields] -(global $f_$initialized__lambdas_Lambdas_SubWithLambda_$LambdaImplementor$31 (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_SubWithLambda_$LambdaImplementor$31 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_SubWithLambda_$LambdaImplementor$31 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_SubWithLambda_$LambdaImplementor$31 (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_SubWithLambda_$LambdaImplementor$31 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_SubWithLambda_$LambdaImplementor$31 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.SubWithLambda [static fields] -(global $f_$initialized__lambdas_Lambdas_SubWithLambda (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_SubWithLambda (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_SubWithLambda (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_SubWithLambda (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_SubWithLambda (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_SubWithLambda (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.Thenable.$Overlay [static fields] -(global $f_$initialized__lambdas_Lambdas_Thenable_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_Thenable_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Thenable_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_Thenable_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_Thenable_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_Thenable_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.AnotherThenable.$Overlay [static fields] -(global $f_$initialized__lambdas_Lambdas_AnotherThenable_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__lambdas_Lambdas_AnotherThenable_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_AnotherThenable_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__lambdas_Lambdas_AnotherThenable_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__lambdas_Lambdas_AnotherThenable_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|lambdas.Lamb...|__lambdas_Lambdas_AnotherThenable_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for lambdas.Lambdas.FunctionalInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/libraryinfo/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/libraryinfo/output_wasm/module.wat.txt index 5d354c0fbc..3b5a7bd095 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/libraryinfo/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/libraryinfo/output_wasm/module.wat.txt @@ -231,20 +231,23 @@ ) ;;; Code for libraryinfo.Main.$LambdaImplementor$1 [itable.init] -(global $libraryinfo.Main.Function.vtable@$libraryinfo.Main.$LambdaImplementor$1 (ref $libraryinfo.Main.Function.vtable) + +(global $libraryinfo.Main.Function.vtable@$libraryinfo.Main.$LambdaImplementor$1 (ref $libraryinfo.Main.Function.vtable) (struct.new $libraryinfo.Main.Function.vtable (ref.func $m_apply__java_lang_String__void@libraryinfo.Main.$LambdaImplementor$1) ) +) +(global $libraryinfo.Main.$LambdaImplementor$1.itable (ref $libraryinfo.Main.$LambdaImplementor$1.itable) + (struct.new $libraryinfo.Main.$LambdaImplementor$1.itable + (global.get $libraryinfo.Main.Function.vtable@$libraryinfo.Main.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $libraryinfo.Main.$LambdaImplementor$1.itable (ref $libraryinfo.Main.$LambdaImplementor$1.itable) (struct.new $libraryinfo.Main.$LambdaImplementor$1.itable - (global.get $libraryinfo.Main.Function.vtable@$libraryinfo.Main.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for libraryinfo.Main.1 [vtable.init] (global $libraryinfo.Main.1.vtable (ref $libraryinfo.Main.1.vtable) @@ -271,20 +274,23 @@ ) ;;; Code for libraryinfo.Main.FunctionImpl [itable.init] -(global $libraryinfo.Main.Function.vtable@$libraryinfo.Main.FunctionImpl (ref $libraryinfo.Main.Function.vtable) + +(global $libraryinfo.Main.Function.vtable@$libraryinfo.Main.FunctionImpl (ref $libraryinfo.Main.Function.vtable) (struct.new $libraryinfo.Main.Function.vtable (ref.func $m_apply__java_lang_String__void@libraryinfo.Main.FunctionImpl) ) +) +(global $libraryinfo.Main.FunctionImpl.itable (ref $libraryinfo.Main.FunctionImpl.itable) + (struct.new $libraryinfo.Main.FunctionImpl.itable + (global.get $libraryinfo.Main.Function.vtable@$libraryinfo.Main.FunctionImpl) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $libraryinfo.Main.FunctionImpl.itable (ref $libraryinfo.Main.FunctionImpl.itable) (struct.new $libraryinfo.Main.FunctionImpl.itable - (global.get $libraryinfo.Main.Function.vtable@$libraryinfo.Main.FunctionImpl) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for libraryinfo.Main.MyJsEnum [vtable.init] (global $libraryinfo.Main.MyJsEnum.vtable (ref $libraryinfo.Main.MyJsEnum.vtable) @@ -303,23 +309,27 @@ ) ;;; Code for libraryinfo.Main.MyJsEnum [itable.init] -(global $java.io.Serializable.vtable@$libraryinfo.Main.MyJsEnum (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$libraryinfo.Main.MyJsEnum (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$libraryinfo.Main.MyJsEnum (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$libraryinfo.Main.MyJsEnum (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $libraryinfo.Main.MyJsEnum.itable (ref $libraryinfo.Main.MyJsEnum.itable) + (struct.new $libraryinfo.Main.MyJsEnum.itable + (global.get $java.io.Serializable.vtable@$libraryinfo.Main.MyJsEnum) + (global.get $java.lang.Comparable.vtable@$libraryinfo.Main.MyJsEnum) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $libraryinfo.Main.MyJsEnum.itable (ref $libraryinfo.Main.MyJsEnum.itable) (struct.new $libraryinfo.Main.MyJsEnum.itable - (global.get $java.io.Serializable.vtable@$libraryinfo.Main.MyJsEnum) - (global.get $java.lang.Comparable.vtable@$libraryinfo.Main.MyJsEnum) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for libraryinfo.Main.MyEnum [vtable.init] (global $libraryinfo.Main.MyEnum.vtable (ref $libraryinfo.Main.MyEnum.vtable) @@ -338,23 +348,27 @@ ) ;;; Code for libraryinfo.Main.MyEnum [itable.init] -(global $java.io.Serializable.vtable@$libraryinfo.Main.MyEnum (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$libraryinfo.Main.MyEnum (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$libraryinfo.Main.MyEnum (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$libraryinfo.Main.MyEnum (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $libraryinfo.Main.MyEnum.itable (ref $libraryinfo.Main.MyEnum.itable) + (struct.new $libraryinfo.Main.MyEnum.itable + (global.get $java.io.Serializable.vtable@$libraryinfo.Main.MyEnum) + (global.get $java.lang.Comparable.vtable@$libraryinfo.Main.MyEnum) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $libraryinfo.Main.MyEnum.itable (ref $libraryinfo.Main.MyEnum.itable) (struct.new $libraryinfo.Main.MyEnum.itable - (global.get $java.io.Serializable.vtable@$libraryinfo.Main.MyEnum) - (global.get $java.lang.Comparable.vtable@$libraryinfo.Main.MyEnum) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for libraryinfo.Main.MyJsType [vtable.init] (global $libraryinfo.Main.MyJsType.vtable (ref $libraryinfo.Main.MyJsType.vtable) @@ -380,77 +394,175 @@ ) ;;; Code for libraryinfo.Main [static fields] -(global $f_STATIC_FIELD__libraryinfo_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$initialized__libraryinfo_Main (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foo|__libraryinfo_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|STATIC_FIELD|__libraryinfo_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_STATIC_FIELD__libraryinfo_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$initialized__libraryinfo_Main (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foo|__libraryinfo_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|STATIC_FIELD|__libraryinfo_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.$LambdaImplementor$1 [static fields] -(global $f_$initialized__libraryinfo_Main_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.1 [static fields] -(global $f_$initialized__libraryinfo_Main_1 (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_1 (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.JsTypeInterface [static fields] -(global $f_$initialized__libraryinfo_Main_JsTypeInterface (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_JsTypeInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_JsTypeInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_JsTypeInterface (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_JsTypeInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_JsTypeInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.FunctionnalInterface [static fields] -(global $f_$initialized__libraryinfo_Main_FunctionnalInterface (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_FunctionnalInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_FunctionnalInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_FunctionnalInterface (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_FunctionnalInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_FunctionnalInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.JsAccessibleFunctionnalInterface [static fields] -(global $f_$initialized__libraryinfo_Main_JsAccessibleFunctionnalInterface (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_JsAccessibleFunctionnalInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_JsAccessibleFunctionnalInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_JsAccessibleFunctionnalInterface (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_JsAccessibleFunctionnalInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_JsAccessibleFunctionnalInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.Function [static fields] -(global $f_$initialized__libraryinfo_Main_Function (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_Function (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.FunctionImpl [static fields] -(global $f_$initialized__libraryinfo_Main_FunctionImpl (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_FunctionImpl (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_FunctionImpl (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_FunctionImpl (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_FunctionImpl (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_FunctionImpl (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.MyJsEnum [static fields] -(global $f_A__libraryinfo_Main_MyJsEnum (mut (ref null $libraryinfo.Main.MyJsEnum)) (ref.null $libraryinfo.Main.MyJsEnum)) -(global $f_B__libraryinfo_Main_MyJsEnum (mut (ref null $libraryinfo.Main.MyJsEnum)) (ref.null $libraryinfo.Main.MyJsEnum)) -(global $f_C__libraryinfo_Main_MyJsEnum (mut (ref null $libraryinfo.Main.MyJsEnum)) (ref.null $libraryinfo.Main.MyJsEnum)) -(global $f_namesToValuesMap__libraryinfo_Main_MyJsEnum_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__libraryinfo_Main_MyJsEnum (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_MyJsEnum (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|A|__libraryinfo_Main_MyJsEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_MyJsEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_A__libraryinfo_Main_MyJsEnum (mut (ref null $libraryinfo.Main.MyJsEnum)) + (ref.null $libraryinfo.Main.MyJsEnum) +) +(global $f_B__libraryinfo_Main_MyJsEnum (mut (ref null $libraryinfo.Main.MyJsEnum)) + (ref.null $libraryinfo.Main.MyJsEnum) +) +(global $f_C__libraryinfo_Main_MyJsEnum (mut (ref null $libraryinfo.Main.MyJsEnum)) + (ref.null $libraryinfo.Main.MyJsEnum) +) +(global $f_namesToValuesMap__libraryinfo_Main_MyJsEnum_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__libraryinfo_Main_MyJsEnum (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_MyJsEnum (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|A|__libraryinfo_Main_MyJsEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_MyJsEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.MyEnum [static fields] -(global $f_FOO__libraryinfo_Main_MyEnum (mut (ref null $libraryinfo.Main.MyEnum)) (ref.null $libraryinfo.Main.MyEnum)) -(global $f_BAR__libraryinfo_Main_MyEnum (mut (ref null $libraryinfo.Main.MyEnum)) (ref.null $libraryinfo.Main.MyEnum)) -(global $f_namesToValuesMap__libraryinfo_Main_MyEnum_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__libraryinfo_Main_MyEnum (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_MyEnum (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|FOO|__libraryinfo_Main_MyEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|BAR|__libraryinfo_Main_MyEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_MyEnum (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_FOO__libraryinfo_Main_MyEnum (mut (ref null $libraryinfo.Main.MyEnum)) + (ref.null $libraryinfo.Main.MyEnum) +) +(global $f_BAR__libraryinfo_Main_MyEnum (mut (ref null $libraryinfo.Main.MyEnum)) + (ref.null $libraryinfo.Main.MyEnum) +) +(global $f_namesToValuesMap__libraryinfo_Main_MyEnum_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__libraryinfo_Main_MyEnum (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_MyEnum (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|FOO|__libraryinfo_Main_MyEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|BAR|__libraryinfo_Main_MyEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_MyEnum (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.MyJsType [static fields] -(global $f_$initialized__libraryinfo_Main_MyJsType (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_MyJsType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_MyJsType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_MyJsType (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_MyJsType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_MyJsType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.Foo [static fields] -(global $f_$initialized__libraryinfo_Main_Foo (mut i32) (i32.const 0)) -(global $f_$class__libraryinfo_Main_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|libraryinfo....|__libraryinfo_Main_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__libraryinfo_Main_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__libraryinfo_Main_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|libraryinfo....|__libraryinfo_Main_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for libraryinfo.Main.JsTypeInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/localclassinheritance/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/localclassinheritance/output_wasm/module.wat.txt index 0a5e9a1472..fc183fd34f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/localclassinheritance/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/localclassinheritance/output_wasm/module.wat.txt @@ -92,19 +92,37 @@ ) ;;; Code for localclassinheritance.LocalClassInheritance [static fields] -(global $f_$initialized__localclassinheritance_LocalClassInheritance (mut i32) (i32.const 0)) -(global $f_$class__localclassinheritance_LocalClassInheritance (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinheritance_LocalClassInheritance (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinheritance_LocalClassInheritance (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinheritance_LocalClassInheritance (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinheritance_LocalClassInheritance (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinheritance.LocalClassInheritance.1Parent [static fields] -(global $f_$initialized__localclassinheritance_LocalClassInheritance_1Parent (mut i32) (i32.const 0)) -(global $f_$class__localclassinheritance_LocalClassInheritance_1Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinheritance_LocalClassInheritance_1Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinheritance_LocalClassInheritance_1Parent (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinheritance_LocalClassInheritance_1Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinheritance_LocalClassInheritance_1Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinheritance.LocalClassInheritance.1Child [static fields] -(global $f_$initialized__localclassinheritance_LocalClassInheritance_1Child (mut i32) (i32.const 0)) -(global $f_$class__localclassinheritance_LocalClassInheritance_1Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinheritance_LocalClassInheritance_1Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinheritance_LocalClassInheritance_1Child (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinheritance_LocalClassInheritance_1Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinheritance_LocalClassInheritance_1Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinheritance.LocalClassInheritance [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/localclassinstaticcontext/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/localclassinstaticcontext/output_wasm/module.wat.txt index e5f0f0c243..6cdab85657 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/localclassinstaticcontext/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/localclassinstaticcontext/output_wasm/module.wat.txt @@ -223,45 +223,95 @@ ) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext [static fields] -(global $f_f__localclassinstaticcontext_LocalClassInStaticContext (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_f__localclassinstaticcontext_LocalClassInStaticContext (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.1 [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_1 (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_1 (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.3 [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_3 (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_3 (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.2 [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_2 (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_2 (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.C.1D [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_C_1D (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_C_1D (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_C_1D (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_C_1D (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_C_1D (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_C_1D (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.C [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_C (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_C (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.1A [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_1A (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_1A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_1A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_1A (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_1A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_1A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext.1B [static fields] -(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_1B (mut i32) (i32.const 0)) -(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_1B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_1B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclassinstaticcontext_LocalClassInStaticContext_1B (mut i32) + (i32.const 0) +) +(global $f_$class__localclassinstaticcontext_LocalClassInStaticContext_1B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclassin...|__localclassinstaticcontext_LocalClassInStaticContext_1B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclassinstaticcontext.LocalClassInStaticContext [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/localclasswithconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/localclasswithconstructor/output_wasm/module.wat.txt index 059039ffad..316ec24240 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/localclasswithconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/localclasswithconstructor/output_wasm/module.wat.txt @@ -59,14 +59,26 @@ ) ;;; Code for localclasswithconstructor.LocalClassWithConstructor [static fields] -(global $f_$initialized__localclasswithconstructor_LocalClassWithConstructor (mut i32) (i32.const 0)) -(global $f_$class__localclasswithconstructor_LocalClassWithConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclasswi...|__localclasswithconstructor_LocalClassWithConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclasswithconstructor_LocalClassWithConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__localclasswithconstructor_LocalClassWithConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclasswi...|__localclasswithconstructor_LocalClassWithConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclasswithconstructor.LocalClassWithConstructor.1LocalClass [static fields] -(global $f_$initialized__localclasswithconstructor_LocalClassWithConstructor_1LocalClass (mut i32) (i32.const 0)) -(global $f_$class__localclasswithconstructor_LocalClassWithConstructor_1LocalClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclasswi...|__localclasswithconstructor_LocalClassWithConstructor_1LocalClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclasswithconstructor_LocalClassWithConstructor_1LocalClass (mut i32) + (i32.const 0) +) +(global $f_$class__localclasswithconstructor_LocalClassWithConstructor_1LocalClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclasswi...|__localclasswithconstructor_LocalClassWithConstructor_1LocalClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclasswithconstructor.LocalClassWithConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/localclasswithoutergenerics/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/localclasswithoutergenerics/output_wasm/module.wat.txt index 7d7e205d2e..bc21d47ef4 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/localclasswithoutergenerics/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/localclasswithoutergenerics/output_wasm/module.wat.txt @@ -84,19 +84,37 @@ ) ;;; Code for localclasswithoutergenerics.LocalClassWithOuterGenerics [static fields] -(global $f_$initialized__localclasswithoutergenerics_LocalClassWithOuterGenerics (mut i32) (i32.const 0)) -(global $f_$class__localclasswithoutergenerics_LocalClassWithOuterGenerics (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclasswi...|__localclasswithoutergenerics_LocalClassWithOuterGenerics (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclasswithoutergenerics_LocalClassWithOuterGenerics (mut i32) + (i32.const 0) +) +(global $f_$class__localclasswithoutergenerics_LocalClassWithOuterGenerics (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclasswi...|__localclasswithoutergenerics_LocalClassWithOuterGenerics (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclasswithoutergenerics.LocalClassWithOuterGenerics.1Bar [static fields] -(global $f_$initialized__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Bar (mut i32) (i32.const 0)) -(global $f_$class__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclasswi...|__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Bar (mut i32) + (i32.const 0) +) +(global $f_$class__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclasswi...|__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclasswithoutergenerics.LocalClassWithOuterGenerics.1Baz [static fields] -(global $f_$initialized__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Baz (mut i32) (i32.const 0)) -(global $f_$class__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Baz (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localclasswi...|__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Baz (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Baz (mut i32) + (i32.const 0) +) +(global $f_$class__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Baz (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localclasswi...|__localclasswithoutergenerics_LocalClassWithOuterGenerics_1Baz (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localclasswithoutergenerics.LocalClassWithOuterGenerics [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/localnamecollision/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/localnamecollision/output_wasm/module.wat.txt index 567082466c..300c1a4cc8 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/localnamecollision/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/localnamecollision/output_wasm/module.wat.txt @@ -200,41 +200,87 @@ ) ;;; Code for localnamecollision.Asserts [static fields] -(global $f_$initialized__localnamecollision_Asserts (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_Asserts (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_Asserts (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localnamecollision_Asserts (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_Asserts (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_Asserts (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.Class [static fields] -(global $f_$initialized__localnamecollision_Class (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_Class (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_Class (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localnamecollision_Class (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_Class (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_Class (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.LocalNameCollision [static fields] -(global $f_$initialized__localnamecollision_LocalNameCollision (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_LocalNameCollision (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_LocalNameCollision (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localnamecollision_LocalNameCollision (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_LocalNameCollision (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_LocalNameCollision (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.A [static fields] -(global $f_A__localnamecollision_A (mut (ref null $localnamecollision.A)) (ref.null $localnamecollision.A)) -(global $f_B__localnamecollision_A (mut (ref null $localnamecollision.A.B)) (ref.null $localnamecollision.A.B)) -(global $f_$initialized__localnamecollision_A (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_A__localnamecollision_A (mut (ref null $localnamecollision.A)) + (ref.null $localnamecollision.A) +) +(global $f_B__localnamecollision_A (mut (ref null $localnamecollision.A.B)) + (ref.null $localnamecollision.A.B) +) +(global $f_$initialized__localnamecollision_A (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.A.B [static fields] -(global $f_$initialized__localnamecollision_A_B (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_A_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_A_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localnamecollision_A_B (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_A_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_A_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.package1.A [static fields] -(global $f_$initialized__localnamecollision_package1_A (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_package1_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_package1_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localnamecollision_package1_A (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_package1_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_package1_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.package2.A [static fields] -(global $f_$initialized__localnamecollision_package2_A (mut i32) (i32.const 0)) -(global $f_$class__localnamecollision_package2_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|localnamecol...|__localnamecollision_package2_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__localnamecollision_package2_A (mut i32) + (i32.const 0) +) +(global $f_$class__localnamecollision_package2_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|localnamecol...|__localnamecollision_package2_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for localnamecollision.Asserts [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/longinitialvalue/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/longinitialvalue/output_wasm/module.wat.txt index fbf63fcc40..f3b35b0f6a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/longinitialvalue/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/longinitialvalue/output_wasm/module.wat.txt @@ -15,10 +15,18 @@ ) ;;; Code for longinitialvalue.LongInitialValue [static fields] -(global $f_LONG_VALUE__longinitialvalue_LongInitialValue (mut i64) (i64.const 0)) -(global $f_$initialized__longinitialvalue_LongInitialValue (mut i32) (i32.const 0)) -(global $f_$class__longinitialvalue_LongInitialValue (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|longinitialv...|__longinitialvalue_LongInitialValue (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_LONG_VALUE__longinitialvalue_LongInitialValue (mut i64) + (i64.const 0) +) +(global $f_$initialized__longinitialvalue_LongInitialValue (mut i32) + (i32.const 0) +) +(global $f_$class__longinitialvalue_LongInitialValue (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|longinitialv...|__longinitialvalue_LongInitialValue (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for longinitialvalue.LongInitialValue [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/longparametersignature/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/longparametersignature/output_wasm/module.wat.txt index 85b493c428..5892bfaeef 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/longparametersignature/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/longparametersignature/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for longparametersignature.LongParameterSignature [static fields] -(global $f_$initialized__longparametersignature_LongParameterSignature (mut i32) (i32.const 0)) -(global $f_$class__longparametersignature_LongParameterSignature (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|longparamete...|__longparametersignature_LongParameterSignature (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__longparametersignature_LongParameterSignature (mut i32) + (i32.const 0) +) +(global $f_$class__longparametersignature_LongParameterSignature (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|longparamete...|__longparametersignature_LongParameterSignature (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for longparametersignature.LongParameterSignature [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/methodreferences/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/methodreferences/output_wasm/module.wat.txt index a00b153942..8a220708c2 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/methodreferences/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/methodreferences/output_wasm/module.wat.txt @@ -667,20 +667,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$1 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$1 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$1 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$1) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$1.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$1.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$1.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$1.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$1.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$1.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$2 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$2.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$2.vtable) @@ -695,20 +698,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$2 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$2 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$2 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$2) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$2.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$2.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$2.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$2.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$2.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$2.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$3 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$3.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$3.vtable) @@ -723,20 +729,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$3 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$3 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$3 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$3) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$3.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$3.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$3.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$3) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$3.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$3.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$3.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$3) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$4 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$4.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$4.vtable) @@ -751,20 +760,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$4 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$4 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$4 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$4) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$4.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$4.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$4.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$4) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$4.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$4.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$4.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$4) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$5 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$5.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$5.vtable) @@ -779,20 +791,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$5 [itable.init] -(global $methodreferences.MethodReferences.BiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$5 (ref $methodreferences.MethodReferences.BiFunction.vtable) + +(global $methodreferences.MethodReferences.BiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$5 (ref $methodreferences.MethodReferences.BiFunction.vtable) (struct.new $methodreferences.MethodReferences.BiFunction.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$5) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$5.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$5.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$5.itable + (global.get $methodreferences.MethodReferences.BiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$5) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$5.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$5.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$5.itable - (global.get $methodreferences.MethodReferences.BiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$5) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$6 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$6.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$6.vtable) @@ -807,20 +822,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$6 [itable.init] -(global $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$6 (ref $methodreferences.MethodReferences.Function.vtable) + +(global $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$6 (ref $methodreferences.MethodReferences.Function.vtable) (struct.new $methodreferences.MethodReferences.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$6) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$6.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$6.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$6.itable + (global.get $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$6) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$6.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$6.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$6.itable - (global.get $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$6) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$7 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$7.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$7.vtable) @@ -835,20 +853,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$7 [itable.init] -(global $methodreferences.MethodReferences.Predicate.vtable@$methodreferences.MethodReferences.$LambdaImplementor$7 (ref $methodreferences.MethodReferences.Predicate.vtable) + +(global $methodreferences.MethodReferences.Predicate.vtable@$methodreferences.MethodReferences.$LambdaImplementor$7 (ref $methodreferences.MethodReferences.Predicate.vtable) (struct.new $methodreferences.MethodReferences.Predicate.vtable (ref.func $m_apply__java_lang_Object__boolean@methodreferences.MethodReferences.$LambdaImplementor$7) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$7.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$7.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$7.itable + (global.get $methodreferences.MethodReferences.Predicate.vtable@$methodreferences.MethodReferences.$LambdaImplementor$7) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$7.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$7.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$7.itable - (global.get $methodreferences.MethodReferences.Predicate.vtable@$methodreferences.MethodReferences.$LambdaImplementor$7) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$8 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$8.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$8.vtable) @@ -863,20 +884,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$8 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$8 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$8 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$8) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$8.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$8.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$8.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$8) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$8.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$8.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$8.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$8) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$9 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$9.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$9.vtable) @@ -891,20 +915,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$9 [itable.init] -(global $methodreferences.MethodReferences.ArrayProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$9 (ref $methodreferences.MethodReferences.ArrayProducer.vtable) + +(global $methodreferences.MethodReferences.ArrayProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$9 (ref $methodreferences.MethodReferences.ArrayProducer.vtable) (struct.new $methodreferences.MethodReferences.ArrayProducer.vtable (ref.func $m_produce__int__arrayOf_java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$9) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$9.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$9.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$9.itable + (global.get $methodreferences.MethodReferences.ArrayProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$9) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$9.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$9.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$9.itable - (global.get $methodreferences.MethodReferences.ArrayProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$9) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$10 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$10.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$10.vtable) @@ -919,20 +946,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$10 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$10 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$10 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$10) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$10.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$10.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$10.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$10) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$10.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$10.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$10.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$10) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$11 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$11.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$11.vtable) @@ -947,20 +977,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$11 [itable.init] -(global $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$11 (ref $methodreferences.MethodReferences.Function.vtable) + +(global $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$11 (ref $methodreferences.MethodReferences.Function.vtable) (struct.new $methodreferences.MethodReferences.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$11) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$11.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$11.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$11.itable + (global.get $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$11) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$11.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$11.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$11.itable - (global.get $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$11) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$12 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$12.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$12.vtable) @@ -975,20 +1008,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$12 [itable.init] -(global $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$12 (ref $methodreferences.MethodReferences.Function.vtable) + +(global $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$12 (ref $methodreferences.MethodReferences.Function.vtable) (struct.new $methodreferences.MethodReferences.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$12) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$12.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$12.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$12.itable + (global.get $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$12) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$12.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$12.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$12.itable - (global.get $methodreferences.MethodReferences.Function.vtable@$methodreferences.MethodReferences.$LambdaImplementor$12) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$13 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$13.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$13.vtable) @@ -1003,20 +1039,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$13 [itable.init] -(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$13 (ref $methodreferences.MethodReferences.Producer.vtable) + +(global $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$13 (ref $methodreferences.MethodReferences.Producer.vtable) (struct.new $methodreferences.MethodReferences.Producer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$13) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$13.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$13.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$13.itable + (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$13) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$13.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$13.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$13.itable - (global.get $methodreferences.MethodReferences.Producer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$13) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$14 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$14.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$14.vtable) @@ -1031,20 +1070,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$14 [itable.init] -(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$14 (ref $methodreferences.MethodReferences.JsProducer.vtable) + +(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$14 (ref $methodreferences.MethodReferences.JsProducer.vtable) (struct.new $methodreferences.MethodReferences.JsProducer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$14) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$14.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$14.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$14.itable + (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$14) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$14.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$14.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$14.itable - (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$14) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$15 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$15.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$15.vtable) @@ -1059,20 +1101,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$15 [itable.init] -(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$15 (ref $methodreferences.MethodReferences.JsProducer.vtable) + +(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$15 (ref $methodreferences.MethodReferences.JsProducer.vtable) (struct.new $methodreferences.MethodReferences.JsProducer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$15) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$15.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$15.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$15.itable + (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$15) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$15.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$15.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$15.itable - (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$15) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$16 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$16.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$16.vtable) @@ -1087,20 +1132,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$16 [itable.init] -(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$16 (ref $methodreferences.MethodReferences.JsProducer.vtable) + +(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$16 (ref $methodreferences.MethodReferences.JsProducer.vtable) (struct.new $methodreferences.MethodReferences.JsProducer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$16) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$16.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$16.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$16.itable + (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$16) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$16.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$16.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$16.itable - (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$16) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$17 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$17.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$17.vtable) @@ -1115,20 +1163,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$17 [itable.init] -(global $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$17 (ref $methodreferences.MethodReferences.JsFunctionInterface.vtable) + +(global $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$17 (ref $methodreferences.MethodReferences.JsFunctionInterface.vtable) (struct.new $methodreferences.MethodReferences.JsFunctionInterface.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$17) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$17.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$17.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$17.itable + (global.get $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$17) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$17.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$17.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$17.itable - (global.get $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$17) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$18 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$18.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$18.vtable) @@ -1143,20 +1194,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$18 [itable.init] -(global $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$18 (ref $methodreferences.MethodReferences.JsFunctionInterface.vtable) + +(global $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$18 (ref $methodreferences.MethodReferences.JsFunctionInterface.vtable) (struct.new $methodreferences.MethodReferences.JsFunctionInterface.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$18) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$18.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$18.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$18.itable + (global.get $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$18) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$18.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$18.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$18.itable - (global.get $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$18) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$19 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$19.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$19.vtable) @@ -1171,20 +1225,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$19 [itable.init] -(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$19 (ref $methodreferences.MethodReferences.JsProducer.vtable) + +(global $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$19 (ref $methodreferences.MethodReferences.JsProducer.vtable) (struct.new $methodreferences.MethodReferences.JsProducer.vtable (ref.func $m_produce__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$19) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$19.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$19.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$19.itable + (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$19) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$19.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$19.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$19.itable - (global.get $methodreferences.MethodReferences.JsProducer.vtable@$methodreferences.MethodReferences.$LambdaImplementor$19) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$20 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$20.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$20.vtable) @@ -1199,20 +1256,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$20 [itable.init] -(global $methodreferences.MethodReferences.JsBiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$20 (ref $methodreferences.MethodReferences.JsBiFunction.vtable) + +(global $methodreferences.MethodReferences.JsBiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$20 (ref $methodreferences.MethodReferences.JsBiFunction.vtable) (struct.new $methodreferences.MethodReferences.JsBiFunction.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$20) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$20.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$20.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$20.itable + (global.get $methodreferences.MethodReferences.JsBiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$20) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$20.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$20.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$20.itable - (global.get $methodreferences.MethodReferences.JsBiFunction.vtable@$methodreferences.MethodReferences.$LambdaImplementor$20) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$21 [vtable.init] (global $methodreferences.MethodReferences.$LambdaImplementor$21.vtable (ref $methodreferences.MethodReferences.$LambdaImplementor$21.vtable) @@ -1227,20 +1287,23 @@ ) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$21 [itable.init] -(global $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$21 (ref $methodreferences.MethodReferences.JsFunctionInterface.vtable) + +(global $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$21 (ref $methodreferences.MethodReferences.JsFunctionInterface.vtable) (struct.new $methodreferences.MethodReferences.JsFunctionInterface.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@methodreferences.MethodReferences.$LambdaImplementor$21) ) +) +(global $methodreferences.MethodReferences.$LambdaImplementor$21.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$21.itable) + (struct.new $methodreferences.MethodReferences.$LambdaImplementor$21.itable + (global.get $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$21) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $methodreferences.MethodReferences.$LambdaImplementor$21.itable (ref $methodreferences.MethodReferences.$LambdaImplementor$21.itable) (struct.new $methodreferences.MethodReferences.$LambdaImplementor$21.itable - (global.get $methodreferences.MethodReferences.JsFunctionInterface.vtable@$methodreferences.MethodReferences.$LambdaImplementor$21) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for methodreferences.MethodReferences.ObjectCapturingOuter [vtable.init] (global $methodreferences.MethodReferences.ObjectCapturingOuter.vtable (ref $methodreferences.MethodReferences.ObjectCapturingOuter.vtable) @@ -1255,160 +1318,348 @@ ) ;;; Code for methodreferences.MethodReferences [static fields] -(global $f_staticStringProducer__methodreferences_MethodReferences (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__methodreferences_MethodReferences (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_staticStringProducer__methodreferences_MethodReferences (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__methodreferences_MethodReferences (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$1 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$2 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$3 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$3 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$3 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$4 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$4 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$4 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$4 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$4 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$4 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$4 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$5 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$5 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$5 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$5 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$5 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$5 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$5 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$6 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$6 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$6 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$6 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$6 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$6 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$6 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$7 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$7 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$7 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$7 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$7 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$7 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$7 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$8 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$8 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$8 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$8 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$8 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$8 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$8 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$9 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$9 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$9 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$9 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$9 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$9 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$9 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$10 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$10 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$10 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$10 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$10 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$10 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$10 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$11 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$11 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$11 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$11 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$11 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$11 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$11 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$12 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$12 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$12 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$12 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$12 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$12 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$12 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$13 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$13 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$13 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$13 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$13 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$13 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$13 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$14 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$14 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$14 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$14 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$14 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$14 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$14 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$15 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$15 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$15 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$15 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$15 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$15 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$15 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$16 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$16 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$16 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$16 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$16 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$16 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$16 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$17 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$17 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$17 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$17 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$17 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$17 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$17 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$18 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$18 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$18 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$18 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$18 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$18 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$18 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$19 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$19 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$19 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$19 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$19 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$19 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$19 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$20 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$20 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$20 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$20 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$20 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$20 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$20 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.$LambdaImplementor$21 [static fields] -(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$21 (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$21 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$21 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_$LambdaImplementor$21 (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_$LambdaImplementor$21 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_$LambdaImplementor$21 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.Producer [static fields] -(global $f_$initialized__methodreferences_MethodReferences_Producer (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_Producer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_Producer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_Producer (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_Producer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_Producer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.Predicate [static fields] -(global $f_$initialized__methodreferences_MethodReferences_Predicate (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_Predicate (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_Predicate (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_Predicate (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_Predicate (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_Predicate (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.ArrayProducer [static fields] -(global $f_$initialized__methodreferences_MethodReferences_ArrayProducer (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_ArrayProducer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_ArrayProducer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_ArrayProducer (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_ArrayProducer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_ArrayProducer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.ObjectCapturingOuter [static fields] -(global $f_$initialized__methodreferences_MethodReferences_ObjectCapturingOuter (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_ObjectCapturingOuter (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_ObjectCapturingOuter (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_ObjectCapturingOuter (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_ObjectCapturingOuter (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_ObjectCapturingOuter (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.Function [static fields] -(global $f_$initialized__methodreferences_MethodReferences_Function (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_Function (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.BiFunction [static fields] -(global $f_$initialized__methodreferences_MethodReferences_BiFunction (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_BiFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_BiFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_BiFunction (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_BiFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_BiFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.JsProducer [static fields] -(global $f_$initialized__methodreferences_MethodReferences_JsProducer (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_JsProducer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_JsProducer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_JsProducer (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_JsProducer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_JsProducer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.JsFunctionInterface [static fields] -(global $f_$initialized__methodreferences_MethodReferences_JsFunctionInterface (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_JsFunctionInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_JsFunctionInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_JsFunctionInterface (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_JsFunctionInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_JsFunctionInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.JsBiFunction [static fields] -(global $f_$initialized__methodreferences_MethodReferences_JsBiFunction (mut i32) (i32.const 0)) -(global $f_$class__methodreferences_MethodReferences_JsBiFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_JsBiFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__methodreferences_MethodReferences_JsBiFunction (mut i32) + (i32.const 0) +) +(global $f_$class__methodreferences_MethodReferences_JsBiFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|methodrefere...|__methodreferences_MethodReferences_JsBiFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for methodreferences.MethodReferences.Producer [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/mixednestings/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/mixednestings/output_wasm/module.wat.txt index c2402a832b..1abd9cf59f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/mixednestings/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/mixednestings/output_wasm/module.wat.txt @@ -194,20 +194,23 @@ ) ;;; Code for mixednestings.MixedNestings.A.1B.1.1 [itable.init] -(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.1 (ref $mixednestings.MyInterface.vtable) + +(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.1 (ref $mixednestings.MyInterface.vtable) (struct.new $mixednestings.MyInterface.vtable (ref.func $m_fun__int__int@mixednestings.MixedNestings.A.1B.1.1) ) +) +(global $mixednestings.MixedNestings.A.1B.1.1.itable (ref $mixednestings.MixedNestings.A.1B.1.1.itable) + (struct.new $mixednestings.MixedNestings.A.1B.1.1.itable + (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $mixednestings.MixedNestings.A.1B.1.1.itable (ref $mixednestings.MixedNestings.A.1B.1.1.itable) (struct.new $mixednestings.MixedNestings.A.1B.1.1.itable - (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1 [vtable.init] (global $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.vtable (ref $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.vtable) @@ -222,20 +225,23 @@ ) ;;; Code for mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1 [itable.init] -(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1 (ref $mixednestings.MyInterface.vtable) + +(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1 (ref $mixednestings.MyInterface.vtable) (struct.new $mixednestings.MyInterface.vtable (ref.func $m_fun__int__int@mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1) ) +) +(global $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.itable (ref $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.itable) + (struct.new $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.itable + (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.itable (ref $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.itable) (struct.new $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1.itable - (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2 [vtable.init] (global $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.vtable (ref $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.vtable) @@ -250,20 +256,23 @@ ) ;;; Code for mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2 [itable.init] -(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2 (ref $mixednestings.MyInterface.vtable) + +(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2 (ref $mixednestings.MyInterface.vtable) (struct.new $mixednestings.MyInterface.vtable (ref.func $m_fun__int__int@mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2) ) +) +(global $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.itable (ref $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.itable) + (struct.new $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.itable + (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.itable (ref $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.itable) (struct.new $mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2.itable - (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for mixednestings.MixedNestings.A.1B.1 [vtable.init] (global $mixednestings.MixedNestings.A.1B.1.vtable (ref $mixednestings.MixedNestings.A.1B.1.vtable) @@ -278,20 +287,23 @@ ) ;;; Code for mixednestings.MixedNestings.A.1B.1 [itable.init] -(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1 (ref $mixednestings.MyInterface.vtable) + +(global $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1 (ref $mixednestings.MyInterface.vtable) (struct.new $mixednestings.MyInterface.vtable (ref.func $m_fun__int__int@mixednestings.MixedNestings.A.1B.1) ) +) +(global $mixednestings.MixedNestings.A.1B.1.itable (ref $mixednestings.MixedNestings.A.1B.1.itable) + (struct.new $mixednestings.MixedNestings.A.1B.1.itable + (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $mixednestings.MixedNestings.A.1B.1.itable (ref $mixednestings.MixedNestings.A.1B.1.itable) (struct.new $mixednestings.MixedNestings.A.1B.1.itable - (global.get $mixednestings.MyInterface.vtable@$mixednestings.MixedNestings.A.1B.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for mixednestings.MixedNestings.A.1B [vtable.init] (global $mixednestings.MixedNestings.A.1B.vtable (ref $mixednestings.MixedNestings.A.1B.vtable) @@ -320,44 +332,92 @@ ) ;;; Code for mixednestings.MyInterface [static fields] -(global $f_$initialized__mixednestings_MyInterface (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MyInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MyInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MyInterface (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MyInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MyInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings [static fields] -(global $f_$initialized__mixednestings_MixedNestings (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings.A.1B.1.1 [static fields] -(global $f_$initialized__mixednestings_MixedNestings_A_1B_1_1 (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings_A_1B_1_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings_A_1B_1_1 (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings_A_1B_1_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$1 [static fields] -(global $f_$initialized__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings.A.1B.1.$LambdaImplementor$2 [static fields] -(global $f_$initialized__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings.A.1B.1 [static fields] -(global $f_$initialized__mixednestings_MixedNestings_A_1B_1 (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings_A_1B_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings_A_1B_1 (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings_A_1B_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings.A.1B [static fields] -(global $f_$initialized__mixednestings_MixedNestings_A_1B (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings_A_1B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings_A_1B (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings_A_1B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A_1B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MixedNestings.A [static fields] -(global $f_$initialized__mixednestings_MixedNestings_A (mut i32) (i32.const 0)) -(global $f_$class__mixednestings_MixedNestings_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__mixednestings_MixedNestings_A (mut i32) + (i32.const 0) +) +(global $f_$class__mixednestings_MixedNestings_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|mixednesting...|__mixednestings_MixedNestings_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for mixednestings.MyInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/multipleabstractparents/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/multipleabstractparents/output_wasm/module.wat.txt index 0d43c64da4..8b0bb3ed9e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/multipleabstractparents/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/multipleabstractparents/output_wasm/module.wat.txt @@ -311,20 +311,23 @@ ) ;;; Code for multipleabstractparents.MultipleAbstractParents.ArrayList [itable.init] -(global $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.ArrayList (ref $multipleabstractparents.MultipleAbstractParents.List.vtable) + +(global $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.ArrayList (ref $multipleabstractparents.MultipleAbstractParents.List.vtable) (struct.new $multipleabstractparents.MultipleAbstractParents.List.vtable (ref.func $m_getFoo__java_lang_Object__java_lang_String@multipleabstractparents.MultipleAbstractParents.AbstractCollection) ) +) +(global $multipleabstractparents.MultipleAbstractParents.ArrayList.itable (ref $multipleabstractparents.MultipleAbstractParents.ArrayList.itable) + (struct.new $multipleabstractparents.MultipleAbstractParents.ArrayList.itable + (global.get $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.ArrayList) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $multipleabstractparents.MultipleAbstractParents.ArrayList.itable (ref $multipleabstractparents.MultipleAbstractParents.ArrayList.itable) (struct.new $multipleabstractparents.MultipleAbstractParents.ArrayList.itable - (global.get $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.ArrayList) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.StringList [vtable.init] (global $multipleabstractparents.MultipleAbstractParents.StringList.vtable (ref $multipleabstractparents.MultipleAbstractParents.StringList.vtable) @@ -340,24 +343,28 @@ ) ;;; Code for multipleabstractparents.MultipleAbstractParents.StringList [itable.init] -(global $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringList (ref $multipleabstractparents.MultipleAbstractParents.List.vtable) + +(global $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringList (ref $multipleabstractparents.MultipleAbstractParents.List.vtable) (struct.new $multipleabstractparents.MultipleAbstractParents.List.vtable (ref.func $m_getFoo__java_lang_Object__java_lang_String@multipleabstractparents.MultipleAbstractParents.AbstractCollection) ) - )(global $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringList (ref $multipleabstractparents.MultipleAbstractParents.IStringList.vtable) +) +(global $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringList (ref $multipleabstractparents.MultipleAbstractParents.IStringList.vtable) (struct.new $multipleabstractparents.MultipleAbstractParents.IStringList.vtable (ref.func $m_getFoo__java_lang_String__java_lang_String@multipleabstractparents.MultipleAbstractParents.AbstractStringList) ) +) +(global $multipleabstractparents.MultipleAbstractParents.StringList.itable (ref $multipleabstractparents.MultipleAbstractParents.StringList.itable) + (struct.new $multipleabstractparents.MultipleAbstractParents.StringList.itable + (global.get $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringList) + (global.get $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringList) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $multipleabstractparents.MultipleAbstractParents.StringList.itable (ref $multipleabstractparents.MultipleAbstractParents.StringList.itable) (struct.new $multipleabstractparents.MultipleAbstractParents.StringList.itable - (global.get $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringList) - (global.get $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringList) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.StringListChild [vtable.init] (global $multipleabstractparents.MultipleAbstractParents.StringListChild.vtable (ref $multipleabstractparents.MultipleAbstractParents.StringListChild.vtable) @@ -373,95 +380,185 @@ ) ;;; Code for multipleabstractparents.MultipleAbstractParents.StringListChild [itable.init] -(global $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild (ref $multipleabstractparents.MultipleAbstractParents.List.vtable) + +(global $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild (ref $multipleabstractparents.MultipleAbstractParents.List.vtable) (struct.new $multipleabstractparents.MultipleAbstractParents.List.vtable (ref.func $m_getFoo__java_lang_Object__java_lang_String@multipleabstractparents.MultipleAbstractParents.AbstractCollection) ) - )(global $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild (ref $multipleabstractparents.MultipleAbstractParents.IStringList.vtable) +) +(global $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild (ref $multipleabstractparents.MultipleAbstractParents.IStringList.vtable) (struct.new $multipleabstractparents.MultipleAbstractParents.IStringList.vtable (ref.func $m_getFoo__java_lang_String__java_lang_String@multipleabstractparents.MultipleAbstractParents.AbstractStringList) ) +) +(global $multipleabstractparents.MultipleAbstractParents.StringListChild.itable (ref $multipleabstractparents.MultipleAbstractParents.StringListChild.itable) + (struct.new $multipleabstractparents.MultipleAbstractParents.StringListChild.itable + (global.get $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild) + (global.get $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $multipleabstractparents.MultipleAbstractParents.StringListChild.itable (ref $multipleabstractparents.MultipleAbstractParents.StringListChild.itable) (struct.new $multipleabstractparents.MultipleAbstractParents.StringListChild.itable - (global.get $multipleabstractparents.MultipleAbstractParents.List.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild) - (global.get $multipleabstractparents.MultipleAbstractParents.IStringList.vtable@$multipleabstractparents.MultipleAbstractParents.StringListChild) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for multipleabstractparents.MultipleAbstractParents [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|AbstractColl...|__multipleabstractparents_MultipleAbstractParents (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|AbstractColl...|__multipleabstractparents_MultipleAbstractParents (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.List [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_List (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_List (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_List (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_List (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_List (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_List (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.Collection [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_Collection (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_Collection (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_Collection (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_Collection (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_Collection (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_Collection (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractListCollection [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractListCollection (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractListCollection (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractListCollection (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractListCollection (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractListCollection (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractListCollection (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractCollection [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractCollection (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractCollection (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractCollection (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractCollection (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractCollection (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractCollection (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractList [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractList (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractList (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractList (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractList (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractList (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractList (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractList2 [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractList2 (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractList2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractList2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractList2 (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractList2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractList2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.ArrayList [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_ArrayList (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_ArrayList (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_ArrayList (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_ArrayList (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_ArrayList (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_ArrayList (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.IStringList [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_IStringList (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_IStringList (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_IStringList (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_IStringList (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_IStringList (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_IStringList (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractStringList [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractStringList (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractStringList (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractStringList (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractStringList (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractStringList (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractStringList (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractStringList2 [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractStringList2 (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractStringList2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractStringList2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractStringList2 (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractStringList2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractStringList2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.AbstractStringList3 [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractStringList3 (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractStringList3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractStringList3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_AbstractStringList3 (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_AbstractStringList3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_AbstractStringList3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.StringList [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_StringList (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_StringList (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_StringList (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_StringList (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_StringList (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_StringList (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.StringListChild [static fields] -(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_StringListChild (mut i32) (i32.const 0)) -(global $f_$class__multipleabstractparents_MultipleAbstractParents_StringListChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_StringListChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleabstractparents_MultipleAbstractParents_StringListChild (mut i32) + (i32.const 0) +) +(global $f_$class__multipleabstractparents_MultipleAbstractParents_StringListChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipleabst...|__multipleabstractparents_MultipleAbstractParents_StringListChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleabstractparents.MultipleAbstractParents.List [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/multipleconstructors/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/multipleconstructors/output_wasm/module.wat.txt index ca52e838d5..a2126fa590 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/multipleconstructors/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/multipleconstructors/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for multipleconstructors.MultipleConstructors [static fields] -(global $f_$initialized__multipleconstructors_MultipleConstructors (mut i32) (i32.const 0)) -(global $f_$class__multipleconstructors_MultipleConstructors (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multiplecons...|__multipleconstructors_MultipleConstructors (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipleconstructors_MultipleConstructors (mut i32) + (i32.const 0) +) +(global $f_$class__multipleconstructors_MultipleConstructors (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multiplecons...|__multipleconstructors_MultipleConstructors (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipleconstructors.MultipleConstructors [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/multipletopclasses/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/multipletopclasses/output_wasm/module.wat.txt index 741a741f36..fd89d67b4e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/multipletopclasses/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/multipletopclasses/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for multipletopclasses.AnotherClass [static fields] -(global $f_$initialized__multipletopclasses_AnotherClass (mut i32) (i32.const 0)) -(global $f_$class__multipletopclasses_AnotherClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipletopc...|__multipletopclasses_AnotherClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipletopclasses_AnotherClass (mut i32) + (i32.const 0) +) +(global $f_$class__multipletopclasses_AnotherClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipletopc...|__multipletopclasses_AnotherClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipletopclasses.MultipleTopClasses [static fields] -(global $f_$initialized__multipletopclasses_MultipleTopClasses (mut i32) (i32.const 0)) -(global $f_$class__multipletopclasses_MultipleTopClasses (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|multipletopc...|__multipletopclasses_MultipleTopClasses (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__multipletopclasses_MultipleTopClasses (mut i32) + (i32.const 0) +) +(global $f_$class__multipletopclasses_MultipleTopClasses (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|multipletopc...|__multipletopclasses_MultipleTopClasses (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for multipletopclasses.AnotherClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nativejstypes/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nativejstypes/output_wasm/module.wat.txt index ed829ccdad..2efca82e89 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nativejstypes/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nativejstypes/output_wasm/module.wat.txt @@ -194,59 +194,117 @@ ;;; Code for nativejstypes.Bar.Inner [static fields] ;;; Code for nativejstypes.Bar.$Overlay [static fields] -(global $f_$initialized__nativejstypes_Bar_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_Bar_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_Bar_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_Bar_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_Bar_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_Bar_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.BarInnerWithDotInName.$Overlay [static fields] -(global $f_$initialized__nativejstypes_BarInnerWithDotInName_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_BarInnerWithDotInName_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_BarInnerWithDotInName_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_BarInnerWithDotInName_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_BarInnerWithDotInName_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_BarInnerWithDotInName_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.BarInnerWithDotInNameAndHasNamespace.$Overlay [static fields] -(global $f_$initialized__nativejstypes_BarInnerWithDotInNameAndHasNamespace_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_BarInnerWithDotInNameAndHasNamespace_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_BarInnerWithDotInNameAndHasNamespace_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_BarInnerWithDotInNameAndHasNamespace_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_BarInnerWithDotInNameAndHasNamespace_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_BarInnerWithDotInNameAndHasNamespace_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.Bar.Inner.$Overlay [static fields] -(global $f_$initialized__nativejstypes_Bar_Inner_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_Bar_Inner_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_Bar_Inner_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_Bar_Inner_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_Bar_Inner_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_Bar_Inner_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.Foo [static fields] ;;; Code for nativejstypes.Foo.$Overlay [static fields] -(global $f_$initialized__nativejstypes_Foo_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_Foo_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_Foo_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_Foo_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_Foo_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_Foo_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.Headers [static fields] ;;; Code for nativejstypes.Headers.$Overlay [static fields] -(global $f_$initialized__nativejstypes_Headers_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_Headers_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_Headers_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_Headers_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_Headers_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_Headers_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.Main [static fields] -(global $f_$initialized__nativejstypes_Main (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Content_Type|__nativejstypes_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|text_xml|__nativejstypes_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|nativejstype...|__nativejstypes_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_Main (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Content_Type|__nativejstypes_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|text_xml|__nativejstypes_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|nativejstype...|__nativejstypes_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.Nullability [static fields] ;;; Code for nativejstypes.NullabilityNullMarked [static fields] ;;; Code for nativejstypes.Nullability.$Overlay [static fields] -(global $f_$initialized__nativejstypes_Nullability_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_Nullability_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_Nullability_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_Nullability_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_Nullability_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_Nullability_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.NullabilityNullMarked.$Overlay [static fields] -(global $f_$initialized__nativejstypes_NullabilityNullMarked_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nativejstypes_NullabilityNullMarked_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nativejstype...|__nativejstypes_NullabilityNullMarked_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nativejstypes_NullabilityNullMarked_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nativejstypes_NullabilityNullMarked_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nativejstype...|__nativejstypes_NullabilityNullMarked_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nativejstypes.Bar.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nestedgenericclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nestedgenericclass/output_wasm/module.wat.txt index f40ec96157..d92d9738a5 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nestedgenericclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nestedgenericclass/output_wasm/module.wat.txt @@ -319,59 +319,125 @@ ) ;;; Code for nestedgenericclass.NestedGenericClass [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.A.B [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_A_B (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_A_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_A_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_A_B (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_A_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_A_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.A [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_A (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_A (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.C.D [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_C_D (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_C_D (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_C_D (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_C_D (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_C_D (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_C_D (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.C [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_C (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_C (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.RecursiveTypeVariable.Inner [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable_Inner (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable_Inner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable_Inner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable_Inner (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable_Inner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable_Inner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.RecursiveTypeVariable [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_RecursiveTypeVariable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.1E [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_1E (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_1E (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1E (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_1E (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_1E (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1E (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.1F [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_1F (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_1F (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1F (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_1F (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_1F (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1F (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.1G.1H [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_1G_1H (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_1G_1H (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1G_1H (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_1G_1H (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_1G_1H (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1G_1H (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass.1G [static fields] -(global $f_$initialized__nestedgenericclass_NestedGenericClass_1G (mut i32) (i32.const 0)) -(global $f_$class__nestedgenericclass_NestedGenericClass_1G (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1G (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedgenericclass_NestedGenericClass_1G (mut i32) + (i32.const 0) +) +(global $f_$class__nestedgenericclass_NestedGenericClass_1G (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedgeneri...|__nestedgenericclass_NestedGenericClass_1G (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedgenericclass.NestedGenericClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nestedinstanceinnerclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nestedinstanceinnerclass/output_wasm/module.wat.txt index d32af95f26..5a91fe792a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nestedinstanceinnerclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nestedinstanceinnerclass/output_wasm/module.wat.txt @@ -86,19 +86,37 @@ ) ;;; Code for nestedinstanceinnerclass.OuterClass [static fields] -(global $f_$initialized__nestedinstanceinnerclass_OuterClass (mut i32) (i32.const 0)) -(global $f_$class__nestedinstanceinnerclass_OuterClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedinstan...|__nestedinstanceinnerclass_OuterClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedinstanceinnerclass_OuterClass (mut i32) + (i32.const 0) +) +(global $f_$class__nestedinstanceinnerclass_OuterClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedinstan...|__nestedinstanceinnerclass_OuterClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedinstanceinnerclass.OuterClass.InnerClass.InnerInnerClass [static fields] -(global $f_$initialized__nestedinstanceinnerclass_OuterClass_InnerClass_InnerInnerClass (mut i32) (i32.const 0)) -(global $f_$class__nestedinstanceinnerclass_OuterClass_InnerClass_InnerInnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedinstan...|__nestedinstanceinnerclass_OuterClass_InnerClass_InnerInnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedinstanceinnerclass_OuterClass_InnerClass_InnerInnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__nestedinstanceinnerclass_OuterClass_InnerClass_InnerInnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedinstan...|__nestedinstanceinnerclass_OuterClass_InnerClass_InnerInnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedinstanceinnerclass.OuterClass.InnerClass [static fields] -(global $f_$initialized__nestedinstanceinnerclass_OuterClass_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__nestedinstanceinnerclass_OuterClass_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedinstan...|__nestedinstanceinnerclass_OuterClass_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedinstanceinnerclass_OuterClass_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__nestedinstanceinnerclass_OuterClass_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedinstan...|__nestedinstanceinnerclass_OuterClass_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedinstanceinnerclass.OuterClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nestedlocalclasses/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nestedlocalclasses/output_wasm/module.wat.txt index 0968d4b20b..fae7322a3c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nestedlocalclasses/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nestedlocalclasses/output_wasm/module.wat.txt @@ -159,20 +159,23 @@ ) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1 [itable.init] -(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1 (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable) + +(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1 (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable) (struct.new $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable (ref.func $m_foo__void@nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super) ) +) +(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1.itable (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1.itable) + (struct.new $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1.itable + (global.get $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1.itable (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1.itable) (struct.new $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1.itable - (global.get $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super [vtable.init] (global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.vtable (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.vtable) @@ -187,20 +190,23 @@ ) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super [itable.init] -(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable) + +(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable) (struct.new $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable (ref.func $m_foo__void@nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super) ) +) +(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.itable (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.itable) + (struct.new $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.itable + (global.get $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.itable (ref $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.itable) (struct.new $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super.itable - (global.get $nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.vtable@$nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.1InnerClass.1InnerInnerClass [vtable.init] (global $nestedlocalclasses.NestedLocalClasses.1InnerClass.1InnerInnerClass.vtable (ref $nestedlocalclasses.NestedLocalClasses.1InnerClass.1InnerInnerClass.vtable) @@ -237,39 +243,81 @@ ) ;;; Code for nestedlocalclasses.NestedLocalClasses [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1 [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1 (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1 (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference.1Super [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1Super (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1Super (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1Super (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1Super (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1Super (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference_1Super (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_InterfaceWithThisReference (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.1InnerClass.1InnerInnerClass [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_1InnerClass_1InnerInnerClass (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses_1InnerClass_1InnerInnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_1InnerClass_1InnerInnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_1InnerClass_1InnerInnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses_1InnerClass_1InnerInnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_1InnerClass_1InnerInnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.1InnerClass.1ClassIndirectlyCapturingLocal [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_1InnerClass_1ClassIndirectlyCapturingLocal (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses_1InnerClass_1ClassIndirectlyCapturingLocal (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_1InnerClass_1ClassIndirectlyCapturingLocal (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_1InnerClass_1ClassIndirectlyCapturingLocal (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses_1InnerClass_1ClassIndirectlyCapturingLocal (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_1InnerClass_1ClassIndirectlyCapturingLocal (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.1InnerClass [static fields] -(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_1InnerClass (mut i32) (i32.const 0)) -(global $f_$class__nestedlocalclasses_NestedLocalClasses_1InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_1InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestedlocalclasses_NestedLocalClasses_1InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__nestedlocalclasses_NestedLocalClasses_1InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestedlocalc...|__nestedlocalclasses_NestedLocalClasses_1InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestedlocalclasses.NestedLocalClasses.InterfaceWithThisReference [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nestednativetype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nestednativetype/output_wasm/module.wat.txt index 4398d4e6b3..9fe0682b9a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nestednativetype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nestednativetype/output_wasm/module.wat.txt @@ -49,14 +49,26 @@ ;;; Code for nestednativetype.NativeArray [static fields] ;;; Code for nestednativetype.NativeArray.1 [static fields] -(global $f_$initialized__nestednativetype_NativeArray_1 (mut i32) (i32.const 0)) -(global $f_$class__nestednativetype_NativeArray_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestednative...|__nestednativetype_NativeArray_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestednativetype_NativeArray_1 (mut i32) + (i32.const 0) +) +(global $f_$class__nestednativetype_NativeArray_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestednative...|__nestednativetype_NativeArray_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestednativetype.NativeArray.$Overlay [static fields] -(global $f_$initialized__nestednativetype_NativeArray_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__nestednativetype_NativeArray_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nestednative...|__nestednativetype_NativeArray_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nestednativetype_NativeArray_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__nestednativetype_NativeArray_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nestednative...|__nestednativetype_NativeArray_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nestednativetype.NativeArray.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/newinnerclasswithsameouter/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/newinnerclasswithsameouter/output_wasm/module.wat.txt index 8e1f79010e..59d730d600 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/newinnerclasswithsameouter/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/newinnerclasswithsameouter/output_wasm/module.wat.txt @@ -112,24 +112,48 @@ ) ;;; Code for newinnerclasswithsameouter.NewInnerClassWithSameOuter [static fields] -(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter (mut i32) (i32.const 0)) -(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter (mut i32) + (i32.const 0) +) +(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for newinnerclasswithsameouter.NewInnerClassWithSameOuter.A [static fields] -(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter_A (mut i32) (i32.const 0)) -(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter_A (mut i32) + (i32.const 0) +) +(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for newinnerclasswithsameouter.NewInnerClassWithSameOuter.B [static fields] -(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter_B (mut i32) (i32.const 0)) -(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter_B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter_B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter_B (mut i32) + (i32.const 0) +) +(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter_B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter_B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for newinnerclasswithsameouter.NewInnerClassWithSameOuter.C [static fields] -(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter_C (mut i32) (i32.const 0)) -(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter_C (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter_C (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__newinnerclasswithsameouter_NewInnerClassWithSameOuter_C (mut i32) + (i32.const 0) +) +(global $f_$class__newinnerclasswithsameouter_NewInnerClassWithSameOuter_C (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|newinnerclas...|__newinnerclasswithsameouter_NewInnerClassWithSameOuter_C (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for newinnerclasswithsameouter.NewInnerClassWithSameOuter [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/newinstance/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/newinstance/output_wasm/module.wat.txt index 60d0f8b231..3107b05ed7 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/newinstance/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/newinstance/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for newinstance.NewInstanceExpr [static fields] -(global $f_$initialized__newinstance_NewInstanceExpr (mut i32) (i32.const 0)) -(global $f_$class__newinstance_NewInstanceExpr (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|newinstance....|__newinstance_NewInstanceExpr (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__newinstance_NewInstanceExpr (mut i32) + (i32.const 0) +) +(global $f_$class__newinstance_NewInstanceExpr (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|newinstance....|__newinstance_NewInstanceExpr (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for newinstance.NewInstanceExpr [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nobridgemethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nobridgemethods/output_wasm/module.wat.txt index c496855e5b..beff3aceee 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nobridgemethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nobridgemethods/output_wasm/module.wat.txt @@ -133,19 +133,22 @@ ) ;;; Code for nobridgemethods.TreeMap.InnerEntry [itable.init] -(global $nobridgemethods.Entry.vtable@$nobridgemethods.TreeMap.InnerEntry (ref $nobridgemethods.Entry.vtable) + +(global $nobridgemethods.Entry.vtable@$nobridgemethods.TreeMap.InnerEntry (ref $nobridgemethods.Entry.vtable) (struct.new $nobridgemethods.Entry.vtable ) +) +(global $nobridgemethods.TreeMap.InnerEntry.itable (ref $nobridgemethods.TreeMap.InnerEntry.itable) + (struct.new $nobridgemethods.TreeMap.InnerEntry.itable + (global.get $nobridgemethods.Entry.vtable@$nobridgemethods.TreeMap.InnerEntry) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nobridgemethods.TreeMap.InnerEntry.itable (ref $nobridgemethods.TreeMap.InnerEntry.itable) (struct.new $nobridgemethods.TreeMap.InnerEntry.itable - (global.get $nobridgemethods.Entry.vtable@$nobridgemethods.TreeMap.InnerEntry) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nobridgemethods.CharSet.1 [vtable.init] (global $nobridgemethods.CharSet.1.vtable (ref $nobridgemethods.CharSet.1.vtable) @@ -161,34 +164,70 @@ ) ;;; Code for nobridgemethods.Entry [static fields] -(global $f_$initialized__nobridgemethods_Entry (mut i32) (i32.const 0)) -(global $f_$class__nobridgemethods_Entry (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nobridgemeth...|__nobridgemethods_Entry (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nobridgemethods_Entry (mut i32) + (i32.const 0) +) +(global $f_$class__nobridgemethods_Entry (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nobridgemeth...|__nobridgemethods_Entry (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nobridgemethods.Map [static fields] -(global $f_$initialized__nobridgemethods_Map (mut i32) (i32.const 0)) -(global $f_$class__nobridgemethods_Map (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nobridgemeth...|__nobridgemethods_Map (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nobridgemethods_Map (mut i32) + (i32.const 0) +) +(global $f_$class__nobridgemethods_Map (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nobridgemeth...|__nobridgemethods_Map (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nobridgemethods.TreeMap [static fields] -(global $f_$initialized__nobridgemethods_TreeMap (mut i32) (i32.const 0)) -(global $f_$class__nobridgemethods_TreeMap (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nobridgemeth...|__nobridgemethods_TreeMap (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nobridgemethods_TreeMap (mut i32) + (i32.const 0) +) +(global $f_$class__nobridgemethods_TreeMap (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nobridgemeth...|__nobridgemethods_TreeMap (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nobridgemethods.CharSet [static fields] -(global $f_$initialized__nobridgemethods_CharSet (mut i32) (i32.const 0)) -(global $f_$class__nobridgemethods_CharSet (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nobridgemeth...|__nobridgemethods_CharSet (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nobridgemethods_CharSet (mut i32) + (i32.const 0) +) +(global $f_$class__nobridgemethods_CharSet (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nobridgemeth...|__nobridgemethods_CharSet (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nobridgemethods.TreeMap.InnerEntry [static fields] -(global $f_$initialized__nobridgemethods_TreeMap_InnerEntry (mut i32) (i32.const 0)) -(global $f_$class__nobridgemethods_TreeMap_InnerEntry (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nobridgemeth...|__nobridgemethods_TreeMap_InnerEntry (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nobridgemethods_TreeMap_InnerEntry (mut i32) + (i32.const 0) +) +(global $f_$class__nobridgemethods_TreeMap_InnerEntry (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nobridgemeth...|__nobridgemethods_TreeMap_InnerEntry (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nobridgemethods.CharSet.1 [static fields] -(global $f_$initialized__nobridgemethods_CharSet_1 (mut i32) (i32.const 0)) -(global $f_$class__nobridgemethods_CharSet_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nobridgemeth...|__nobridgemethods_CharSet_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nobridgemethods_CharSet_1 (mut i32) + (i32.const 0) +) +(global $f_$class__nobridgemethods_CharSet_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nobridgemeth...|__nobridgemethods_CharSet_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nobridgemethods.Entry [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/nullability/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/nullability/output_wasm/module.wat.txt index 2df449d3ef..ff59aed6ed 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/nullability/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/nullability/output_wasm/module.wat.txt @@ -1308,7 +1308,8 @@ ) ;;; Code for nullability.Nullability.StringComparator [itable.init] -(global $java.util.Comparator.vtable@$nullability.Nullability.StringComparator (ref $java.util.Comparator.vtable) + +(global $java.util.Comparator.vtable@$nullability.Nullability.StringComparator (ref $java.util.Comparator.vtable) (struct.new $java.util.Comparator.vtable (ref.func $m_compare__java_lang_Object__java_lang_Object__int@nullability.Nullability.StringComparator) (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object) @@ -1320,16 +1321,18 @@ (ref.func $m_thenComparingInt__java_util_function_ToIntFunction__java_util_Comparator@nullability.Nullability.StringComparator) (ref.func $m_thenComparingLong__java_util_function_ToLongFunction__java_util_Comparator@nullability.Nullability.StringComparator) ) +) +(global $nullability.Nullability.StringComparator.itable (ref $nullability.Nullability.StringComparator.itable) + (struct.new $nullability.Nullability.StringComparator.itable + (ref.null struct) + (global.get $java.util.Comparator.vtable@$nullability.Nullability.StringComparator) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.Nullability.StringComparator.itable (ref $nullability.Nullability.StringComparator.itable) (struct.new $nullability.Nullability.StringComparator.itable - (ref.null struct) - (global.get $java.util.Comparator.vtable@$nullability.Nullability.StringComparator) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.Nullability.NullableStringComparator [vtable.init] (global $nullability.Nullability.NullableStringComparator.vtable (ref $nullability.Nullability.NullableStringComparator.vtable) @@ -1352,7 +1355,8 @@ ) ;;; Code for nullability.Nullability.NullableStringComparator [itable.init] -(global $java.util.Comparator.vtable@$nullability.Nullability.NullableStringComparator (ref $java.util.Comparator.vtable) + +(global $java.util.Comparator.vtable@$nullability.Nullability.NullableStringComparator (ref $java.util.Comparator.vtable) (struct.new $java.util.Comparator.vtable (ref.func $m_compare__java_lang_Object__java_lang_Object__int@nullability.Nullability.NullableStringComparator) (ref.func $m_equals__java_lang_Object__boolean@java.lang.Object) @@ -1364,16 +1368,18 @@ (ref.func $m_thenComparingInt__java_util_function_ToIntFunction__java_util_Comparator@nullability.Nullability.NullableStringComparator) (ref.func $m_thenComparingLong__java_util_function_ToLongFunction__java_util_Comparator@nullability.Nullability.NullableStringComparator) ) +) +(global $nullability.Nullability.NullableStringComparator.itable (ref $nullability.Nullability.NullableStringComparator.itable) + (struct.new $nullability.Nullability.NullableStringComparator.itable + (ref.null struct) + (global.get $java.util.Comparator.vtable@$nullability.Nullability.NullableStringComparator) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.Nullability.NullableStringComparator.itable (ref $nullability.Nullability.NullableStringComparator.itable) (struct.new $nullability.Nullability.NullableStringComparator.itable - (ref.null struct) - (global.get $java.util.Comparator.vtable@$nullability.Nullability.NullableStringComparator) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.Nullability.NullableTemplatedReturnOverride [vtable.init] (global $nullability.Nullability.NullableTemplatedReturnOverride.vtable (ref $nullability.Nullability.NullableTemplatedReturnOverride.vtable) @@ -1389,20 +1395,23 @@ ) ;;; Code for nullability.Nullability.NullableTemplatedReturnOverride [itable.init] -(global $nullability.Nullability.NullableTemplatedReturn.vtable@$nullability.Nullability.NullableTemplatedReturnOverride (ref $nullability.Nullability.NullableTemplatedReturn.vtable) + +(global $nullability.Nullability.NullableTemplatedReturn.vtable@$nullability.Nullability.NullableTemplatedReturnOverride (ref $nullability.Nullability.NullableTemplatedReturn.vtable) (struct.new $nullability.Nullability.NullableTemplatedReturn.vtable (ref.func $m_foo__java_lang_Object@nullability.Nullability.NullableTemplatedReturnOverride) ) +) +(global $nullability.Nullability.NullableTemplatedReturnOverride.itable (ref $nullability.Nullability.NullableTemplatedReturnOverride.itable) + (struct.new $nullability.Nullability.NullableTemplatedReturnOverride.itable + (global.get $nullability.Nullability.NullableTemplatedReturn.vtable@$nullability.Nullability.NullableTemplatedReturnOverride) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.Nullability.NullableTemplatedReturnOverride.itable (ref $nullability.Nullability.NullableTemplatedReturnOverride.itable) (struct.new $nullability.Nullability.NullableTemplatedReturnOverride.itable - (global.get $nullability.Nullability.NullableTemplatedReturn.vtable@$nullability.Nullability.NullableTemplatedReturnOverride) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.Nullability.ParameterizedDefaultNullability [vtable.init] (global $nullability.Nullability.ParameterizedDefaultNullability.vtable (ref $nullability.Nullability.ParameterizedDefaultNullability.vtable) @@ -1492,19 +1501,22 @@ ) ;;; Code for nullability.Nullability.RecursiveChild [itable.init] -(global $nullability.Marker.vtable@$nullability.Nullability.RecursiveChild (ref $nullability.Marker.vtable) + +(global $nullability.Marker.vtable@$nullability.Nullability.RecursiveChild (ref $nullability.Marker.vtable) (struct.new $nullability.Marker.vtable ) +) +(global $nullability.Nullability.RecursiveChild.itable (ref $nullability.Nullability.RecursiveChild.itable) + (struct.new $nullability.Nullability.RecursiveChild.itable + (global.get $nullability.Marker.vtable@$nullability.Nullability.RecursiveChild) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.Nullability.RecursiveChild.itable (ref $nullability.Nullability.RecursiveChild.itable) (struct.new $nullability.Nullability.RecursiveChild.itable - (global.get $nullability.Marker.vtable@$nullability.Nullability.RecursiveChild) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.Nullability.RecursiveNullableChild [vtable.init] (global $nullability.Nullability.RecursiveNullableChild.vtable (ref $nullability.Nullability.RecursiveNullableChild.vtable) @@ -1518,19 +1530,22 @@ ) ;;; Code for nullability.Nullability.RecursiveNullableChild [itable.init] -(global $nullability.Marker.vtable@$nullability.Nullability.RecursiveNullableChild (ref $nullability.Marker.vtable) + +(global $nullability.Marker.vtable@$nullability.Nullability.RecursiveNullableChild (ref $nullability.Marker.vtable) (struct.new $nullability.Marker.vtable ) +) +(global $nullability.Nullability.RecursiveNullableChild.itable (ref $nullability.Nullability.RecursiveNullableChild.itable) + (struct.new $nullability.Nullability.RecursiveNullableChild.itable + (global.get $nullability.Marker.vtable@$nullability.Nullability.RecursiveNullableChild) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.Nullability.RecursiveNullableChild.itable (ref $nullability.Nullability.RecursiveNullableChild.itable) (struct.new $nullability.Nullability.RecursiveNullableChild.itable - (global.get $nullability.Marker.vtable@$nullability.Nullability.RecursiveNullableChild) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.Nullability.RecursiveParam [vtable.init] (global $nullability.Nullability.RecursiveParam.vtable (ref $nullability.Nullability.RecursiveParam.vtable) @@ -1587,21 +1602,24 @@ ) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface [itable.init] -(global $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable@$nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface (ref $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable) + +(global $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable@$nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface (ref $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable) (struct.new $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable (ref.func $m_add__java_lang_Object__java_lang_Object@nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface) (ref.func $m_nullableAdd__java_lang_Object__java_lang_Object@nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface) ) +) +(global $nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface.itable (ref $nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface.itable) + (struct.new $nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface.itable + (global.get $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable@$nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface.itable (ref $nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface.itable) (struct.new $nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface.itable - (global.get $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface.vtable@$nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ParameterizedDefaultNullability [vtable.init] (global $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedDefaultNullability.vtable (ref $nullability.defaultnotnullable.DefaultNotNullable.ParameterizedDefaultNullability.vtable) @@ -1706,20 +1724,23 @@ ) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1 [itable.init] -(global $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1 (ref $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable) + +(global $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1 (ref $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable) (struct.new $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable (ref.func $m_accept__java_lang_Object__void@nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1) ) +) +(global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1.itable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1.itable) + (struct.new $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1.itable + (global.get $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1.itable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1.itable) (struct.new $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1.itable - (global.get $nullability.defaultnullable.DefaultNullable.NullMarkedConsumer.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2 [vtable.init] (global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.vtable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.vtable) @@ -1734,20 +1755,23 @@ ) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2 [itable.init] -(global $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2 (ref $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable) + +(global $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2 (ref $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable) (struct.new $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable (ref.func $m_get__java_lang_Object@nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2) ) +) +(global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.itable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.itable) + (struct.new $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.itable + (global.get $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.itable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.itable) (struct.new $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2.itable - (global.get $nullability.defaultnullable.DefaultNullable.NullMarkedSupplier.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3 [vtable.init] (global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.vtable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.vtable) @@ -1762,20 +1786,23 @@ ) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3 [itable.init] -(global $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3 (ref $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable) + +(global $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3 (ref $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable) (struct.new $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable (ref.func $m_accept__int__java_lang_Object@nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3) ) +) +(global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.itable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.itable) + (struct.new $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.itable + (global.get $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.itable (ref $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.itable) (struct.new $nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3.itable - (global.get $nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction.vtable@$nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.defaultnullable.DefaultNullable.ParameterizedDefaultNullability [vtable.init] (global $nullability.defaultnullable.DefaultNullable.ParameterizedDefaultNullability.vtable (ref $nullability.defaultnullable.DefaultNullable.ParameterizedDefaultNullability.vtable) @@ -1882,20 +1909,23 @@ ) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1 [itable.init] -(global $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable) + +(global $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable (ref.func $m_accept__java_lang_Object__void@nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1) ) +) +(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1.itable) + (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1.itable + (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1.itable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1.itable - (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2 [vtable.init] (global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.vtable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.vtable) @@ -1910,20 +1940,23 @@ ) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2 [itable.init] -(global $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable) + +(global $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable (ref.func $m_accept__java_lang_Object__void@nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2) ) +) +(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.itable) + (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.itable + (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.itable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2.itable - (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3 [vtable.init] (global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.vtable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.vtable) @@ -1938,20 +1971,23 @@ ) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3 [itable.init] -(global $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable) + +(global $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable (ref.func $m_accept__java_lang_Object__void@nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3) ) +) +(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.itable) + (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.itable + (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.itable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3.itable - (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Consumer.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4 [vtable.init] (global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.vtable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.vtable) @@ -1966,20 +2002,23 @@ ) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4 [itable.init] -(global $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable) + +(global $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable (ref.func $m_get__java_lang_Object@nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4) ) +) +(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.itable) + (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.itable + (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.itable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4.itable - (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Supplier.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5 [vtable.init] (global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.vtable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.vtable) @@ -1994,20 +2033,23 @@ ) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5 [itable.init] -(global $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5 (ref $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable) + +(global $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5 (ref $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable (ref.func $m_accept__int__java_lang_Object@nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5) ) +) +(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.itable) + (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.itable + (global.get $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.itable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5.itable - (global.get $nullability.explicitnotnullable.ExplicitNotNullable.IntFunction.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.1 [vtable.init] (global $nullability.explicitnotnullable.ExplicitNotNullable.1.vtable (ref $nullability.explicitnotnullable.ExplicitNotNullable.1.vtable) @@ -2023,20 +2065,23 @@ ) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.1 [itable.init] -(global $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.1 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable) + +(global $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.1 (ref $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@nullability.explicitnotnullable.ExplicitNotNullable.1) ) +) +(global $nullability.explicitnotnullable.ExplicitNotNullable.1.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.1.itable) + (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.1.itable + (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $nullability.explicitnotnullable.ExplicitNotNullable.1.itable (ref $nullability.explicitnotnullable.ExplicitNotNullable.1.itable) (struct.new $nullability.explicitnotnullable.ExplicitNotNullable.1.itable - (global.get $nullability.explicitnotnullable.ExplicitNotNullable.Function.vtable@$nullability.explicitnotnullable.ExplicitNotNullable.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.ParameterizedDefaultNullability [vtable.init] (global $nullability.explicitnotnullable.ExplicitNotNullable.ParameterizedDefaultNullability.vtable (ref $nullability.explicitnotnullable.ExplicitNotNullable.ParameterizedDefaultNullability.vtable) @@ -2135,395 +2180,869 @@ ) ;;; Code for nullability.Nullability [static fields] -(global $f_$initialized__nullability_Nullability (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Hello|__nullability_Nullability (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|nullability....|__nullability_Nullability (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Hello|__nullability_Nullability (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|nullability....|__nullability_Nullability (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Marker [static fields] -(global $f_$initialized__nullability_Marker (mut i32) (i32.const 0)) -(global $f_$class__nullability_Marker (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Marker (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Marker (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Marker (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Marker (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.Foo [static fields] -(global $f_$initialized__nullability_Nullability_Foo (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Foo|__nullability_Nullability_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|nullability....|__nullability_Nullability_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Foo|__nullability_Nullability_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|nullability....|__nullability_Nullability_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.MyFunction [static fields] -(global $f_$initialized__nullability_Nullability_MyFunction (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_MyFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_MyFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_MyFunction (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_MyFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_MyFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.StringList [static fields] -(global $f_$initialized__nullability_Nullability_StringList (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_StringList (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_StringList (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_StringList (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_StringList (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_StringList (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.StringComparator [static fields] -(global $f_$initialized__nullability_Nullability_StringComparator (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_StringComparator (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_StringComparator (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_StringComparator (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_StringComparator (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_StringComparator (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.NullableStringComparator [static fields] -(global $f_$initialized__nullability_Nullability_NullableStringComparator (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_NullableStringComparator (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_NullableStringComparator (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_NullableStringComparator (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_NullableStringComparator (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_NullableStringComparator (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.NullableTemplatedReturn [static fields] -(global $f_$initialized__nullability_Nullability_NullableTemplatedReturn (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_NullableTemplatedReturn (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_NullableTemplatedReturn (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_NullableTemplatedReturn (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_NullableTemplatedReturn (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_NullableTemplatedReturn (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.NullableTemplatedReturnOverride [static fields] -(global $f_$initialized__nullability_Nullability_NullableTemplatedReturnOverride (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_NullableTemplatedReturnOverride (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foo|__nullability_Nullability_NullableTemplatedReturnOverride (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|nullability....|__nullability_Nullability_NullableTemplatedReturnOverride (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_NullableTemplatedReturnOverride (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_NullableTemplatedReturnOverride (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foo|__nullability_Nullability_NullableTemplatedReturnOverride (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|nullability....|__nullability_Nullability_NullableTemplatedReturnOverride (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.ParameterizedDefaultNullability [static fields] -(global $f_$initialized__nullability_Nullability_ParameterizedDefaultNullability (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_ParameterizedDefaultNullability (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.ParameterizedNullable [static fields] -(global $f_$initialized__nullability_Nullability_ParameterizedNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_ParameterizedNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_ParameterizedNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_ParameterizedNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_ParameterizedNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_ParameterizedNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.ParameterizedNonNullable [static fields] -(global $f_$initialized__nullability_Nullability_ParameterizedNonNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_ParameterizedNonNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_ParameterizedNonNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_ParameterizedNonNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_ParameterizedNonNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_ParameterizedNonNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.NonNullableInsideNullable [static fields] -(global $f_$initialized__nullability_Nullability_NonNullableInsideNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_NonNullableInsideNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_NonNullableInsideNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_NonNullableInsideNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_NonNullableInsideNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_NonNullableInsideNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.Recursive [static fields] -(global $f_$initialized__nullability_Nullability_Recursive (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_Recursive (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_Recursive (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_Recursive (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_Recursive (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_Recursive (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.RecursiveNullable [static fields] -(global $f_$initialized__nullability_Nullability_RecursiveNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_RecursiveNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_RecursiveNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_RecursiveNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_RecursiveNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_RecursiveNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.RecursiveChild [static fields] -(global $f_$initialized__nullability_Nullability_RecursiveChild (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_RecursiveChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_RecursiveChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_RecursiveChild (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_RecursiveChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_RecursiveChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.RecursiveNullableChild [static fields] -(global $f_$initialized__nullability_Nullability_RecursiveNullableChild (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_RecursiveNullableChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_RecursiveNullableChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_RecursiveNullableChild (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_RecursiveNullableChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_RecursiveNullableChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.RecursiveParam [static fields] -(global $f_$initialized__nullability_Nullability_RecursiveParam (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_RecursiveParam (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_RecursiveParam (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_RecursiveParam (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_RecursiveParam (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_RecursiveParam (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Nullability.RecursiveNullableParam [static fields] -(global $f_$initialized__nullability_Nullability_RecursiveNullableParam (mut i32) (i32.const 0)) -(global $f_$class__nullability_Nullability_RecursiveNullableParam (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_Nullability_RecursiveNullableParam (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_Nullability_RecursiveNullableParam (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_Nullability_RecursiveNullableParam (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_Nullability_RecursiveNullableParam (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|1|__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|2|__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|1|__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|2|__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ParameterizedInterface [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedInterface (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedInterface (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ImplementsParameterizedInterface [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|Hey|__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|Hey|__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ImplementsParameterizedInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.NullableBound [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NullableBound (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NullableBound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NullableBound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NullableBound (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NullableBound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NullableBound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.NonNullableBound [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NonNullableBound (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NonNullableBound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NonNullableBound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NonNullableBound (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NonNullableBound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NonNullableBound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.NullableBoundWithNonNullArgument [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNonNullArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNonNullArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.NullableBoundWithNullableArgument [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNullableArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNullableArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.NonNullBoundWithNonNullArgument [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNonNullArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNonNullArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.NonNullBoundWithNullableArgument [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNullableArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNullableArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ParameterizedDefaultNullability [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedDefaultNullability (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedDefaultNullability (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ParameterizedNullable [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.ParameterizedNonNullable [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNonNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNonNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.DefaultNotNullable.Consumer [static fields] -(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_Consumer (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_Consumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_Consumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_DefaultNotNullable_Consumer (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_DefaultNotNullable_Consumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_DefaultNotNullable_Consumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.TypeArgumentsInference [static fields] -(global $f_$initialized__nullability_defaultnotnullable_TypeArgumentsInference (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_TypeArgumentsInference (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_TypeArgumentsInference (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_TypeArgumentsInference (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_TypeArgumentsInference (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_TypeArgumentsInference (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnotnullable.TypeArgumentsInference.Pair [static fields] -(global $f_$initialized__nullability_defaultnotnullable_TypeArgumentsInference_Pair (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnotnullable_TypeArgumentsInference_Pair (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnotnullable_TypeArgumentsInference_Pair (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnotnullable_TypeArgumentsInference_Pair (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnotnullable_TypeArgumentsInference_Pair (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnotnullable_TypeArgumentsInference_Pair (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$1 [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$2 [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.$LambdaImplementor$3 [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$3 (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$3 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_$LambdaImplementor$3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NullableBound [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullableBound (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NullableBound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullableBound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullableBound (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NullableBound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullableBound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NonNullableBound [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NonNullableBound (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NonNullableBound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NonNullableBound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NonNullableBound (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NonNullableBound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NonNullableBound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NullableBoundWithNonNullArgument [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullableBoundWithNonNullArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullableBoundWithNonNullArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NullableBoundWithNullableArgument [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullableBoundWithNullableArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullableBoundWithNullableArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NonNullBoundWithNonNullArgument [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNonNullArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNonNullArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NonNullBoundWithNullableArgument [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNullableArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNullableArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.ParameterizedDefaultNullability [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_ParameterizedDefaultNullability (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_ParameterizedDefaultNullability (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.ParameterizedNullable [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_ParameterizedNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_ParameterizedNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_ParameterizedNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_ParameterizedNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_ParameterizedNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_ParameterizedNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.ParameterizedNonNullable [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_ParameterizedNonNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_ParameterizedNonNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_ParameterizedNonNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_ParameterizedNonNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_ParameterizedNonNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_ParameterizedNonNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.Consumer [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_Consumer (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_Consumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_Consumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_Consumer (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_Consumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_Consumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NullMarkedSupplier [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullMarkedSupplier (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NullMarkedSupplier (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullMarkedSupplier (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullMarkedSupplier (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NullMarkedSupplier (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullMarkedSupplier (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NullMarkedConsumer [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullMarkedConsumer (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NullMarkedConsumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullMarkedConsumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullMarkedConsumer (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NullMarkedConsumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullMarkedConsumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.defaultnullable.DefaultNullable.NullMarkedIntFunction [static fields] -(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullMarkedIntFunction (mut i32) (i32.const 0)) -(global $f_$class__nullability_defaultnullable_DefaultNullable_NullMarkedIntFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullMarkedIntFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_defaultnullable_DefaultNullable_NullMarkedIntFunction (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_defaultnullable_DefaultNullable_NullMarkedIntFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_defaultnullable_DefaultNullable_NullMarkedIntFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.DefaultNullable [static fields] -(global $f_$initialized__nullability_explicitnotnullable_DefaultNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_DefaultNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_DefaultNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_DefaultNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_DefaultNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_DefaultNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.OuterClass [static fields] -(global $f_$initialized__nullability_explicitnotnullable_OuterClass (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_OuterClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_OuterClass (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_OuterClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$1 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$2 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$3 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$3 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$3 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$4 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$4 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$4 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$4 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$4 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$4 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$4 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.$LambdaImplementor$5 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$5 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$5 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$5 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$5 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$5 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_$LambdaImplementor$5 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.1 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_1 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_1 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.NullableBound [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NullableBound (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NullableBound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NullableBound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NullableBound (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NullableBound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NullableBound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.NonNullableBound [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NonNullableBound (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NonNullableBound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NonNullableBound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NonNullableBound (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NonNullableBound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NonNullableBound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.NullableBoundWithNonNullArgument [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNonNullArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNonNullArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNonNullArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.NullableBoundWithNullableArgument [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNullableArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNullableArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NullableBoundWithNullableArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.NonNullBoundWithNonNullArgument [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNonNullArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNonNullArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNonNullArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.NonNullBoundWithNullableArgument [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNullableArgument (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNullableArgument (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_NonNullBoundWithNullableArgument (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.ParameterizedDefaultNullability [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedDefaultNullability (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedDefaultNullability (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedDefaultNullability (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.ParameterizedNullable [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.ParameterizedNonNullable [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNonNullable (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNonNullable (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_ParameterizedNonNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.Consumer [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_Consumer (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_Consumer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_Consumer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_Consumer (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_Consumer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_Consumer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.Supplier [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_Supplier (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_Supplier (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_Supplier (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_Supplier (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_Supplier (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_Supplier (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.IntFunction [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_IntFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.Function [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_Function (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_Function (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.ExplicitNotNullable.DependentTypeParameters [static fields] -(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_DependentTypeParameters (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_DependentTypeParameters (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_DependentTypeParameters (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_ExplicitNotNullable_DependentTypeParameters (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_ExplicitNotNullable_DependentTypeParameters (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_ExplicitNotNullable_DependentTypeParameters (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.OuterClass.1 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_OuterClass_1 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_OuterClass_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_OuterClass_1 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_OuterClass_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.OuterClass.2 [static fields] -(global $f_$initialized__nullability_explicitnotnullable_OuterClass_2 (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_OuterClass_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_OuterClass_2 (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_OuterClass_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.explicitnotnullable.OuterClass.InnerClass [static fields] -(global $f_$initialized__nullability_explicitnotnullable_OuterClass_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__nullability_explicitnotnullable_OuterClass_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__nullability_explicitnotnullable_OuterClass_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__nullability_explicitnotnullable_OuterClass_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|nullability....|__nullability_explicitnotnullable_OuterClass_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for nullability.Marker [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/objcnametype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/objcnametype/output_wasm/module.wat.txt index 662f6b59bd..3f1e317b61 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/objcnametype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/objcnametype/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for objcnametype.ObjCNameType [static fields] -(global $f_$initialized__objcnametype_ObjCNameType (mut i32) (i32.const 0)) -(global $f_$class__objcnametype_ObjCNameType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|objcnametype...|__objcnametype_ObjCNameType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__objcnametype_ObjCNameType (mut i32) + (i32.const 0) +) +(global $f_$class__objcnametype_ObjCNameType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|objcnametype...|__objcnametype_ObjCNameType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for objcnametype.ObjCNameType [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/objectmap/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/objectmap/output_wasm/module.wat.txt index 3aea7647c6..91c5acce0f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/objectmap/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/objectmap/output_wasm/module.wat.txt @@ -21,9 +21,15 @@ ;;; Code for objectmap.ObjectMap [static fields] ;;; Code for objectmap.ObjectMap.$Overlay [static fields] -(global $f_$initialized__objectmap_ObjectMap_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__objectmap_ObjectMap_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|objectmap.Ob...|__objectmap_ObjectMap_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__objectmap_ObjectMap_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__objectmap_ObjectMap_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|objectmap.Ob...|__objectmap_ObjectMap_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for objectmap.ObjectMap.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/overridingmethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/overridingmethods/output_wasm/module.wat.txt index 070438be9b..1439a24caa 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/overridingmethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/overridingmethods/output_wasm/module.wat.txt @@ -74,35 +74,56 @@ ) ;;; Code for overridingmethods.Child [itable.init] -(global $overridingmethods.SomeInterface.vtable@$overridingmethods.Child (ref $overridingmethods.SomeInterface.vtable) + +(global $overridingmethods.SomeInterface.vtable@$overridingmethods.Child (ref $overridingmethods.SomeInterface.vtable) (struct.new $overridingmethods.SomeInterface.vtable (ref.func $m_bar__void@overridingmethods.Child) ) +) +(global $overridingmethods.Child.itable (ref $overridingmethods.Child.itable) + (struct.new $overridingmethods.Child.itable + (global.get $overridingmethods.SomeInterface.vtable@$overridingmethods.Child) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $overridingmethods.Child.itable (ref $overridingmethods.Child.itable) (struct.new $overridingmethods.Child.itable - (global.get $overridingmethods.SomeInterface.vtable@$overridingmethods.Child) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for overridingmethods.SomeInterface [static fields] -(global $f_$initialized__overridingmethods_SomeInterface (mut i32) (i32.const 0)) -(global $f_$class__overridingmethods_SomeInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overridingme...|__overridingmethods_SomeInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overridingmethods_SomeInterface (mut i32) + (i32.const 0) +) +(global $f_$class__overridingmethods_SomeInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overridingme...|__overridingmethods_SomeInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overridingmethods.Parent [static fields] -(global $f_$initialized__overridingmethods_Parent (mut i32) (i32.const 0)) -(global $f_$class__overridingmethods_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overridingme...|__overridingmethods_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overridingmethods_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__overridingmethods_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overridingme...|__overridingmethods_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overridingmethods.Child [static fields] -(global $f_$initialized__overridingmethods_Child (mut i32) (i32.const 0)) -(global $f_$class__overridingmethods_Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overridingme...|__overridingmethods_Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overridingmethods_Child (mut i32) + (i32.const 0) +) +(global $f_$class__overridingmethods_Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overridingme...|__overridingmethods_Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overridingmethods.SomeInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/overwrittentypevariables/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/overwrittentypevariables/output_wasm/module.wat.txt index 927b1a4cab..7c0350ea78 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/overwrittentypevariables/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/overwrittentypevariables/output_wasm/module.wat.txt @@ -104,23 +104,27 @@ ) ;;; Code for overwrittentypevariables.HashFunctions.1 [itable.init] -(global $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.1 (ref $overwrittentypevariables.HashFunction.vtable) + +(global $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.1 (ref $overwrittentypevariables.HashFunction.vtable) (struct.new $overwrittentypevariables.HashFunction.vtable ) - )(global $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.1 (ref $overwrittentypevariables.MyFunction.vtable) +) +(global $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.1 (ref $overwrittentypevariables.MyFunction.vtable) (struct.new $overwrittentypevariables.MyFunction.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@overwrittentypevariables.HashFunctions.1) ) +) +(global $overwrittentypevariables.HashFunctions.1.itable (ref $overwrittentypevariables.HashFunctions.1.itable) + (struct.new $overwrittentypevariables.HashFunctions.1.itable + (global.get $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.1) + (global.get $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $overwrittentypevariables.HashFunctions.1.itable (ref $overwrittentypevariables.HashFunctions.1.itable) (struct.new $overwrittentypevariables.HashFunctions.1.itable - (global.get $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.1) - (global.get $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for overwrittentypevariables.HashFunctions.2 [vtable.init] (global $overwrittentypevariables.HashFunctions.2.vtable (ref $overwrittentypevariables.HashFunctions.2.vtable) @@ -136,48 +140,82 @@ ) ;;; Code for overwrittentypevariables.HashFunctions.2 [itable.init] -(global $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.2 (ref $overwrittentypevariables.HashFunction.vtable) + +(global $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.2 (ref $overwrittentypevariables.HashFunction.vtable) (struct.new $overwrittentypevariables.HashFunction.vtable ) - )(global $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.2 (ref $overwrittentypevariables.MyFunction.vtable) +) +(global $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.2 (ref $overwrittentypevariables.MyFunction.vtable) (struct.new $overwrittentypevariables.MyFunction.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@overwrittentypevariables.HashFunctions.2) ) +) +(global $overwrittentypevariables.HashFunctions.2.itable (ref $overwrittentypevariables.HashFunctions.2.itable) + (struct.new $overwrittentypevariables.HashFunctions.2.itable + (global.get $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.2) + (global.get $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $overwrittentypevariables.HashFunctions.2.itable (ref $overwrittentypevariables.HashFunctions.2.itable) (struct.new $overwrittentypevariables.HashFunctions.2.itable - (global.get $overwrittentypevariables.HashFunction.vtable@$overwrittentypevariables.HashFunctions.2) - (global.get $overwrittentypevariables.MyFunction.vtable@$overwrittentypevariables.HashFunctions.2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for overwrittentypevariables.MyFunction [static fields] -(global $f_$initialized__overwrittentypevariables_MyFunction (mut i32) (i32.const 0)) -(global $f_$class__overwrittentypevariables_MyFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overwrittent...|__overwrittentypevariables_MyFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overwrittentypevariables_MyFunction (mut i32) + (i32.const 0) +) +(global $f_$class__overwrittentypevariables_MyFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overwrittent...|__overwrittentypevariables_MyFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overwrittentypevariables.HashFunction [static fields] -(global $f_$initialized__overwrittentypevariables_HashFunction (mut i32) (i32.const 0)) -(global $f_$class__overwrittentypevariables_HashFunction (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunction (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overwrittentypevariables_HashFunction (mut i32) + (i32.const 0) +) +(global $f_$class__overwrittentypevariables_HashFunction (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunction (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overwrittentypevariables.HashFunctions [static fields] -(global $f_$initialized__overwrittentypevariables_HashFunctions (mut i32) (i32.const 0)) -(global $f_$class__overwrittentypevariables_HashFunctions (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunctions (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overwrittentypevariables_HashFunctions (mut i32) + (i32.const 0) +) +(global $f_$class__overwrittentypevariables_HashFunctions (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunctions (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overwrittentypevariables.HashFunctions.1 [static fields] -(global $f_$initialized__overwrittentypevariables_HashFunctions_1 (mut i32) (i32.const 0)) -(global $f_$class__overwrittentypevariables_HashFunctions_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunctions_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overwrittentypevariables_HashFunctions_1 (mut i32) + (i32.const 0) +) +(global $f_$class__overwrittentypevariables_HashFunctions_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunctions_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overwrittentypevariables.HashFunctions.2 [static fields] -(global $f_$initialized__overwrittentypevariables_HashFunctions_2 (mut i32) (i32.const 0)) -(global $f_$class__overwrittentypevariables_HashFunctions_2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunctions_2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__overwrittentypevariables_HashFunctions_2 (mut i32) + (i32.const 0) +) +(global $f_$class__overwrittentypevariables_HashFunctions_2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|overwrittent...|__overwrittentypevariables_HashFunctions_2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for overwrittentypevariables.MyFunction [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/packageinfo/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/packageinfo/output_wasm/module.wat.txt index 6c0d79baa0..ae7febb06f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/packageinfo/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/packageinfo/output_wasm/module.wat.txt @@ -109,24 +109,48 @@ ) ;;; Code for packageinfo.Outer [static fields] -(global $f_$initialized__packageinfo_Outer (mut i32) (i32.const 0)) -(global $f_$class__packageinfo_Outer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfo....|__packageinfo_Outer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfo_Outer (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfo_Outer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfo....|__packageinfo_Outer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfo.Outer.Inner [static fields] -(global $f_$initialized__packageinfo_Outer_Inner (mut i32) (i32.const 0)) -(global $f_$class__packageinfo_Outer_Inner (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfo....|__packageinfo_Outer_Inner (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfo_Outer_Inner (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfo_Outer_Inner (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfo....|__packageinfo_Outer_Inner (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfo.subpackage.Foo [static fields] -(global $f_$initialized__packageinfo_subpackage_Foo (mut i32) (i32.const 0)) -(global $f_$class__packageinfo_subpackage_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfo....|__packageinfo_subpackage_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfo_subpackage_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfo_subpackage_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfo....|__packageinfo_subpackage_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfo.thirdpartylib.Bar [static fields] -(global $f_$initialized__packageinfo_thirdpartylib_Bar (mut i32) (i32.const 0)) -(global $f_$class__packageinfo_thirdpartylib_Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfo....|__packageinfo_thirdpartylib_Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfo_thirdpartylib_Bar (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfo_thirdpartylib_Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfo....|__packageinfo_thirdpartylib_Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfo.Outer [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/packageinfosubpackage/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/packageinfosubpackage/output_wasm/module.wat.txt index 4e19d54fc3..a6c10c6e20 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/packageinfosubpackage/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/packageinfosubpackage/output_wasm/module.wat.txt @@ -74,21 +74,39 @@ ) ;;; Code for packageinfosubpackage.Foo [static fields] -(global $f_$initialized__packageinfosubpackage_Foo (mut i32) (i32.const 0)) -(global $f_$class__packageinfosubpackage_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfos...|__packageinfosubpackage_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfosubpackage_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfosubpackage_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfos...|__packageinfosubpackage_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfosubpackage.Foo.NativeBar [static fields] ;;; Code for packageinfosubpackage.Foo.NativeBar.$Overlay [static fields] -(global $f_$initialized__packageinfosubpackage_Foo_NativeBar_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__packageinfosubpackage_Foo_NativeBar_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfos...|__packageinfosubpackage_Foo_NativeBar_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfosubpackage_Foo_NativeBar_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfosubpackage_Foo_NativeBar_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfos...|__packageinfosubpackage_Foo_NativeBar_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfosubpackage.subpackage.Bar [static fields] -(global $f_$initialized__packageinfosubpackage_subpackage_Bar (mut i32) (i32.const 0)) -(global $f_$class__packageinfosubpackage_subpackage_Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packageinfos...|__packageinfosubpackage_subpackage_Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageinfosubpackage_subpackage_Bar (mut i32) + (i32.const 0) +) +(global $f_$class__packageinfosubpackage_subpackage_Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packageinfos...|__packageinfosubpackage_subpackage_Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageinfosubpackage.Foo.NativeBar.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/packageprivatemethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/packageprivatemethods/output_wasm/module.wat.txt index f2965f73c2..a17505428a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/packageprivatemethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/packageprivatemethods/output_wasm/module.wat.txt @@ -153,20 +153,23 @@ ) ;;; Code for packageprivatemethods.package1.Child [itable.init] -(global $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package1.Child (ref $packageprivatemethods.package1.Interface.vtable) + +(global $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package1.Child (ref $packageprivatemethods.package1.Interface.vtable) (struct.new $packageprivatemethods.package1.Interface.vtable (ref.func $m_exposedInChildWithInterface__int__int__int@packageprivatemethods.package1.Child) ) +) +(global $packageprivatemethods.package1.Child.itable (ref $packageprivatemethods.package1.Child.itable) + (struct.new $packageprivatemethods.package1.Child.itable + (global.get $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package1.Child) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $packageprivatemethods.package1.Child.itable (ref $packageprivatemethods.package1.Child.itable) (struct.new $packageprivatemethods.package1.Child.itable - (global.get $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package1.Child) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for packageprivatemethods.package1.SuperParent [vtable.init] (global $packageprivatemethods.package1.SuperParent.vtable (ref $packageprivatemethods.package1.SuperParent.vtable) @@ -203,50 +206,89 @@ ) ;;; Code for packageprivatemethods.package2.SubChild [itable.init] -(global $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package2.SubChild (ref $packageprivatemethods.package1.Interface.vtable) + +(global $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package2.SubChild (ref $packageprivatemethods.package1.Interface.vtable) (struct.new $packageprivatemethods.package1.Interface.vtable (ref.func $m_exposedInChildWithInterface__int__int__int@packageprivatemethods.package1.Child) ) +) +(global $packageprivatemethods.package2.SubChild.itable (ref $packageprivatemethods.package2.SubChild.itable) + (struct.new $packageprivatemethods.package2.SubChild.itable + (global.get $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package2.SubChild) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $packageprivatemethods.package2.SubChild.itable (ref $packageprivatemethods.package2.SubChild.itable) (struct.new $packageprivatemethods.package2.SubChild.itable - (global.get $packageprivatemethods.package1.Interface.vtable@$packageprivatemethods.package2.SubChild) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for packageprivatemethods.package1.Child [static fields] -(global $f_$initialized__packageprivatemethods_package1_Child (mut i32) (i32.const 0)) -(global $f_$class__packageprivatemethods_package1_Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packagepriva...|__packageprivatemethods_package1_Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageprivatemethods_package1_Child (mut i32) + (i32.const 0) +) +(global $f_$class__packageprivatemethods_package1_Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packagepriva...|__packageprivatemethods_package1_Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageprivatemethods.package1.Interface [static fields] -(global $f_$initialized__packageprivatemethods_package1_Interface (mut i32) (i32.const 0)) -(global $f_$class__packageprivatemethods_package1_Interface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packagepriva...|__packageprivatemethods_package1_Interface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageprivatemethods_package1_Interface (mut i32) + (i32.const 0) +) +(global $f_$class__packageprivatemethods_package1_Interface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packagepriva...|__packageprivatemethods_package1_Interface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageprivatemethods.package1.Parent [static fields] -(global $f_$initialized__packageprivatemethods_package1_Parent (mut i32) (i32.const 0)) -(global $f_$class__packageprivatemethods_package1_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packagepriva...|__packageprivatemethods_package1_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageprivatemethods_package1_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__packageprivatemethods_package1_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packagepriva...|__packageprivatemethods_package1_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageprivatemethods.package1.SuperParent [static fields] -(global $f_$initialized__packageprivatemethods_package1_SuperParent (mut i32) (i32.const 0)) -(global $f_$class__packageprivatemethods_package1_SuperParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packagepriva...|__packageprivatemethods_package1_SuperParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageprivatemethods_package1_SuperParent (mut i32) + (i32.const 0) +) +(global $f_$class__packageprivatemethods_package1_SuperParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packagepriva...|__packageprivatemethods_package1_SuperParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageprivatemethods.package2.SubChild [static fields] -(global $f_$initialized__packageprivatemethods_package2_SubChild (mut i32) (i32.const 0)) -(global $f_$class__packageprivatemethods_package2_SubChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packagepriva...|__packageprivatemethods_package2_SubChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageprivatemethods_package2_SubChild (mut i32) + (i32.const 0) +) +(global $f_$class__packageprivatemethods_package2_SubChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packagepriva...|__packageprivatemethods_package2_SubChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageprivatemethods.package2.SubParent [static fields] -(global $f_$initialized__packageprivatemethods_package2_SubParent (mut i32) (i32.const 0)) -(global $f_$class__packageprivatemethods_package2_SubParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|packagepriva...|__packageprivatemethods_package2_SubParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__packageprivatemethods_package2_SubParent (mut i32) + (i32.const 0) +) +(global $f_$class__packageprivatemethods_package2_SubParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|packagepriva...|__packageprivatemethods_package2_SubParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for packageprivatemethods.package1.Interface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/parameterassignments/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/parameterassignments/output_wasm/module.wat.txt index eac96b26ba..5b61862cac 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/parameterassignments/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/parameterassignments/output_wasm/module.wat.txt @@ -165,20 +165,23 @@ ) ;;; Code for parameterassignments.Main.$LambdaImplementor$1 [itable.init] -(global $parameterassignments.Main.Fn.vtable@$parameterassignments.Main.$LambdaImplementor$1 (ref $parameterassignments.Main.Fn.vtable) + +(global $parameterassignments.Main.Fn.vtable@$parameterassignments.Main.$LambdaImplementor$1 (ref $parameterassignments.Main.Fn.vtable) (struct.new $parameterassignments.Main.Fn.vtable (ref.func $m_test__int__int__int@parameterassignments.Main.$LambdaImplementor$1) ) +) +(global $parameterassignments.Main.$LambdaImplementor$1.itable (ref $parameterassignments.Main.$LambdaImplementor$1.itable) + (struct.new $parameterassignments.Main.$LambdaImplementor$1.itable + (global.get $parameterassignments.Main.Fn.vtable@$parameterassignments.Main.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $parameterassignments.Main.$LambdaImplementor$1.itable (ref $parameterassignments.Main.$LambdaImplementor$1.itable) (struct.new $parameterassignments.Main.$LambdaImplementor$1.itable - (global.get $parameterassignments.Main.Fn.vtable@$parameterassignments.Main.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for parameterassignments.Main.$LambdaImplementor$2 [vtable.init] (global $parameterassignments.Main.$LambdaImplementor$2.vtable (ref $parameterassignments.Main.$LambdaImplementor$2.vtable) @@ -193,20 +196,23 @@ ) ;;; Code for parameterassignments.Main.$LambdaImplementor$2 [itable.init] -(global $parameterassignments.Main.FnPrimitiveVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$2 (ref $parameterassignments.Main.FnPrimitiveVarargs.vtable) + +(global $parameterassignments.Main.FnPrimitiveVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$2 (ref $parameterassignments.Main.FnPrimitiveVarargs.vtable) (struct.new $parameterassignments.Main.FnPrimitiveVarargs.vtable (ref.func $m_test__int__arrayOf_int__void@parameterassignments.Main.$LambdaImplementor$2) ) +) +(global $parameterassignments.Main.$LambdaImplementor$2.itable (ref $parameterassignments.Main.$LambdaImplementor$2.itable) + (struct.new $parameterassignments.Main.$LambdaImplementor$2.itable + (global.get $parameterassignments.Main.FnPrimitiveVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$2) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $parameterassignments.Main.$LambdaImplementor$2.itable (ref $parameterassignments.Main.$LambdaImplementor$2.itable) (struct.new $parameterassignments.Main.$LambdaImplementor$2.itable - (global.get $parameterassignments.Main.FnPrimitiveVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$2) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for parameterassignments.Main.$LambdaImplementor$3 [vtable.init] (global $parameterassignments.Main.$LambdaImplementor$3.vtable (ref $parameterassignments.Main.$LambdaImplementor$3.vtable) @@ -221,20 +227,23 @@ ) ;;; Code for parameterassignments.Main.$LambdaImplementor$3 [itable.init] -(global $parameterassignments.Main.FnObjectVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$3 (ref $parameterassignments.Main.FnObjectVarargs.vtable) + +(global $parameterassignments.Main.FnObjectVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$3 (ref $parameterassignments.Main.FnObjectVarargs.vtable) (struct.new $parameterassignments.Main.FnObjectVarargs.vtable (ref.func $m_test__java_lang_Object__arrayOf_java_lang_Object__void@parameterassignments.Main.$LambdaImplementor$3) ) +) +(global $parameterassignments.Main.$LambdaImplementor$3.itable (ref $parameterassignments.Main.$LambdaImplementor$3.itable) + (struct.new $parameterassignments.Main.$LambdaImplementor$3.itable + (global.get $parameterassignments.Main.FnObjectVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$3) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $parameterassignments.Main.$LambdaImplementor$3.itable (ref $parameterassignments.Main.$LambdaImplementor$3.itable) (struct.new $parameterassignments.Main.$LambdaImplementor$3.itable - (global.get $parameterassignments.Main.FnObjectVarargs.vtable@$parameterassignments.Main.$LambdaImplementor$3) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for parameterassignments.Main.SubMain [vtable.init] (global $parameterassignments.Main.SubMain.vtable (ref $parameterassignments.Main.SubMain.vtable) @@ -251,44 +260,92 @@ ) ;;; Code for parameterassignments.Main [static fields] -(global $f_$initialized__parameterassignments_Main (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.$LambdaImplementor$1 [static fields] -(global $f_$initialized__parameterassignments_Main_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.$LambdaImplementor$2 [static fields] -(global $f_$initialized__parameterassignments_Main_$LambdaImplementor$2 (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_$LambdaImplementor$2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_$LambdaImplementor$2 (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_$LambdaImplementor$2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_$LambdaImplementor$2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.$LambdaImplementor$3 [static fields] -(global $f_$initialized__parameterassignments_Main_$LambdaImplementor$3 (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_$LambdaImplementor$3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_$LambdaImplementor$3 (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_$LambdaImplementor$3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_$LambdaImplementor$3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.Fn [static fields] -(global $f_$initialized__parameterassignments_Main_Fn (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_Fn (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_Fn (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_Fn (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_Fn (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_Fn (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.FnPrimitiveVarargs [static fields] -(global $f_$initialized__parameterassignments_Main_FnPrimitiveVarargs (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_FnPrimitiveVarargs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_FnPrimitiveVarargs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_FnPrimitiveVarargs (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_FnPrimitiveVarargs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_FnPrimitiveVarargs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.FnObjectVarargs [static fields] -(global $f_$initialized__parameterassignments_Main_FnObjectVarargs (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_FnObjectVarargs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_FnObjectVarargs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_FnObjectVarargs (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_FnObjectVarargs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_FnObjectVarargs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.SubMain [static fields] -(global $f_$initialized__parameterassignments_Main_SubMain (mut i32) (i32.const 0)) -(global $f_$class__parameterassignments_Main_SubMain (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|parameterass...|__parameterassignments_Main_SubMain (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__parameterassignments_Main_SubMain (mut i32) + (i32.const 0) +) +(global $f_$class__parameterassignments_Main_SubMain (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|parameterass...|__parameterassignments_Main_SubMain (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for parameterassignments.Main.Fn [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/privateconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/privateconstructor/output_wasm/module.wat.txt index 3bd9c66eb8..bb883cc471 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/privateconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/privateconstructor/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for privateconstructor.PrivateConstructor [static fields] -(global $f_$initialized__privateconstructor_PrivateConstructor (mut i32) (i32.const 0)) -(global $f_$class__privateconstructor_PrivateConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|privateconst...|__privateconstructor_PrivateConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__privateconstructor_PrivateConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__privateconstructor_PrivateConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|privateconst...|__privateconstructor_PrivateConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for privateconstructor.PrivateConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/protobuf/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/protobuf/output_wasm/module.wat.txt index b3da1890be..917f6c3921 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/protobuf/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/protobuf/output_wasm/module.wat.txt @@ -92,19 +92,37 @@ ) ;;; Code for protobuf.MyMessage [static fields] -(global $f_$initialized__protobuf_MyMessage (mut i32) (i32.const 0)) -(global $f_$class__protobuf_MyMessage (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|protobuf.MyM...|__protobuf_MyMessage (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__protobuf_MyMessage (mut i32) + (i32.const 0) +) +(global $f_$class__protobuf_MyMessage (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|protobuf.MyM...|__protobuf_MyMessage (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for protobuf.MyMessage.Builder [static fields] -(global $f_$initialized__protobuf_MyMessage_Builder (mut i32) (i32.const 0)) -(global $f_$class__protobuf_MyMessage_Builder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|protobuf.MyM...|__protobuf_MyMessage_Builder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__protobuf_MyMessage_Builder (mut i32) + (i32.const 0) +) +(global $f_$class__protobuf_MyMessage_Builder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|protobuf.MyM...|__protobuf_MyMessage_Builder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for protobuf.Protobuf [static fields] -(global $f_$initialized__protobuf_Protobuf (mut i32) (i32.const 0)) -(global $f_$class__protobuf_Protobuf (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|protobuf.Pro...|__protobuf_Protobuf (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__protobuf_Protobuf (mut i32) + (i32.const 0) +) +(global $f_$class__protobuf_Protobuf (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|protobuf.Pro...|__protobuf_Protobuf (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for protobuf.Protobuf [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/publicconstructor/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/publicconstructor/output_wasm/module.wat.txt index a1c886c6a8..d9a65f22b9 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/publicconstructor/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/publicconstructor/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for publicconstructor.PublicConstructor [static fields] -(global $f_$initialized__publicconstructor_PublicConstructor (mut i32) (i32.const 0)) -(global $f_$class__publicconstructor_PublicConstructor (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|publicconstr...|__publicconstructor_PublicConstructor (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__publicconstructor_PublicConstructor (mut i32) + (i32.const 0) +) +(global $f_$class__publicconstructor_PublicConstructor (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|publicconstr...|__publicconstructor_PublicConstructor (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for publicconstructor.PublicConstructor [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/publicinstancefields/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/publicinstancefields/output_wasm/module.wat.txt index bcf003443c..32a3665f64 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/publicinstancefields/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/publicinstancefields/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for publicinstancefields.PublicInstanceFields [static fields] -(global $f_$initialized__publicinstancefields_PublicInstanceFields (mut i32) (i32.const 0)) -(global $f_$class__publicinstancefields_PublicInstanceFields (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|publicinstan...|__publicinstancefields_PublicInstanceFields (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__publicinstancefields_PublicInstanceFields (mut i32) + (i32.const 0) +) +(global $f_$class__publicinstancefields_PublicInstanceFields (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|publicinstan...|__publicinstancefields_PublicInstanceFields (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for publicinstancefields.PublicInstanceFields [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/qualifiedsupercall/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/qualifiedsupercall/output_wasm/module.wat.txt index 351cd5cd1a..bdfb3ce230 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/qualifiedsupercall/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/qualifiedsupercall/output_wasm/module.wat.txt @@ -87,19 +87,37 @@ ) ;;; Code for qualifiedsupercall.Parent [static fields] -(global $f_$initialized__qualifiedsupercall_Parent (mut i32) (i32.const 0)) -(global $f_$class__qualifiedsupercall_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|qualifiedsup...|__qualifiedsupercall_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__qualifiedsupercall_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__qualifiedsupercall_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|qualifiedsup...|__qualifiedsupercall_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for qualifiedsupercall.QualifiedSuperCall [static fields] -(global $f_$initialized__qualifiedsupercall_QualifiedSuperCall (mut i32) (i32.const 0)) -(global $f_$class__qualifiedsupercall_QualifiedSuperCall (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|qualifiedsup...|__qualifiedsupercall_QualifiedSuperCall (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__qualifiedsupercall_QualifiedSuperCall (mut i32) + (i32.const 0) +) +(global $f_$class__qualifiedsupercall_QualifiedSuperCall (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|qualifiedsup...|__qualifiedsupercall_QualifiedSuperCall (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for qualifiedsupercall.QualifiedSuperCall.InnerClass [static fields] -(global $f_$initialized__qualifiedsupercall_QualifiedSuperCall_InnerClass (mut i32) (i32.const 0)) -(global $f_$class__qualifiedsupercall_QualifiedSuperCall_InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|qualifiedsup...|__qualifiedsupercall_QualifiedSuperCall_InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__qualifiedsupercall_QualifiedSuperCall_InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__qualifiedsupercall_QualifiedSuperCall_InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|qualifiedsup...|__qualifiedsupercall_QualifiedSuperCall_InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for qualifiedsupercall.Parent [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/rawtype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/rawtype/output_wasm/module.wat.txt index c8f088d05b..84635b0158 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/rawtype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/rawtype/output_wasm/module.wat.txt @@ -241,65 +241,122 @@ ) ;;; Code for rawtype.RawType.RawSubclass [itable.init] -(global $rawtype.RawType.GenericSuperclass.vtable@$rawtype.RawType.RawSubclass (ref $rawtype.RawType.GenericSuperclass.vtable) + +(global $rawtype.RawType.GenericSuperclass.vtable@$rawtype.RawType.RawSubclass (ref $rawtype.RawType.GenericSuperclass.vtable) (struct.new $rawtype.RawType.GenericSuperclass.vtable (ref.func $m_f__rawtype_RawType__void@rawtype.RawType.RawSubclass) ) +) +(global $rawtype.RawType.RawSubclass.itable (ref $rawtype.RawType.RawSubclass.itable) + (struct.new $rawtype.RawType.RawSubclass.itable + (global.get $rawtype.RawType.GenericSuperclass.vtable@$rawtype.RawType.RawSubclass) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $rawtype.RawType.RawSubclass.itable (ref $rawtype.RawType.RawSubclass.itable) (struct.new $rawtype.RawType.RawSubclass.itable - (global.get $rawtype.RawType.GenericSuperclass.vtable@$rawtype.RawType.RawSubclass) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for rawtype.RawType [static fields] -(global $f_$initialized__rawtype_RawType (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawType|__rawtype_RawType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawType|__rawtype_RawType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.Unbound [static fields] -(global $f_$initialized__rawtype_RawType_Unbound (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_Unbound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_Unbound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_Unbound (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_Unbound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_Unbound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.Bound [static fields] -(global $f_$initialized__rawtype_RawType_Bound (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_Bound (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_Bound (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_Bound (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_Bound (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_Bound (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.BoundRecursively [static fields] -(global $f_$initialized__rawtype_RawType_BoundRecursively (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_BoundRecursively (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_BoundRecursively (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_BoundRecursively (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_BoundRecursively (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_BoundRecursively (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.BoundDependentDirect [static fields] -(global $f_$initialized__rawtype_RawType_BoundDependentDirect (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_BoundDependentDirect (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_BoundDependentDirect (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_BoundDependentDirect (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_BoundDependentDirect (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_BoundDependentDirect (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.BoundDependentIndirect [static fields] -(global $f_$initialized__rawtype_RawType_BoundDependentIndirect (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_BoundDependentIndirect (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_BoundDependentIndirect (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_BoundDependentIndirect (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_BoundDependentIndirect (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_BoundDependentIndirect (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.RawUnboundChild [static fields] -(global $f_$initialized__rawtype_RawType_RawUnboundChild (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_RawUnboundChild (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_RawUnboundChild (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_RawUnboundChild (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_RawUnboundChild (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_RawUnboundChild (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.GenericSuperclass [static fields] -(global $f_$initialized__rawtype_RawType_GenericSuperclass (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_GenericSuperclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_GenericSuperclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_GenericSuperclass (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_GenericSuperclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_GenericSuperclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.RawSubclass [static fields] -(global $f_$initialized__rawtype_RawType_RawSubclass (mut i32) (i32.const 0)) -(global $f_$class__rawtype_RawType_RawSubclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|rawtype.RawT...|__rawtype_RawType_RawSubclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__rawtype_RawType_RawSubclass (mut i32) + (i32.const 0) +) +(global $f_$class__rawtype_RawType_RawSubclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|rawtype.RawT...|__rawtype_RawType_RawSubclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for rawtype.RawType.GenericSuperclass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/simplebridgemethods/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/simplebridgemethods/output_wasm/module.wat.txt index 82306351c2..d10ab780e9 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/simplebridgemethods/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/simplebridgemethods/output_wasm/module.wat.txt @@ -175,20 +175,23 @@ ) ;;; Code for simplebridgemethods.Task [itable.init] -(global $simplebridgemethods.Callable.vtable@$simplebridgemethods.Task (ref $simplebridgemethods.Callable.vtable) + +(global $simplebridgemethods.Callable.vtable@$simplebridgemethods.Task (ref $simplebridgemethods.Callable.vtable) (struct.new $simplebridgemethods.Callable.vtable (ref.func $m_call__java_lang_Object__void@simplebridgemethods.Task) ) +) +(global $simplebridgemethods.Task.itable (ref $simplebridgemethods.Task.itable) + (struct.new $simplebridgemethods.Task.itable + (global.get $simplebridgemethods.Callable.vtable@$simplebridgemethods.Task) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $simplebridgemethods.Task.itable (ref $simplebridgemethods.Task.itable) (struct.new $simplebridgemethods.Task.itable - (global.get $simplebridgemethods.Callable.vtable@$simplebridgemethods.Task) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for simplebridgemethods.AnotherTask [vtable.init] (global $simplebridgemethods.AnotherTask.vtable (ref $simplebridgemethods.AnotherTask.vtable) @@ -204,20 +207,23 @@ ) ;;; Code for simplebridgemethods.AnotherTask [itable.init] -(global $simplebridgemethods.Callable.vtable@$simplebridgemethods.AnotherTask (ref $simplebridgemethods.Callable.vtable) + +(global $simplebridgemethods.Callable.vtable@$simplebridgemethods.AnotherTask (ref $simplebridgemethods.Callable.vtable) (struct.new $simplebridgemethods.Callable.vtable (ref.func $m_call__java_lang_Object__void@simplebridgemethods.AnotherTask) ) +) +(global $simplebridgemethods.AnotherTask.itable (ref $simplebridgemethods.AnotherTask.itable) + (struct.new $simplebridgemethods.AnotherTask.itable + (global.get $simplebridgemethods.Callable.vtable@$simplebridgemethods.AnotherTask) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $simplebridgemethods.AnotherTask.itable (ref $simplebridgemethods.AnotherTask.itable) (struct.new $simplebridgemethods.AnotherTask.itable - (global.get $simplebridgemethods.Callable.vtable@$simplebridgemethods.AnotherTask) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for simplebridgemethods.SimpleBridgeMethods [vtable.init] (global $simplebridgemethods.SimpleBridgeMethods.vtable (ref $simplebridgemethods.SimpleBridgeMethods.vtable) @@ -231,39 +237,81 @@ ) ;;; Code for simplebridgemethods.Superclass [static fields] -(global $f_$initialized__simplebridgemethods_Superclass (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_Superclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_Superclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_Superclass (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_Superclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_Superclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.Subclass [static fields] -(global $f_$initialized__simplebridgemethods_Subclass (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_Subclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_Subclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_Subclass (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_Subclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_Subclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.AnotherSubclass [static fields] -(global $f_$initialized__simplebridgemethods_AnotherSubclass (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_AnotherSubclass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_AnotherSubclass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_AnotherSubclass (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_AnotherSubclass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_AnotherSubclass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.Callable [static fields] -(global $f_$initialized__simplebridgemethods_Callable (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_Callable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_Callable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_Callable (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_Callable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_Callable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.Task [static fields] -(global $f_$initialized__simplebridgemethods_Task (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_Task (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_Task (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_Task (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_Task (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_Task (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.AnotherTask [static fields] -(global $f_$initialized__simplebridgemethods_AnotherTask (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_AnotherTask (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_AnotherTask (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_AnotherTask (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_AnotherTask (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_AnotherTask (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.SimpleBridgeMethods [static fields] -(global $f_$initialized__simplebridgemethods_SimpleBridgeMethods (mut i32) (i32.const 0)) -(global $f_$class__simplebridgemethods_SimpleBridgeMethods (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplebridge...|__simplebridgemethods_SimpleBridgeMethods (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplebridgemethods_SimpleBridgeMethods (mut i32) + (i32.const 0) +) +(global $f_$class__simplebridgemethods_SimpleBridgeMethods (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplebridge...|__simplebridgemethods_SimpleBridgeMethods (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplebridgemethods.Callable [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/simplegenericinterface/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/simplegenericinterface/output_wasm/module.wat.txt index cb932d57ca..cb188fffa6 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/simplegenericinterface/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/simplegenericinterface/output_wasm/module.wat.txt @@ -5,9 +5,15 @@ ) ;;; Code for simplegenericinterface.SimpleGenericInterface [static fields] -(global $f_$initialized__simplegenericinterface_SimpleGenericInterface (mut i32) (i32.const 0)) -(global $f_$class__simplegenericinterface_SimpleGenericInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplegeneri...|__simplegenericinterface_SimpleGenericInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplegenericinterface_SimpleGenericInterface (mut i32) + (i32.const 0) +) +(global $f_$class__simplegenericinterface_SimpleGenericInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplegeneri...|__simplegenericinterface_SimpleGenericInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplegenericinterface.SimpleGenericInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/simplegenerictype/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/simplegenerictype/output_wasm/module.wat.txt index 6e3f2da47f..15e986b579 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/simplegenerictype/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/simplegenerictype/output_wasm/module.wat.txt @@ -30,9 +30,15 @@ ) ;;; Code for simplegenerictype.SimpleGenericType [static fields] -(global $f_$initialized__simplegenerictype_SimpleGenericType (mut i32) (i32.const 0)) -(global $f_$class__simplegenerictype_SimpleGenericType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplegeneri...|__simplegenerictype_SimpleGenericType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplegenerictype_SimpleGenericType (mut i32) + (i32.const 0) +) +(global $f_$class__simplegenerictype_SimpleGenericType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplegeneri...|__simplegenerictype_SimpleGenericType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplegenerictype.SimpleGenericType [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/simpleliterals/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/simpleliterals/output_wasm/module.wat.txt index 8335a148cc..849cc8ac8a 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/simpleliterals/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/simpleliterals/output_wasm/module.wat.txt @@ -28,10 +28,18 @@ ) ;;; Code for simpleliterals.SimpleLiterals [static fields] -(global $f_$initialized__simpleliterals_SimpleLiterals (mut i32) (i32.const 0)) -(global $f_$class__simpleliterals_SimpleLiterals (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|foo|__simpleliterals_SimpleLiterals (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|simplelitera...|__simpleliterals_SimpleLiterals (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simpleliterals_SimpleLiterals (mut i32) + (i32.const 0) +) +(global $f_$class__simpleliterals_SimpleLiterals (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|foo|__simpleliterals_SimpleLiterals (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|simplelitera...|__simpleliterals_SimpleLiterals (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simpleliterals.SimpleLiterals [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/simplelocalclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/simplelocalclass/output_wasm/module.wat.txt index 8f5a41f567..e10b611c7f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/simplelocalclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/simplelocalclass/output_wasm/module.wat.txt @@ -178,34 +178,70 @@ ) ;;; Code for simplelocalclass.SimpleLocalClass [static fields] -(global $f_$initialized__simplelocalclass_SimpleLocalClass (mut i32) (i32.const 0)) -(global $f_$class__simplelocalclass_SimpleLocalClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelocalclass_SimpleLocalClass (mut i32) + (i32.const 0) +) +(global $f_$class__simplelocalclass_SimpleLocalClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelocalclass.SimpleLocalClass.1InnerClass [static fields] -(global $f_$initialized__simplelocalclass_SimpleLocalClass_1InnerClass (mut i32) (i32.const 0)) -(global $f_$class__simplelocalclass_SimpleLocalClass_1InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelocalclass_SimpleLocalClass_1InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__simplelocalclass_SimpleLocalClass_1InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelocalclass.SimpleLocalClass.1InnerClassWithoutCaptures [static fields] -(global $f_$initialized__simplelocalclass_SimpleLocalClass_1InnerClassWithoutCaptures (mut i32) (i32.const 0)) -(global $f_$class__simplelocalclass_SimpleLocalClass_1InnerClassWithoutCaptures (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1InnerClassWithoutCaptures (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelocalclass_SimpleLocalClass_1InnerClassWithoutCaptures (mut i32) + (i32.const 0) +) +(global $f_$class__simplelocalclass_SimpleLocalClass_1InnerClassWithoutCaptures (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1InnerClassWithoutCaptures (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelocalclass.SimpleLocalClass.2InnerClass [static fields] -(global $f_$initialized__simplelocalclass_SimpleLocalClass_2InnerClass (mut i32) (i32.const 0)) -(global $f_$class__simplelocalclass_SimpleLocalClass_2InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_2InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelocalclass_SimpleLocalClass_2InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__simplelocalclass_SimpleLocalClass_2InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_2InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelocalclass.SimpleLocalClass.1Abc$InnerClass [static fields] -(global $f_$initialized__simplelocalclass_SimpleLocalClass_1Abc$InnerClass (mut i32) (i32.const 0)) -(global $f_$class__simplelocalclass_SimpleLocalClass_1Abc$InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1Abc$InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelocalclass_SimpleLocalClass_1Abc$InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__simplelocalclass_SimpleLocalClass_1Abc$InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1Abc$InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelocalclass.SimpleLocalClass.1Klm$InnerClass [static fields] -(global $f_$initialized__simplelocalclass_SimpleLocalClass_1Klm$InnerClass (mut i32) (i32.const 0)) -(global $f_$class__simplelocalclass_SimpleLocalClass_1Klm$InnerClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1Klm$InnerClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelocalclass_SimpleLocalClass_1Klm$InnerClass (mut i32) + (i32.const 0) +) +(global $f_$class__simplelocalclass_SimpleLocalClass_1Klm$InnerClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelocalc...|__simplelocalclass_SimpleLocalClass_1Klm$InnerClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelocalclass.SimpleLocalClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/simplelongs/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/simplelongs/output_wasm/module.wat.txt index 0425853847..2f7f6f2d00 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/simplelongs/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/simplelongs/output_wasm/module.wat.txt @@ -34,9 +34,15 @@ ) ;;; Code for simplelongs.SimpleLongs [static fields] -(global $f_$initialized__simplelongs_SimpleLongs (mut i32) (i32.const 0)) -(global $f_$class__simplelongs_SimpleLongs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|simplelongs....|__simplelongs_SimpleLongs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__simplelongs_SimpleLongs (mut i32) + (i32.const 0) +) +(global $f_$class__simplelongs_SimpleLongs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|simplelongs....|__simplelongs_SimpleLongs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for simplelongs.SimpleLongs [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/srcjar/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/srcjar/output_wasm/module.wat.txt index c70a9cc194..8a7d712d30 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/srcjar/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/srcjar/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for srcjar.Foo [static fields] -(global $f_$initialized__srcjar_Foo (mut i32) (i32.const 0)) -(global $f_$class__srcjar_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|srcjar.Foo|__srcjar_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__srcjar_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__srcjar_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|srcjar.Foo|__srcjar_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for srcjar.Srcjar [static fields] -(global $f_$initialized__srcjar_Srcjar (mut i32) (i32.const 0)) -(global $f_$class__srcjar_Srcjar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|srcjar.Srcjar|__srcjar_Srcjar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__srcjar_Srcjar (mut i32) + (i32.const 0) +) +(global $f_$class__srcjar_Srcjar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|srcjar.Srcjar|__srcjar_Srcjar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for srcjar.Foo [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticblocklocalvar/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticblocklocalvar/output_wasm/module.wat.txt index 2c1e1da192..59da3d3aad 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticblocklocalvar/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticblocklocalvar/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for staticblocklocalvar.StaticBlockLocalVar [static fields] -(global $f_$initialized__staticblocklocalvar_StaticBlockLocalVar (mut i32) (i32.const 0)) -(global $f_$class__staticblocklocalvar_StaticBlockLocalVar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticblockl...|__staticblocklocalvar_StaticBlockLocalVar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticblocklocalvar_StaticBlockLocalVar (mut i32) + (i32.const 0) +) +(global $f_$class__staticblocklocalvar_StaticBlockLocalVar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticblockl...|__staticblocklocalvar_StaticBlockLocalVar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticblocklocalvar.StaticBlockLocalVar [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticfieldaccesslevels/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticfieldaccesslevels/output_wasm/module.wat.txt index 7712c7af98..cbf939c6f0 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticfieldaccesslevels/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticfieldaccesslevels/output_wasm/module.wat.txt @@ -28,13 +28,27 @@ ) ;;; Code for staticfieldaccesslevels.StaticFieldAccessLevels [static fields] -(global $f_a__staticfieldaccesslevels_StaticFieldAccessLevels (mut i32) (i32.const 0)) -(global $f_b__staticfieldaccesslevels_StaticFieldAccessLevels_ (mut i32) (i32.const 0)) -(global $f_c__staticfieldaccesslevels_StaticFieldAccessLevels (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_d__staticfieldaccesslevels_StaticFieldAccessLevels (mut i32) (i32.const 0)) -(global $f_$initialized__staticfieldaccesslevels_StaticFieldAccessLevels (mut i32) (i32.const 0)) -(global $f_$class__staticfieldaccesslevels_StaticFieldAccessLevels (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticfielda...|__staticfieldaccesslevels_StaticFieldAccessLevels (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_a__staticfieldaccesslevels_StaticFieldAccessLevels (mut i32) + (i32.const 0) +) +(global $f_b__staticfieldaccesslevels_StaticFieldAccessLevels_ (mut i32) + (i32.const 0) +) +(global $f_c__staticfieldaccesslevels_StaticFieldAccessLevels (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_d__staticfieldaccesslevels_StaticFieldAccessLevels (mut i32) + (i32.const 0) +) +(global $f_$initialized__staticfieldaccesslevels_StaticFieldAccessLevels (mut i32) + (i32.const 0) +) +(global $f_$class__staticfieldaccesslevels_StaticFieldAccessLevels (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticfielda...|__staticfieldaccesslevels_StaticFieldAccessLevels (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticfieldaccesslevels.StaticFieldAccessLevels [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticfieldinitializer/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticfieldinitializer/output_wasm/module.wat.txt index b99f4992db..6b22eef25e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticfieldinitializer/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticfieldinitializer/output_wasm/module.wat.txt @@ -26,11 +26,21 @@ ) ;;; Code for staticfieldinitializer.StaticFieldInitializer [static fields] -(global $f_a__staticfieldinitializer_StaticFieldInitializer (mut i32) (i32.const 0)) -(global $f_b__staticfieldinitializer_StaticFieldInitializer (mut i32) (i32.const 0)) -(global $f_$initialized__staticfieldinitializer_StaticFieldInitializer (mut i32) (i32.const 0)) -(global $f_$class__staticfieldinitializer_StaticFieldInitializer (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticfieldi...|__staticfieldinitializer_StaticFieldInitializer (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_a__staticfieldinitializer_StaticFieldInitializer (mut i32) + (i32.const 0) +) +(global $f_b__staticfieldinitializer_StaticFieldInitializer (mut i32) + (i32.const 0) +) +(global $f_$initialized__staticfieldinitializer_StaticFieldInitializer (mut i32) + (i32.const 0) +) +(global $f_$class__staticfieldinitializer_StaticFieldInitializer (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticfieldi...|__staticfieldinitializer_StaticFieldInitializer (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticfieldinitializer.StaticFieldInitializer [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticinitializers/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticinitializers/output_wasm/module.wat.txt index 331c936140..8c5ac1c68c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticinitializers/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticinitializers/output_wasm/module.wat.txt @@ -26,12 +26,24 @@ ) ;;; Code for staticinitializers.StaticInitializers [static fields] -(global $f_a__staticinitializers_StaticInitializers (mut i32) (i32.const 0)) -(global $f_b__staticinitializers_StaticInitializers (mut i32) (i32.const 0)) -(global $f_c__staticinitializers_StaticInitializers (mut i32) (i32.const 0)) -(global $f_$initialized__staticinitializers_StaticInitializers (mut i32) (i32.const 0)) -(global $f_$class__staticinitializers_StaticInitializers (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticinitia...|__staticinitializers_StaticInitializers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_a__staticinitializers_StaticInitializers (mut i32) + (i32.const 0) +) +(global $f_b__staticinitializers_StaticInitializers (mut i32) + (i32.const 0) +) +(global $f_c__staticinitializers_StaticInitializers (mut i32) + (i32.const 0) +) +(global $f_$initialized__staticinitializers_StaticInitializers (mut i32) + (i32.const 0) +) +(global $f_$class__staticinitializers_StaticInitializers (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticinitia...|__staticinitializers_StaticInitializers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticinitializers.StaticInitializers [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticjsmembers/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticjsmembers/output_wasm/module.wat.txt index cb65736d21..dc10c7545e 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticjsmembers/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticjsmembers/output_wasm/module.wat.txt @@ -68,25 +68,47 @@ ) ;;; Code for staticjsmembers.StaticJsMembers [static fields] -(global $f_field1__staticjsmembers_StaticJsMembers (mut i32) (i32.const 0)) -(global $f_field2__staticjsmembers_StaticJsMembers (mut i32) (i32.const 0)) -(global $f_$initialized__staticjsmembers_StaticJsMembers (mut i32) (i32.const 0)) -(global $f_$class__staticjsmembers_StaticJsMembers (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticjsmemb...|__staticjsmembers_StaticJsMembers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_field1__staticjsmembers_StaticJsMembers (mut i32) + (i32.const 0) +) +(global $f_field2__staticjsmembers_StaticJsMembers (mut i32) + (i32.const 0) +) +(global $f_$initialized__staticjsmembers_StaticJsMembers (mut i32) + (i32.const 0) +) +(global $f_$class__staticjsmembers_StaticJsMembers (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticjsmemb...|__staticjsmembers_StaticJsMembers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticjsmembers.StaticJsMembers.Native [static fields] ;;; Code for staticjsmembers.StaticJsMembers.Extern [static fields] ;;; Code for staticjsmembers.StaticJsMembers.Native.$Overlay [static fields] -(global $f_$initialized__staticjsmembers_StaticJsMembers_Native_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__staticjsmembers_StaticJsMembers_Native_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticjsmemb...|__staticjsmembers_StaticJsMembers_Native_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticjsmembers_StaticJsMembers_Native_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__staticjsmembers_StaticJsMembers_Native_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticjsmemb...|__staticjsmembers_StaticJsMembers_Native_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticjsmembers.StaticJsMembers.Extern.$Overlay [static fields] -(global $f_$initialized__staticjsmembers_StaticJsMembers_Extern_$Overlay (mut i32) (i32.const 0)) -(global $f_$class__staticjsmembers_StaticJsMembers_Extern_$Overlay (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticjsmemb...|__staticjsmembers_StaticJsMembers_Extern_$Overlay (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticjsmembers_StaticJsMembers_Extern_$Overlay (mut i32) + (i32.const 0) +) +(global $f_$class__staticjsmembers_StaticJsMembers_Extern_$Overlay (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticjsmemb...|__staticjsmembers_StaticJsMembers_Extern_$Overlay (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticjsmembers.StaticJsMembers.Native.$Overlay [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticjsmethodswithclassnamespace/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticjsmethodswithclassnamespace/output_wasm/module.wat.txt index 46ef45bdd8..6a1171d9fe 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticjsmethodswithclassnamespace/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticjsmethodswithclassnamespace/output_wasm/module.wat.txt @@ -57,14 +57,26 @@ ) ;;; Code for staticjsmethodswithclassnamespace.StaticJsMethodsWithClassNamespace [static fields] -(global $f_$initialized__staticjsmethodswithclassnamespace_StaticJsMethodsWithClassNamespace (mut i32) (i32.const 0)) -(global $f_$class__staticjsmethodswithclassnamespace_StaticJsMethodsWithClassNamespace (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticjsmeth...|__staticjsmethodswithclassnamespace_StaticJsMethodsWithClassNamespace (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticjsmethodswithclassnamespace_StaticJsMethodsWithClassNamespace (mut i32) + (i32.const 0) +) +(global $f_$class__staticjsmethodswithclassnamespace_StaticJsMethodsWithClassNamespace (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticjsmeth...|__staticjsmethodswithclassnamespace_StaticJsMethodsWithClassNamespace (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticjsmethodswithclassnamespace.ExternalCaller [static fields] -(global $f_$initialized__staticjsmethodswithclassnamespace_ExternalCaller (mut i32) (i32.const 0)) -(global $f_$class__staticjsmethodswithclassnamespace_ExternalCaller (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticjsmeth...|__staticjsmethodswithclassnamespace_ExternalCaller (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticjsmethodswithclassnamespace_ExternalCaller (mut i32) + (i32.const 0) +) +(global $f_$class__staticjsmethodswithclassnamespace_ExternalCaller (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticjsmeth...|__staticjsmethodswithclassnamespace_ExternalCaller (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticjsmethodswithclassnamespace.StaticJsMethodsWithClassNamespace [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/staticnestedclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/staticnestedclass/output_wasm/module.wat.txt index 6d1d69f6e8..4014807971 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/staticnestedclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/staticnestedclass/output_wasm/module.wat.txt @@ -53,14 +53,26 @@ ) ;;; Code for staticnestedclass.StaticNestedClassParent [static fields] -(global $f_$initialized__staticnestedclass_StaticNestedClassParent (mut i32) (i32.const 0)) -(global $f_$class__staticnestedclass_StaticNestedClassParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticnested...|__staticnestedclass_StaticNestedClassParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticnestedclass_StaticNestedClassParent (mut i32) + (i32.const 0) +) +(global $f_$class__staticnestedclass_StaticNestedClassParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticnested...|__staticnestedclass_StaticNestedClassParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticnestedclass.StaticNestedClassParent.StaticNestedClass [static fields] -(global $f_$initialized__staticnestedclass_StaticNestedClassParent_StaticNestedClass (mut i32) (i32.const 0)) -(global $f_$class__staticnestedclass_StaticNestedClassParent_StaticNestedClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|staticnested...|__staticnestedclass_StaticNestedClassParent_StaticNestedClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__staticnestedclass_StaticNestedClassParent_StaticNestedClass (mut i32) + (i32.const 0) +) +(global $f_$class__staticnestedclass_StaticNestedClassParent_StaticNestedClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|staticnested...|__staticnestedclass_StaticNestedClassParent_StaticNestedClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for staticnestedclass.StaticNestedClassParent [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/strings/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/strings/output_wasm/module.wat.txt index c5a296bac0..4964cc6f46 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/strings/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/strings/output_wasm/module.wat.txt @@ -59,23 +59,53 @@ ) ;;; Code for strings.Strings [static fields] -(global $f_$initialized__strings_Strings (mut i32) (i32.const 0)) -(global $f_$class__strings_Strings (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|a|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|o|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|1|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|s|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|s12|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|This_is_a_st...|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|_|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|_|_1__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|strings.Strings|__strings_Strings (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__strings_Strings (mut i32) + (i32.const 0) +) +(global $f_$class__strings_Strings (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|a|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|o|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|1|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|s|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|s12|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|This_is_a_st...|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|_|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|_|_1__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|strings.Strings|__strings_Strings (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for strings.Strings.StringHolder [static fields] -(global $f_$initialized__strings_Strings_StringHolder (mut i32) (i32.const 0)) -(global $f_$class__strings_Strings_StringHolder (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|A|__strings_Strings_StringHolder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|strings.Stri...|__strings_Strings_StringHolder (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__strings_Strings_StringHolder (mut i32) + (i32.const 0) +) +(global $f_$class__strings_Strings_StringHolder (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|A|__strings_Strings_StringHolder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|strings.Stri...|__strings_Strings_StringHolder (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for strings.Strings [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/subclassgenericclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/subclassgenericclass/output_wasm/module.wat.txt index 9f17c170fe..bd77cee872 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/subclassgenericclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/subclassgenericclass/output_wasm/module.wat.txt @@ -80,19 +80,37 @@ ) ;;; Code for subclassgenericclass.GenericClass [static fields] -(global $f_$initialized__subclassgenericclass_GenericClass (mut i32) (i32.const 0)) -(global $f_$class__subclassgenericclass_GenericClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|subclassgene...|__subclassgenericclass_GenericClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__subclassgenericclass_GenericClass (mut i32) + (i32.const 0) +) +(global $f_$class__subclassgenericclass_GenericClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|subclassgene...|__subclassgenericclass_GenericClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for subclassgenericclass.GenericSubclassGenericClass [static fields] -(global $f_$initialized__subclassgenericclass_GenericSubclassGenericClass (mut i32) (i32.const 0)) -(global $f_$class__subclassgenericclass_GenericSubclassGenericClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|subclassgene...|__subclassgenericclass_GenericSubclassGenericClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__subclassgenericclass_GenericSubclassGenericClass (mut i32) + (i32.const 0) +) +(global $f_$class__subclassgenericclass_GenericSubclassGenericClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|subclassgene...|__subclassgenericclass_GenericSubclassGenericClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for subclassgenericclass.SubclassGenericClass [static fields] -(global $f_$initialized__subclassgenericclass_SubclassGenericClass (mut i32) (i32.const 0)) -(global $f_$class__subclassgenericclass_SubclassGenericClass (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|subclassgene...|__subclassgenericclass_SubclassGenericClass (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__subclassgenericclass_SubclassGenericClass (mut i32) + (i32.const 0) +) +(global $f_$class__subclassgenericclass_SubclassGenericClass (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|subclassgene...|__subclassgenericclass_SubclassGenericClass (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for subclassgenericclass.GenericClass [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/supercalldefault/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/supercalldefault/output_wasm/module.wat.txt index 61dcac7281..12bedb1565 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/supercalldefault/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/supercalldefault/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for supercalldefault.SuperCallDefault [static fields] -(global $f_$initialized__supercalldefault_SuperCallDefault (mut i32) (i32.const 0)) -(global $f_$class__supercalldefault_SuperCallDefault (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supercalldef...|__supercalldefault_SuperCallDefault (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supercalldefault_SuperCallDefault (mut i32) + (i32.const 0) +) +(global $f_$class__supercalldefault_SuperCallDefault (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supercalldef...|__supercalldefault_SuperCallDefault (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supercalldefault.SuperCallDefault [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/supercallnondefault/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/supercallnondefault/output_wasm/module.wat.txt index 49d60b8c02..4f0cfd92fe 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/supercallnondefault/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/supercallnondefault/output_wasm/module.wat.txt @@ -55,14 +55,26 @@ ) ;;; Code for supercallnondefault.Parent [static fields] -(global $f_$initialized__supercallnondefault_Parent (mut i32) (i32.const 0)) -(global $f_$class__supercallnondefault_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supercallnon...|__supercallnondefault_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supercallnondefault_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__supercallnondefault_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supercallnon...|__supercallnondefault_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supercallnondefault.Child [static fields] -(global $f_$initialized__supercallnondefault_Child (mut i32) (i32.const 0)) -(global $f_$class__supercallnondefault_Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supercallnon...|__supercallnondefault_Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supercallnondefault_Child (mut i32) + (i32.const 0) +) +(global $f_$class__supercallnondefault_Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supercallnon...|__supercallnondefault_Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supercallnondefault.Parent [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/supermethodcall/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/supermethodcall/output_wasm/module.wat.txt index 1a5d727c71..cab677f010 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/supermethodcall/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/supermethodcall/output_wasm/module.wat.txt @@ -221,20 +221,23 @@ ) ;;; Code for supermethodcall.Parent [itable.init] -(global $supermethodcall.ParentInterface.vtable@$supermethodcall.Parent (ref $supermethodcall.ParentInterface.vtable) + +(global $supermethodcall.ParentInterface.vtable@$supermethodcall.Parent (ref $supermethodcall.ParentInterface.vtable) (struct.new $supermethodcall.ParentInterface.vtable (ref.func $m_defaultParent__void@supermethodcall.Parent) ) +) +(global $supermethodcall.Parent.itable (ref $supermethodcall.Parent.itable) + (struct.new $supermethodcall.Parent.itable + (global.get $supermethodcall.ParentInterface.vtable@$supermethodcall.Parent) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $supermethodcall.Parent.itable (ref $supermethodcall.Parent.itable) (struct.new $supermethodcall.Parent.itable - (global.get $supermethodcall.ParentInterface.vtable@$supermethodcall.Parent) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for supermethodcall.Child [vtable.init] (global $supermethodcall.Child.vtable (ref $supermethodcall.Child.vtable) @@ -258,24 +261,28 @@ ) ;;; Code for supermethodcall.Child [itable.init] -(global $supermethodcall.ParentInterface.vtable@$supermethodcall.Child (ref $supermethodcall.ParentInterface.vtable) + +(global $supermethodcall.ParentInterface.vtable@$supermethodcall.Child (ref $supermethodcall.ParentInterface.vtable) (struct.new $supermethodcall.ParentInterface.vtable (ref.func $m_defaultParent__void@supermethodcall.Parent) ) - )(global $supermethodcall.GrandParentInterface.vtable@$supermethodcall.Child (ref $supermethodcall.GrandParentInterface.vtable) +) +(global $supermethodcall.GrandParentInterface.vtable@$supermethodcall.Child (ref $supermethodcall.GrandParentInterface.vtable) (struct.new $supermethodcall.GrandParentInterface.vtable (ref.func $m_defaultGrandParent__void@supermethodcall.Child) ) +) +(global $supermethodcall.Child.itable (ref $supermethodcall.Child.itable) + (struct.new $supermethodcall.Child.itable + (global.get $supermethodcall.ParentInterface.vtable@$supermethodcall.Child) + (global.get $supermethodcall.GrandParentInterface.vtable@$supermethodcall.Child) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $supermethodcall.Child.itable (ref $supermethodcall.Child.itable) (struct.new $supermethodcall.Child.itable - (global.get $supermethodcall.ParentInterface.vtable@$supermethodcall.Child) - (global.get $supermethodcall.GrandParentInterface.vtable@$supermethodcall.Child) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for supermethodcall.Super [vtable.init] (global $supermethodcall.Super.vtable (ref $supermethodcall.Super.vtable) @@ -302,82 +309,153 @@ ) ;;; Code for supermethodcall.Sub [itable.init] -(global $supermethodcall.I1.vtable@$supermethodcall.Sub (ref $supermethodcall.I1.vtable) + +(global $supermethodcall.I1.vtable@$supermethodcall.Sub (ref $supermethodcall.I1.vtable) (struct.new $supermethodcall.I1.vtable (ref.func $m_m__void@supermethodcall.Sub) ) - )(global $supermethodcall.I2.vtable@$supermethodcall.Sub (ref $supermethodcall.I2.vtable) +) +(global $supermethodcall.I2.vtable@$supermethodcall.Sub (ref $supermethodcall.I2.vtable) (struct.new $supermethodcall.I2.vtable (ref.func $m_m__void@supermethodcall.Sub) ) - )(global $supermethodcall.I3.vtable@$supermethodcall.Sub (ref $supermethodcall.I3.vtable) +) +(global $supermethodcall.I3.vtable@$supermethodcall.Sub (ref $supermethodcall.I3.vtable) (struct.new $supermethodcall.I3.vtable ) +) +(global $supermethodcall.Sub.itable (ref $supermethodcall.Sub.itable) + (struct.new $supermethodcall.Sub.itable + (global.get $supermethodcall.I1.vtable@$supermethodcall.Sub) + (global.get $supermethodcall.I2.vtable@$supermethodcall.Sub) + (global.get $supermethodcall.I3.vtable@$supermethodcall.Sub) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $supermethodcall.Sub.itable (ref $supermethodcall.Sub.itable) (struct.new $supermethodcall.Sub.itable - (global.get $supermethodcall.I1.vtable@$supermethodcall.Sub) - (global.get $supermethodcall.I2.vtable@$supermethodcall.Sub) - (global.get $supermethodcall.I3.vtable@$supermethodcall.Sub) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for supermethodcall.GrandParentInterface [static fields] -(global $f_$initialized__supermethodcall_GrandParentInterface (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_GrandParentInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_GrandParentInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_GrandParentInterface (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_GrandParentInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_GrandParentInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.ParentInterface [static fields] -(global $f_$initialized__supermethodcall_ParentInterface (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_ParentInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_ParentInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_ParentInterface (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_ParentInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_ParentInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.GrandParent [static fields] -(global $f_$initialized__supermethodcall_GrandParent (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_GrandParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_GrandParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_GrandParent (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_GrandParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_GrandParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.Parent [static fields] -(global $f_$initialized__supermethodcall_Parent (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.Child [static fields] -(global $f_$initialized__supermethodcall_Child (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_Child (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.I1 [static fields] -(global $f_$initialized__supermethodcall_I1 (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_I1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_I1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_I1 (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_I1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_I1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.I2 [static fields] -(global $f_$initialized__supermethodcall_I2 (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_I2 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_I2 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_I2 (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_I2 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_I2 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.I3 [static fields] -(global $f_$initialized__supermethodcall_I3 (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_I3 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_I3 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_I3 (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_I3 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_I3 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.Super [static fields] -(global $f_$initialized__supermethodcall_Super (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_Super (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_Super (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_Super (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_Super (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_Super (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.Sub [static fields] -(global $f_$initialized__supermethodcall_Sub (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_Sub (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_Sub (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_Sub (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_Sub (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_Sub (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.SuperToStringTest [static fields] -(global $f_$initialized__supermethodcall_SuperToStringTest (mut i32) (i32.const 0)) -(global $f_$class__supermethodcall_SuperToStringTest (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|supermethodc...|__supermethodcall_SuperToStringTest (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__supermethodcall_SuperToStringTest (mut i32) + (i32.const 0) +) +(global $f_$class__supermethodcall_SuperToStringTest (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|supermethodc...|__supermethodcall_SuperToStringTest (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for supermethodcall.GrandParentInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/switchstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/switchstatement/output_wasm/module.wat.txt index 4c45f8cd7e..7c2b2275aa 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/switchstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/switchstatement/output_wasm/module.wat.txt @@ -64,23 +64,27 @@ ) ;;; Code for switchstatement.Numbers [itable.init] -(global $java.io.Serializable.vtable@$switchstatement.Numbers (ref $java.io.Serializable.vtable) + +(global $java.io.Serializable.vtable@$switchstatement.Numbers (ref $java.io.Serializable.vtable) (struct.new $java.io.Serializable.vtable ) - )(global $java.lang.Comparable.vtable@$switchstatement.Numbers (ref $java.lang.Comparable.vtable) +) +(global $java.lang.Comparable.vtable@$switchstatement.Numbers (ref $java.lang.Comparable.vtable) (struct.new $java.lang.Comparable.vtable (ref.func $m_compareTo__java_lang_Object__int@java.lang.Enum) ) +) +(global $switchstatement.Numbers.itable (ref $switchstatement.Numbers.itable) + (struct.new $switchstatement.Numbers.itable + (global.get $java.io.Serializable.vtable@$switchstatement.Numbers) + (global.get $java.lang.Comparable.vtable@$switchstatement.Numbers) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $switchstatement.Numbers.itable (ref $switchstatement.Numbers.itable) (struct.new $switchstatement.Numbers.itable - (global.get $java.io.Serializable.vtable@$switchstatement.Numbers) - (global.get $java.lang.Comparable.vtable@$switchstatement.Numbers) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for switchstatement.SwitchStatement [vtable.init] (global $switchstatement.SwitchStatement.vtable (ref $switchstatement.SwitchStatement.vtable) @@ -95,23 +99,53 @@ ) ;;; Code for switchstatement.Numbers [static fields] -(global $f_ONE__switchstatement_Numbers (mut (ref null $switchstatement.Numbers)) (ref.null $switchstatement.Numbers)) -(global $f_TWO__switchstatement_Numbers (mut (ref null $switchstatement.Numbers)) (ref.null $switchstatement.Numbers)) -(global $f_THREE__switchstatement_Numbers (mut (ref null $switchstatement.Numbers)) (ref.null $switchstatement.Numbers)) -(global $f_namesToValuesMap__switchstatement_Numbers_ (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_$initialized__switchstatement_Numbers (mut i32) (i32.const 0)) -(global $f_$class__switchstatement_Numbers (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|ONE|__switchstatement_Numbers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|TWO|__switchstatement_Numbers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|THREE|__switchstatement_Numbers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|switchstatem...|__switchstatement_Numbers (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_ONE__switchstatement_Numbers (mut (ref null $switchstatement.Numbers)) + (ref.null $switchstatement.Numbers) +) +(global $f_TWO__switchstatement_Numbers (mut (ref null $switchstatement.Numbers)) + (ref.null $switchstatement.Numbers) +) +(global $f_THREE__switchstatement_Numbers (mut (ref null $switchstatement.Numbers)) + (ref.null $switchstatement.Numbers) +) +(global $f_namesToValuesMap__switchstatement_Numbers_ (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_$initialized__switchstatement_Numbers (mut i32) + (i32.const 0) +) +(global $f_$class__switchstatement_Numbers (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|ONE|__switchstatement_Numbers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|TWO|__switchstatement_Numbers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|THREE|__switchstatement_Numbers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|switchstatem...|__switchstatement_Numbers (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for switchstatement.SwitchStatement [static fields] -(global $f_$initialized__switchstatement_SwitchStatement (mut i32) (i32.const 0)) -(global $f_$class__switchstatement_SwitchStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|one|__switchstatement_SwitchStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|two|__switchstatement_SwitchStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|switchstatem...|__switchstatement_SwitchStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__switchstatement_SwitchStatement (mut i32) + (i32.const 0) +) +(global $f_$class__switchstatement_SwitchStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|one|__switchstatement_SwitchStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|two|__switchstatement_SwitchStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|switchstatem...|__switchstatement_SwitchStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for switchstatement.SwitchStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/synchronizedmethod/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/synchronizedmethod/output_wasm/module.wat.txt index 25c31f3782..9aa57e823f 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/synchronizedmethod/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/synchronizedmethod/output_wasm/module.wat.txt @@ -30,11 +30,21 @@ ) ;;; Code for synchronizedmethod.SynchronizedMethod [static fields] -(global $f_sa__synchronizedmethod_SynchronizedMethod_ (mut i32) (i32.const 0)) -(global $f_sb__synchronizedmethod_SynchronizedMethod_ (mut i32) (i32.const 0)) -(global $f_$initialized__synchronizedmethod_SynchronizedMethod (mut i32) (i32.const 0)) -(global $f_$class__synchronizedmethod_SynchronizedMethod (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|synchronized...|__synchronizedmethod_SynchronizedMethod (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_sa__synchronizedmethod_SynchronizedMethod_ (mut i32) + (i32.const 0) +) +(global $f_sb__synchronizedmethod_SynchronizedMethod_ (mut i32) + (i32.const 0) +) +(global $f_$initialized__synchronizedmethod_SynchronizedMethod (mut i32) + (i32.const 0) +) +(global $f_$class__synchronizedmethod_SynchronizedMethod (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|synchronized...|__synchronizedmethod_SynchronizedMethod (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for synchronizedmethod.SynchronizedMethod [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/synchronizedstatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/synchronizedstatement/output_wasm/module.wat.txt index 5575e9dac8..88281ac311 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/synchronizedstatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/synchronizedstatement/output_wasm/module.wat.txt @@ -30,9 +30,15 @@ ) ;;; Code for synchronizedstatement.SynchronizedStatement [static fields] -(global $f_$initialized__synchronizedstatement_SynchronizedStatement (mut i32) (i32.const 0)) -(global $f_$class__synchronizedstatement_SynchronizedStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|synchronized...|__synchronizedstatement_SynchronizedStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__synchronizedstatement_SynchronizedStatement (mut i32) + (i32.const 0) +) +(global $f_$class__synchronizedstatement_SynchronizedStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|synchronized...|__synchronizedstatement_SynchronizedStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for synchronizedstatement.SynchronizedStatement [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/systemgetproperty/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/systemgetproperty/output_wasm/module.wat.txt index d61f87cb91..5ca36cd81c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/systemgetproperty/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/systemgetproperty/output_wasm/module.wat.txt @@ -26,12 +26,24 @@ ) ;;; Code for systemgetproperty.Main [static fields] -(global $f_$initialized__systemgetproperty_Main (mut i32) (i32.const 0)) -(global $f_$class__systemgetproperty_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|STRIPPED|__systemgetproperty_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|SIMPLE|__systemgetproperty_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|Foo|__systemgetproperty_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|systemgetpro...|__systemgetproperty_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__systemgetproperty_Main (mut i32) + (i32.const 0) +) +(global $f_$class__systemgetproperty_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|STRIPPED|__systemgetproperty_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|SIMPLE|__systemgetproperty_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|Foo|__systemgetproperty_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|systemgetpro...|__systemgetproperty_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for systemgetproperty.Main [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/ternaryexpression/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/ternaryexpression/output_wasm/module.wat.txt index a0a06311f0..6af6a174b1 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/ternaryexpression/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/ternaryexpression/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for ternaryexpression.TernaryExpression [static fields] -(global $f_$initialized__ternaryexpression_TernaryExpression (mut i32) (i32.const 0)) -(global $f_$class__ternaryexpression_TernaryExpression (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|ternaryexpre...|__ternaryexpression_TernaryExpression (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__ternaryexpression_TernaryExpression (mut i32) + (i32.const 0) +) +(global $f_$class__ternaryexpression_TernaryExpression (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|ternaryexpre...|__ternaryexpression_TernaryExpression (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for ternaryexpression.TernaryExpression [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/trycatch/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/trycatch/output_wasm/module.wat.txt index d9c8e9b3b9..12753a662d 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/trycatch/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/trycatch/output_wasm/module.wat.txt @@ -86,31 +86,48 @@ ) ;;; Code for trycatch.TryCatch.ClosableThing [itable.init] -(global $java.lang.AutoCloseable.vtable@$trycatch.TryCatch.ClosableThing (ref $java.lang.AutoCloseable.vtable) + +(global $java.lang.AutoCloseable.vtable@$trycatch.TryCatch.ClosableThing (ref $java.lang.AutoCloseable.vtable) (struct.new $java.lang.AutoCloseable.vtable (ref.func $m_close__void@trycatch.TryCatch.ClosableThing) ) +) +(global $trycatch.TryCatch.ClosableThing.itable (ref $trycatch.TryCatch.ClosableThing.itable) + (struct.new $trycatch.TryCatch.ClosableThing.itable + (global.get $java.lang.AutoCloseable.vtable@$trycatch.TryCatch.ClosableThing) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $trycatch.TryCatch.ClosableThing.itable (ref $trycatch.TryCatch.ClosableThing.itable) (struct.new $trycatch.TryCatch.ClosableThing.itable - (global.get $java.lang.AutoCloseable.vtable@$trycatch.TryCatch.ClosableThing) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for trycatch.TryCatch [static fields] -(global $f_closableThing__trycatch_TryCatch_ (mut (ref null $trycatch.TryCatch.ClosableThing)) (ref.null $trycatch.TryCatch.ClosableThing)) -(global $f_$initialized__trycatch_TryCatch (mut i32) (i32.const 0)) -(global $f_$class__trycatch_TryCatch (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|trycatch.Try...|__trycatch_TryCatch (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_closableThing__trycatch_TryCatch_ (mut (ref null $trycatch.TryCatch.ClosableThing)) + (ref.null $trycatch.TryCatch.ClosableThing) +) +(global $f_$initialized__trycatch_TryCatch (mut i32) + (i32.const 0) +) +(global $f_$class__trycatch_TryCatch (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|trycatch.Try...|__trycatch_TryCatch (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for trycatch.TryCatch.ClosableThing [static fields] -(global $f_$initialized__trycatch_TryCatch_ClosableThing (mut i32) (i32.const 0)) -(global $f_$class__trycatch_TryCatch_ClosableThing (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|trycatch.Try...|__trycatch_TryCatch_ClosableThing (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__trycatch_TryCatch_ClosableThing (mut i32) + (i32.const 0) +) +(global $f_$class__trycatch_TryCatch_ClosableThing (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|trycatch.Try...|__trycatch_TryCatch_ClosableThing (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for trycatch.TryCatch [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/typeannotations/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/typeannotations/output_wasm/module.wat.txt index 30a0207c31..98811e335c 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/typeannotations/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/typeannotations/output_wasm/module.wat.txt @@ -186,22 +186,25 @@ ) ;;; Code for typeannotations.ChildWithNullableParent [itable.init] -(global $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNullableParent (ref $typeannotations.ParametricType.vtable) + +(global $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNullableParent (ref $typeannotations.ParametricType.vtable) (struct.new $typeannotations.ParametricType.vtable (ref.func $m_m__java_lang_String__java_lang_Object__java_lang_Object@typeannotations.ChildWithNullableParent) (ref.func $m_m__java_util_List__java_lang_Object__java_util_List@typeannotations.ChildWithNullableParent) (ref.func $m_m__java_util_List__java_util_List@typeannotations.ChildWithNullableParent) ) +) +(global $typeannotations.ChildWithNullableParent.itable (ref $typeannotations.ChildWithNullableParent.itable) + (struct.new $typeannotations.ChildWithNullableParent.itable + (global.get $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNullableParent) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $typeannotations.ChildWithNullableParent.itable (ref $typeannotations.ChildWithNullableParent.itable) (struct.new $typeannotations.ChildWithNullableParent.itable - (global.get $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNullableParent) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for typeannotations.ChildWithNonNullableParent [vtable.init] (global $typeannotations.ChildWithNonNullableParent.vtable (ref $typeannotations.ChildWithNonNullableParent.vtable) @@ -220,22 +223,25 @@ ) ;;; Code for typeannotations.ChildWithNonNullableParent [itable.init] -(global $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNonNullableParent (ref $typeannotations.ParametricType.vtable) + +(global $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNonNullableParent (ref $typeannotations.ParametricType.vtable) (struct.new $typeannotations.ParametricType.vtable (ref.func $m_m__java_lang_String__java_lang_Object__java_lang_Object@typeannotations.ChildWithNonNullableParent) (ref.func $m_m__java_util_List__java_lang_Object__java_util_List@typeannotations.ChildWithNonNullableParent) (ref.func $m_m__java_util_List__java_util_List@typeannotations.ChildWithNonNullableParent) ) +) +(global $typeannotations.ChildWithNonNullableParent.itable (ref $typeannotations.ChildWithNonNullableParent.itable) + (struct.new $typeannotations.ChildWithNonNullableParent.itable + (global.get $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNonNullableParent) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $typeannotations.ChildWithNonNullableParent.itable (ref $typeannotations.ChildWithNonNullableParent.itable) (struct.new $typeannotations.ChildWithNonNullableParent.itable - (global.get $typeannotations.ParametricType.vtable@$typeannotations.ChildWithNonNullableParent) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for typeannotations.TypeAnnotations [vtable.init] (global $typeannotations.TypeAnnotations.vtable (ref $typeannotations.TypeAnnotations.vtable) @@ -249,39 +255,81 @@ ) ;;; Code for typeannotations.ParametricType [static fields] -(global $f_$initialized__typeannotations_ParametricType (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_ParametricType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_ParametricType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_ParametricType (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_ParametricType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_ParametricType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.AbstractType [static fields] -(global $f_$initialized__typeannotations_AbstractType (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_AbstractType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_AbstractType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_AbstractType (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_AbstractType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_AbstractType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.AbstractTypeNonNull [static fields] -(global $f_$initialized__typeannotations_AbstractTypeNonNull (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_AbstractTypeNonNull (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_AbstractTypeNonNull (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_AbstractTypeNonNull (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_AbstractTypeNonNull (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_AbstractTypeNonNull (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.Parent [static fields] -(global $f_$initialized__typeannotations_Parent (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_Parent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_Parent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_Parent (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_Parent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_Parent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.ChildWithNullableParent [static fields] -(global $f_$initialized__typeannotations_ChildWithNullableParent (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_ChildWithNullableParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_ChildWithNullableParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_ChildWithNullableParent (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_ChildWithNullableParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_ChildWithNullableParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.ChildWithNonNullableParent [static fields] -(global $f_$initialized__typeannotations_ChildWithNonNullableParent (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_ChildWithNonNullableParent (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_ChildWithNonNullableParent (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_ChildWithNonNullableParent (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_ChildWithNonNullableParent (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_ChildWithNonNullableParent (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.TypeAnnotations [static fields] -(global $f_$initialized__typeannotations_TypeAnnotations (mut i32) (i32.const 0)) -(global $f_$class__typeannotations_TypeAnnotations (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typeannotati...|__typeannotations_TypeAnnotations (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typeannotations_TypeAnnotations (mut i32) + (i32.const 0) +) +(global $f_$class__typeannotations_TypeAnnotations (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typeannotati...|__typeannotations_TypeAnnotations (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typeannotations.ParametricType [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/typewildcards/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/typewildcards/output_wasm/module.wat.txt index b0829ca7a3..9725535504 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/typewildcards/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/typewildcards/output_wasm/module.wat.txt @@ -386,20 +386,23 @@ ) ;;; Code for typewildcards.TypeWildCards.$LambdaImplementor$1 [itable.init] -(global $typewildcards.Function.vtable@$typewildcards.TypeWildCards.$LambdaImplementor$1 (ref $typewildcards.Function.vtable) + +(global $typewildcards.Function.vtable@$typewildcards.TypeWildCards.$LambdaImplementor$1 (ref $typewildcards.Function.vtable) (struct.new $typewildcards.Function.vtable (ref.func $m_apply__java_lang_Object__java_lang_Object@typewildcards.TypeWildCards.$LambdaImplementor$1) ) +) +(global $typewildcards.TypeWildCards.$LambdaImplementor$1.itable (ref $typewildcards.TypeWildCards.$LambdaImplementor$1.itable) + (struct.new $typewildcards.TypeWildCards.$LambdaImplementor$1.itable + (global.get $typewildcards.Function.vtable@$typewildcards.TypeWildCards.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $typewildcards.TypeWildCards.$LambdaImplementor$1.itable (ref $typewildcards.TypeWildCards.$LambdaImplementor$1.itable) (struct.new $typewildcards.TypeWildCards.$LambdaImplementor$1.itable - (global.get $typewildcards.Function.vtable@$typewildcards.TypeWildCards.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for typewildcards.TypeWildCards.A [vtable.init] (global $typewildcards.TypeWildCards.A.vtable (ref $typewildcards.TypeWildCards.A.vtable) @@ -414,20 +417,23 @@ ) ;;; Code for typewildcards.TypeWildCards.A [itable.init] -(global $typewildcards.TypeWildCards.X.vtable@$typewildcards.TypeWildCards.A (ref $typewildcards.TypeWildCards.X.vtable) + +(global $typewildcards.TypeWildCards.X.vtable@$typewildcards.TypeWildCards.A (ref $typewildcards.TypeWildCards.X.vtable) (struct.new $typewildcards.TypeWildCards.X.vtable (ref.func $m_m__void@typewildcards.TypeWildCards.A) ) +) +(global $typewildcards.TypeWildCards.A.itable (ref $typewildcards.TypeWildCards.A.itable) + (struct.new $typewildcards.TypeWildCards.A.itable + (global.get $typewildcards.TypeWildCards.X.vtable@$typewildcards.TypeWildCards.A) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $typewildcards.TypeWildCards.A.itable (ref $typewildcards.TypeWildCards.A.itable) (struct.new $typewildcards.TypeWildCards.A.itable - (global.get $typewildcards.TypeWildCards.X.vtable@$typewildcards.TypeWildCards.A) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for typewildcards.TypeWildCards.Foo [vtable.init] (global $typewildcards.TypeWildCards.Foo.vtable (ref $typewildcards.TypeWildCards.Foo.vtable) @@ -453,106 +459,230 @@ ) ;;; Code for typewildcards.Function [static fields] -(global $f_$initialized__typewildcards_Function (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_Function (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_Function (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_Function (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_Function (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_Function (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.List [static fields] -(global $f_$initialized__typewildcards_List (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_List (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_List (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_List (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_List (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_List (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.GenericType [static fields] -(global $f_$initialized__typewildcards_GenericType (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_GenericType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_GenericType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_GenericType (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_GenericType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_GenericType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.Bar [static fields] -(global $f_$initialized__typewildcards_Bar (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_Bar (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.RecursiveType [static fields] -(global $f_$initialized__typewildcards_RecursiveType (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_RecursiveType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_RecursiveType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_RecursiveType (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_RecursiveType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_RecursiveType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.DeepRecursiveType [static fields] -(global $f_$initialized__typewildcards_DeepRecursiveType (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_DeepRecursiveType (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_DeepRecursiveType (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_DeepRecursiveType (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_DeepRecursiveType (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_DeepRecursiveType (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.RecursiveSubtype [static fields] -(global $f_$initialized__typewildcards_RecursiveSubtype (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_RecursiveSubtype (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_RecursiveSubtype (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_RecursiveSubtype (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_RecursiveSubtype (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_RecursiveSubtype (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards [static fields] -(global $f_listWithWildcard__typewildcards_TypeWildCards (mut (ref null $java.lang.Object)) (ref.null $java.lang.Object)) -(global $f_valMultipleGenerics__typewildcards_TypeWildCards (mut (ref null $typewildcards.TypeWildCards.MultipleGenerics)) (ref.null $typewildcards.TypeWildCards.MultipleGenerics)) -(global $f_$initialized__typewildcards_TypeWildCards (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_listWithWildcard__typewildcards_TypeWildCards (mut (ref null $java.lang.Object)) + (ref.null $java.lang.Object) +) +(global $f_valMultipleGenerics__typewildcards_TypeWildCards (mut (ref null $typewildcards.TypeWildCards.MultipleGenerics)) + (ref.null $typewildcards.TypeWildCards.MultipleGenerics) +) +(global $f_$initialized__typewildcards_TypeWildCards (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.$LambdaImplementor$1 [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.X [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_X (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_X (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_X (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_X (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_X (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_X (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.Y [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_Y (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_Y (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_Y (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_Y (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_Y (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_Y (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.A [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_A (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_A (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.IntegerSupplier [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_IntegerSupplier (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_IntegerSupplier (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_IntegerSupplier (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_IntegerSupplier (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_IntegerSupplier (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_IntegerSupplier (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.HasKey [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_HasKey (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_HasKey (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_HasKey (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_HasKey (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_HasKey (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_HasKey (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.Element [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_Element (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_Element (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_Element (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_Element (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_Element (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_Element (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.OtherElement [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_OtherElement (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_OtherElement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_OtherElement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_OtherElement (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_OtherElement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_OtherElement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.SubOtherElement [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_SubOtherElement (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_SubOtherElement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_SubOtherElement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_SubOtherElement (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_SubOtherElement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_SubOtherElement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.Foo [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_Foo (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.RecursiveInterface [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_RecursiveInterface (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_RecursiveInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_RecursiveInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_RecursiveInterface (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_RecursiveInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_RecursiveInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.TypeWildCards.MultipleGenerics [static fields] -(global $f_$initialized__typewildcards_TypeWildCards_MultipleGenerics (mut i32) (i32.const 0)) -(global $f_$class__typewildcards_TypeWildCards_MultipleGenerics (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_MultipleGenerics (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__typewildcards_TypeWildCards_MultipleGenerics (mut i32) + (i32.const 0) +) +(global $f_$class__typewildcards_TypeWildCards_MultipleGenerics (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|typewildcard...|__typewildcards_TypeWildCards_MultipleGenerics (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for typewildcards.Function [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/unimplementedbridgemethod/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/unimplementedbridgemethod/output_wasm/module.wat.txt index 202ee9afaf..ebffaa9290 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/unimplementedbridgemethod/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/unimplementedbridgemethod/output_wasm/module.wat.txt @@ -62,24 +62,48 @@ ))) ;;; Code for unimplementedbridgemethod.I [static fields] -(global $f_$initialized__unimplementedbridgemethod_I (mut i32) (i32.const 0)) -(global $f_$class__unimplementedbridgemethod_I (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unimplemente...|__unimplementedbridgemethod_I (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unimplementedbridgemethod_I (mut i32) + (i32.const 0) +) +(global $f_$class__unimplementedbridgemethod_I (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unimplemente...|__unimplementedbridgemethod_I (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unimplementedbridgemethod.J [static fields] -(global $f_$initialized__unimplementedbridgemethod_J (mut i32) (i32.const 0)) -(global $f_$class__unimplementedbridgemethod_J (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unimplemente...|__unimplementedbridgemethod_J (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unimplementedbridgemethod_J (mut i32) + (i32.const 0) +) +(global $f_$class__unimplementedbridgemethod_J (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unimplemente...|__unimplementedbridgemethod_J (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unimplementedbridgemethod.Bar [static fields] -(global $f_$initialized__unimplementedbridgemethod_Bar (mut i32) (i32.const 0)) -(global $f_$class__unimplementedbridgemethod_Bar (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unimplemente...|__unimplementedbridgemethod_Bar (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unimplementedbridgemethod_Bar (mut i32) + (i32.const 0) +) +(global $f_$class__unimplementedbridgemethod_Bar (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unimplemente...|__unimplementedbridgemethod_Bar (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unimplementedbridgemethod.Foo [static fields] -(global $f_$initialized__unimplementedbridgemethod_Foo (mut i32) (i32.const 0)) -(global $f_$class__unimplementedbridgemethod_Foo (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unimplemente...|__unimplementedbridgemethod_Foo (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unimplementedbridgemethod_Foo (mut i32) + (i32.const 0) +) +(global $f_$class__unimplementedbridgemethod_Foo (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unimplemente...|__unimplementedbridgemethod_Foo (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unimplementedbridgemethod.I [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/unreachableclass/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/unreachableclass/output_wasm/module.wat.txt index 306f82f110..d79f45a4dd 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/unreachableclass/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/unreachableclass/output_wasm/module.wat.txt @@ -112,24 +112,48 @@ ) ;;; Code for unreachableclass.Main [static fields] -(global $f_$initialized__unreachableclass_Main (mut i32) (i32.const 0)) -(global $f_$class__unreachableclass_Main (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unreachablec...|__unreachableclass_Main (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unreachableclass_Main (mut i32) + (i32.const 0) +) +(global $f_$class__unreachableclass_Main (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unreachablec...|__unreachableclass_Main (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unreachableclass.Main.1 [static fields] -(global $f_$initialized__unreachableclass_Main_1 (mut i32) (i32.const 0)) -(global $f_$class__unreachableclass_Main_1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unreachablec...|__unreachableclass_Main_1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unreachableclass_Main_1 (mut i32) + (i32.const 0) +) +(global $f_$class__unreachableclass_Main_1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unreachablec...|__unreachableclass_Main_1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unreachableclass.Main.1A.1B [static fields] -(global $f_$initialized__unreachableclass_Main_1A_1B (mut i32) (i32.const 0)) -(global $f_$class__unreachableclass_Main_1A_1B (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unreachablec...|__unreachableclass_Main_1A_1B (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unreachableclass_Main_1A_1B (mut i32) + (i32.const 0) +) +(global $f_$class__unreachableclass_Main_1A_1B (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unreachablec...|__unreachableclass_Main_1A_1B (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unreachableclass.Main.1A [static fields] -(global $f_$initialized__unreachableclass_Main_1A (mut i32) (i32.const 0)) -(global $f_$class__unreachableclass_Main_1A (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|unreachablec...|__unreachableclass_Main_1A (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__unreachableclass_Main_1A (mut i32) + (i32.const 0) +) +(global $f_$class__unreachableclass_Main_1A (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|unreachablec...|__unreachableclass_Main_1A (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for unreachableclass.Main [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/valueofnullable/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/valueofnullable/output_wasm/module.wat.txt index f216f98b51..50b4c9de06 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/valueofnullable/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/valueofnullable/output_wasm/module.wat.txt @@ -29,10 +29,18 @@ ) ;;; Code for valueofnullable.ValueOfNullable [static fields] -(global $f_$initialized__valueofnullable_ValueOfNullable (mut i32) (i32.const 0)) -(global $f_$class__valueofnullable_ValueOfNullable (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|b|__valueofnullable_ValueOfNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) -(global $f_$string_|valueofnulla...|__valueofnullable_ValueOfNullable (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__valueofnullable_ValueOfNullable (mut i32) + (i32.const 0) +) +(global $f_$class__valueofnullable_ValueOfNullable (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|b|__valueofnullable_ValueOfNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) +(global $f_$string_|valueofnulla...|__valueofnullable_ValueOfNullable (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for valueofnullable.ValueOfNullable [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/varargs/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/varargs/output_wasm/module.wat.txt index 54e1d3f3ce..1d81931934 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/varargs/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/varargs/output_wasm/module.wat.txt @@ -124,40 +124,67 @@ ) ;;; Code for varargs.Varargs.$LambdaImplementor$1 [itable.init] -(global $varargs.Varargs.FunctionalInterface.vtable@$varargs.Varargs.$LambdaImplementor$1 (ref $varargs.Varargs.FunctionalInterface.vtable) + +(global $varargs.Varargs.FunctionalInterface.vtable@$varargs.Varargs.$LambdaImplementor$1 (ref $varargs.Varargs.FunctionalInterface.vtable) (struct.new $varargs.Varargs.FunctionalInterface.vtable (ref.func $m_apply__arrayOf_java_lang_String__void@varargs.Varargs.$LambdaImplementor$1) ) +) +(global $varargs.Varargs.$LambdaImplementor$1.itable (ref $varargs.Varargs.$LambdaImplementor$1.itable) + (struct.new $varargs.Varargs.$LambdaImplementor$1.itable + (global.get $varargs.Varargs.FunctionalInterface.vtable@$varargs.Varargs.$LambdaImplementor$1) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) + (ref.null struct) ) -(global $varargs.Varargs.$LambdaImplementor$1.itable (ref $varargs.Varargs.$LambdaImplementor$1.itable) (struct.new $varargs.Varargs.$LambdaImplementor$1.itable - (global.get $varargs.Varargs.FunctionalInterface.vtable@$varargs.Varargs.$LambdaImplementor$1) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - (ref.null struct) - )) +) ;;; Code for varargs.Varargs [static fields] -(global $f_$initialized__varargs_Varargs (mut i32) (i32.const 0)) -(global $f_$class__varargs_Varargs (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|varargs.Varargs|__varargs_Varargs (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__varargs_Varargs (mut i32) + (i32.const 0) +) +(global $f_$class__varargs_Varargs (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|varargs.Varargs|__varargs_Varargs (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for varargs.Child [static fields] -(global $f_$initialized__varargs_Child (mut i32) (i32.const 0)) -(global $f_$class__varargs_Child (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|varargs.Child|__varargs_Child (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__varargs_Child (mut i32) + (i32.const 0) +) +(global $f_$class__varargs_Child (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|varargs.Child|__varargs_Child (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for varargs.Varargs.$LambdaImplementor$1 [static fields] -(global $f_$initialized__varargs_Varargs_$LambdaImplementor$1 (mut i32) (i32.const 0)) -(global $f_$class__varargs_Varargs_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|varargs.Vara...|__varargs_Varargs_$LambdaImplementor$1 (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__varargs_Varargs_$LambdaImplementor$1 (mut i32) + (i32.const 0) +) +(global $f_$class__varargs_Varargs_$LambdaImplementor$1 (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|varargs.Vara...|__varargs_Varargs_$LambdaImplementor$1 (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for varargs.Varargs.FunctionalInterface [static fields] -(global $f_$initialized__varargs_Varargs_FunctionalInterface (mut i32) (i32.const 0)) -(global $f_$class__varargs_Varargs_FunctionalInterface (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|varargs.Vara...|__varargs_Varargs_FunctionalInterface (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__varargs_Varargs_FunctionalInterface (mut i32) + (i32.const 0) +) +(global $f_$class__varargs_Varargs_FunctionalInterface (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|varargs.Vara...|__varargs_Varargs_FunctionalInterface (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for varargs.Varargs.FunctionalInterface [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/wasmentrypoints/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/wasmentrypoints/output_wasm/module.wat.txt index 8fbcbefc7c..3139ecaedb 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/wasmentrypoints/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/wasmentrypoints/output_wasm/module.wat.txt @@ -26,9 +26,15 @@ ) ;;; Code for wasmentrypoints.WasmEntryPoints [static fields] -(global $f_$initialized__wasmentrypoints_WasmEntryPoints (mut i32) (i32.const 0)) -(global $f_$class__wasmentrypoints_WasmEntryPoints (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|wasmentrypoi...|__wasmentrypoints_WasmEntryPoints (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__wasmentrypoints_WasmEntryPoints (mut i32) + (i32.const 0) +) +(global $f_$class__wasmentrypoints_WasmEntryPoints (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|wasmentrypoi...|__wasmentrypoints_WasmEntryPoints (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for wasmentrypoints.WasmEntryPoints [methods] diff --git a/transpiler/javatests/com/google/j2cl/readable/java/whilestatement/output_wasm/module.wat.txt b/transpiler/javatests/com/google/j2cl/readable/java/whilestatement/output_wasm/module.wat.txt index 86e35b3966..c48a3b4db3 100644 --- a/transpiler/javatests/com/google/j2cl/readable/java/whilestatement/output_wasm/module.wat.txt +++ b/transpiler/javatests/com/google/j2cl/readable/java/whilestatement/output_wasm/module.wat.txt @@ -28,9 +28,15 @@ ) ;;; Code for whilestatement.WhileStatement [static fields] -(global $f_$initialized__whilestatement_WhileStatement (mut i32) (i32.const 0)) -(global $f_$class__whilestatement_WhileStatement (mut (ref null $java.lang.Class)) (ref.null $java.lang.Class)) -(global $f_$string_|whilestateme...|__whilestatement_WhileStatement (mut (ref null $java.lang.String)) (ref.null $java.lang.String)) +(global $f_$initialized__whilestatement_WhileStatement (mut i32) + (i32.const 0) +) +(global $f_$class__whilestatement_WhileStatement (mut (ref null $java.lang.Class)) + (ref.null $java.lang.Class) +) +(global $f_$string_|whilestateme...|__whilestatement_WhileStatement (mut (ref null $java.lang.String)) + (ref.null $java.lang.String) +) ;;; Code for whilestatement.WhileStatement [methods]