Skip to content

Commit

Permalink
[js] Add op signatures for ops that will the runtime implementation f…
Browse files Browse the repository at this point in the history
…illed in later
  • Loading branch information
pmurias committed Jul 11, 2017
1 parent f2da96e commit deae523
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vm/js/Operations.nqp
Expand Up @@ -1694,6 +1694,12 @@ class QAST::OperationsJS {
add_simple_op('semtryacquire', $T_INT, [$T_OBJ], :side_effects);
add_simple_op('semrelease', $T_OBJ, [$T_OBJ], :side_effects);

add_simple_op('unipropcode', $T_INT, [$T_STR]);
add_simple_op('getuniprop_str', $T_STR, [$T_INT, $T_INT]);
add_simple_op('getuniprop_bool', $T_INT, [$T_INT, $T_INT]);
add_simple_op('getuniprop_int', $T_INT, [$T_INT, $T_INT]);
add_simple_op('matchuniprop', $T_INT, [$T_INT, $T_INT, $T_INT]);
add_simple_op('unipvalcode', $T_INT, [$T_INT, $T_STR]);
add_simple_op('getuniname', $T_STR, [$T_INT]);
}

0 comments on commit deae523

Please sign in to comment.