Skip to content

Commit

Permalink
#296 Test all variants of JEP 280 style string concatenations
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkosertic committed Dec 7, 2019
1 parent 3c11880 commit 225b47d
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,13 @@ private WASMValue methodTypeValue(final MethodTypeExpression aValue) {
f.i32.store(offset, getLocal(data, null), i32.c(-theNativeType.ordinal(), null), aValue);
} else {
// Positive number with the id of the class
final BytecodeLinkedClass theLinkedClass = linkerContext.resolveClass((BytecodeObjectTypeRef) aType);
f.i32.store(offset, getLocal(data, null), i32.c(theLinkedClass.getUniqueId(), null), aValue);
if (aType.isArray()) {
final BytecodeLinkedClass theLinkedClass = linkerContext.resolveClass(BytecodeObjectTypeRef.fromRuntimeClass(Array.class));
f.i32.store(offset, getLocal(data, null), i32.c(theLinkedClass.getUniqueId(), null), aValue);
} else {
final BytecodeLinkedClass theLinkedClass = linkerContext.resolveClass((BytecodeObjectTypeRef) aType);
f.i32.store(offset, getLocal(data, null), i32.c(theLinkedClass.getUniqueId(), null), aValue);
}
}
return null;
};
Expand Down

0 comments on commit 225b47d

Please sign in to comment.