Skip to content

Commit

Permalink
[truffle] Fix ops definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Jul 16, 2018
1 parent db0fe7f commit 2652a4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/jvm/Truffle.nqp
Expand Up @@ -182,8 +182,8 @@ class QAST::OperationsTruffle {
TAST.new($OBJ, @tree);
});

add_simple_op('atkey' ~ $suffix, $type, [$OBJ, $INT]);
add_simple_op('bindpos' ~ $suffix, $type, [$OBJ, $INT]);
add_simple_op('atpos' ~ $suffix, $type, [$OBJ, $INT]);
add_simple_op('bindpos' ~ $suffix, $type, [$OBJ, $INT, $OBJ]);

add_simple_op('atkey' ~ $suffix, $type, [$OBJ, $STR]);
add_simple_op('bindkey' ~ $suffix, $type, [$OBJ, $STR, $type], :side_effects);
Expand Down

0 comments on commit 2652a4a

Please sign in to comment.