Skip to content

Commit

Permalink
[truffle] Add recently implemented ops
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterDuke17 committed Jul 10, 2018
1 parent 1ea2c67 commit fe01241
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vm/jvm/Truffle.nqp
Expand Up @@ -227,6 +227,11 @@ class QAST::OperationsTruffle {
add_simple_op('chr', $STR, [$INT]);
add_simple_op('codepointfromname', $INT, [$STR]);
add_simple_op('strfromname', $STR, [$STR]);
add_simple_op('escape', $STR, [$STR]);
add_simple_op('flip', $STR, [$STR]);
add_simple_op('findcclass', $INT, [$INT, $STR, $INT, $INT]);
add_simple_op('findnotcclass', $INT, [$INT, $STR, $INT, $INT]);
add_simple_op('iscclass', $INT, [$INT, $STR, $INT]);

for <postinc postdec> -> $op {
add_op($op, sub ($comp, $node, :$want) {
Expand Down

0 comments on commit fe01241

Please sign in to comment.