Skip to content

Commit deae523

Browse files
committed
[js] Add op signatures for ops that will the runtime implementation filled in later
1 parent f2da96e commit deae523

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/vm/js/Operations.nqp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,12 @@ class QAST::OperationsJS {
16941694
add_simple_op('semtryacquire', $T_INT, [$T_OBJ], :side_effects);
16951695
add_simple_op('semrelease', $T_OBJ, [$T_OBJ], :side_effects);
16961696

1697+
add_simple_op('unipropcode', $T_INT, [$T_STR]);
1698+
add_simple_op('getuniprop_str', $T_STR, [$T_INT, $T_INT]);
1699+
add_simple_op('getuniprop_bool', $T_INT, [$T_INT, $T_INT]);
1700+
add_simple_op('getuniprop_int', $T_INT, [$T_INT, $T_INT]);
1701+
add_simple_op('matchuniprop', $T_INT, [$T_INT, $T_INT, $T_INT]);
1702+
add_simple_op('unipvalcode', $T_INT, [$T_INT, $T_STR]);
16971703
add_simple_op('getuniname', $T_STR, [$T_INT]);
16981704
}
16991705

0 commit comments

Comments
 (0)