Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[truffle] Stub things up for deserialization
More deserialization will be filled in later
- Loading branch information
Showing
16 changed files
with
1,287 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/vm/jvm/runtime/org/perl6/nqp/truffle/nodes/NQPBValNode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.perl6.nqp.truffle.nodes.expression; | ||
import com.oracle.truffle.api.frame.VirtualFrame; | ||
import com.oracle.truffle.api.nodes.NodeInfo; | ||
import org.perl6.nqp.truffle.nodes.NQPNode; | ||
import org.perl6.nqp.truffle.nodes.NQPObjNode; | ||
import org.perl6.nqp.dsl.Deserializer; | ||
|
||
@NodeInfo(shortName = "BVal") | ||
public final class NQPBValNode extends NQPObjNode { | ||
final String cuid; | ||
|
||
@Deserializer | ||
public NQPBValNode(String cuid) { | ||
this.cuid = cuid; | ||
} | ||
|
||
@Override | ||
public Object execute(VirtualFrame frame) { | ||
//return bval(argNode.executeStr(frame)); | ||
System.out.println("BVal NYI"); | ||
return org.perl6.nqp.truffle.runtime.NQPNull.SINGLETON; | ||
} | ||
} |
Oops, something went wrong.