Added new opcodes sfall_func7 and sfall_func8

This commit is contained in:
NovaRain
2020-12-22 17:01:46 +08:00
parent 6218344211
commit fddeb72e9d
4 changed files with 10 additions and 1 deletions
+3
View File
@@ -806,6 +806,9 @@ COpcode::CF2OpcodeAttributesMap::CF2OpcodeAttributesMap()
SetAt(O_TS_REG_ANIM_CALLBACK, COpcodeAttributes("O_TS_REG_ANIM_CALLBACK", "reg_anim_callback", 1, COpcodeAttributes::TYPE_STATEMENT, COpcodeAttributes::CATEGORY_PREFIX, &procArgs[0], 1));
// sfall 4.2.3/3.8.23
SetAt(O_TS_DIV, COpcodeAttributes("O_TS_DIV", "div", 2, expression, infix)); // the operator for unsigned division
// sfall 4.2.9/3.8.29
SetAt(O_TS_SFALL_METARULE7, COpcodeAttributes("O_TS_SFALL_METARULE7", "sfall_func7", 8, expression));
SetAt(O_TS_SFALL_METARULE8, COpcodeAttributes("O_TS_SFALL_METARULE8", "sfall_func8", 9, expression));
// sfall end
SetAt(O_STRINGOP, COpcodeAttributes("O_STRINGOP", "", 0, expression));