Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Implement wval (SC object lookup) op.
Of course, no deserialization yet, so it won't find anything.
  • Loading branch information
jnthn committed Jan 18, 2013
1 parent 248a860 commit 54f66d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/org/perl6/nqp/runtime/Ops.java
Expand Up @@ -1040,6 +1040,9 @@ public static String sha1(String str) throws NoSuchAlgorithmException, Unsupport
}
return sb.toString();
}
public static SixModelObject wval(String sc, long idx, ThreadContext tc) {
return tc.gc.scs.get(sc).root_objects.get((int)idx);
}

/* bitwise operations. */
public static long bitor_i(long valA, long valB) {
Expand Down

0 comments on commit 54f66d9

Please sign in to comment.