Skip to content

Commit

Permalink
Implement nqp::p6stateinit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 21, 2013
1 parent e742323 commit 36f36de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/jvm/runtime/org/perl6/rakudo/Ops.java
Expand Up @@ -548,4 +548,8 @@ public int compare(SixModelObject a, SixModelObject b) {
indices.bind_pos_boxed(tc, i, sortable[i]);
return indices;
}

public static long p6stateinit(ThreadContext tc) {
return tc.curFrame.stateInit ? 1 : 0;
}
}

0 comments on commit 36f36de

Please sign in to comment.