Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stub HLL mapping stuff.
Needs properly implementing.
  • Loading branch information
jnthn committed May 10, 2013
1 parent 2ec1cce commit 9c87ea8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/vm/jvm/runtime/org/perl6/nqp/runtime/Ops.java
Expand Up @@ -3146,6 +3146,20 @@ public static SixModelObject settypehllrole(SixModelObject type, long role, Thre
type.st.hllRole = role;
return type;
}
public static SixModelObject hllize(SixModelObject obj, ThreadContext tc) {
HLLConfig wanted = tc.curFrame.codeRef.staticInfo.compUnit.hllConfig;
if (obj.st.hllOwner == wanted)
return obj;
System.err.println("Warning: HLL mapping NYI");
return obj;
}
public static SixModelObject hllize(SixModelObject obj, String language, ThreadContext tc) {
HLLConfig wanted = tc.gc.getHLLConfigFor(language);
if (obj.st.hllOwner == wanted)
return obj;
System.err.println("Warning: HLL mapping NYI");
return obj;
}

/* NFA operations. */
public static SixModelObject nfafromstatelist(SixModelObject states, SixModelObject nfaType, ThreadContext tc) {
Expand Down

0 comments on commit 9c87ea8

Please sign in to comment.