Skip to content

Commit

Permalink
Updates to work on latest NQP.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 11, 2013
1 parent 33c5e82 commit 978aeee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/vm/jvm/runtime/org/perl6/rakudo/Binder.java
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ private static SixModelObject handleOptional(ThreadContext tc, int flags, SixMod
}
else if ((flags & SIG_ELEM_HASH_SIGIL) != 0) {
SixModelObject res = Ops.Hash.st.REPR.allocate(tc, Ops.Hash.st);
res.initialize(tc);
return res;
}
else {
Expand Down Expand Up @@ -475,7 +474,6 @@ else if (i + 1 == numParams) {
else if ((flags & SIG_ELEM_SLURPY_NAMED) != 0) {
SixModelObject slurpy = vmHashOfRemainingNameds(tc, namedArgsCopy, args);
SixModelObject bindee = Ops.Hash.st.REPR.allocate(tc, Ops.Hash.st);
bindee.initialize(tc);
bindee.bind_attribute_boxed(tc, Ops.EnumMap, "$!storage",
HINT_ENUMMAP_storage, slurpy);
bindFail = bindOneParam(tc, cf, param, bindee, CallSiteDescriptor.ARG_OBJ,
Expand Down Expand Up @@ -612,7 +610,6 @@ private static SixModelObject vmHashOfRemainingNameds(ThreadContext tc, HashMap<
if (namedArgsCopy != null) {
SixModelObject BOOTHash = tc.gc.BOOTHash;
slurpy = BOOTHash.st.REPR.allocate(tc, BOOTHash.st);
slurpy.initialize(tc);
for (String name : namedArgsCopy.keySet()) {
int lookup = namedArgsCopy.get(name);
switch (lookup & 7) {
Expand Down
2 changes: 0 additions & 2 deletions src/vm/jvm/runtime/org/perl6/rakudo/Ops.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public static SixModelObject p6init(ThreadContext tc) {
tc.gc.contConfigs.put("rakudo_scalar", new RakudoContainerConfigurer());
SixModelObject BOOTArray = tc.gc.BOOTArray;
EMPTYARR = BOOTArray.st.REPR.allocate(tc, BOOTArray.st);
EMPTYARR.initialize(tc);
initialized = true;
}
return null;
Expand Down Expand Up @@ -265,7 +264,6 @@ public static long p6trialbind(SixModelObject routine, SixModelObject values, Si

public static SixModelObject p6parcel(SixModelObject array, SixModelObject fill, ThreadContext tc) {
SixModelObject parcel = Parcel.st.REPR.allocate(tc, Parcel.st);
parcel.initialize(tc);
parcel.bind_attribute_boxed(tc, Parcel, "$!storage", HINT_PARCEL_STORAGE, array);

if (fill != null) {
Expand Down

0 comments on commit 978aeee

Please sign in to comment.