py/emitnative: Implement floor-division and modulo for viper emitter.

This commit is contained in:
Damien George
2017-10-11 18:54:34 +11:00
parent 1b7d6a7951
commit a3afa8cfc4
5 changed files with 67 additions and 0 deletions

View File

@@ -185,6 +185,8 @@ typedef enum {
MP_F_NEW_CELL,
MP_F_MAKE_CLOSURE_FROM_RAW_CODE,
MP_F_SETUP_CODE_STATE,
MP_F_SMALL_INT_FLOOR_DIVIDE,
MP_F_SMALL_INT_MODULO,
MP_F_NUMBER_OF,
} mp_fun_kind_t;