Skip to content

Commit

Permalink
[jvm] Pass value to X::Assignment::RO
Browse files Browse the repository at this point in the history
With 0c16bb2 the argument for calling X::Assignment::RO was changed
from typename to value. The code for the JVM backend hasn't been updated
to reflect that change, yet.
  • Loading branch information
usev6 committed Dec 4, 2017
1 parent e5b49ce commit 928ada0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/jvm/runtime/org/perl6/rakudo/RakOps.java
Expand Up @@ -319,7 +319,7 @@ public static long p6isbindable(SixModelObject sig, SixModelObject cap, ThreadCo
private static final CallSiteDescriptor STORE = new CallSiteDescriptor(
new byte[] { CallSiteDescriptor.ARG_OBJ, CallSiteDescriptor.ARG_OBJ }, null);
private static final CallSiteDescriptor storeThrower = new CallSiteDescriptor(
new byte[] { CallSiteDescriptor.ARG_STR }, null);
new byte[] { CallSiteDescriptor.ARG_OBJ }, null);
public static SixModelObject p6store(SixModelObject cont, SixModelObject value, ThreadContext tc) {
ContainerSpec spec = cont.st.ContainerSpec;
if (spec != null) {
Expand All @@ -337,7 +337,7 @@ public static SixModelObject p6store(SixModelObject cont, SixModelObject value,
ExceptionHandling.dieInternal(tc, "Cannot assign to a non-container");
else
Ops.invokeDirect(tc, thrower,
storeThrower, new Object[] { Ops.typeName(cont, tc) });
storeThrower, new Object[] { cont });
}
}
return cont;
Expand Down

0 comments on commit 928ada0

Please sign in to comment.