summaryrefslogtreecommitdiff
path: root/py/runtime0.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-10-11 18:54:34 +1100
committerDamien George <damien.p.george@gmail.com>2017-10-11 18:54:34 +1100
commita3afa8cfc46913f471d5eb55da4ae22dee92c25f (patch)
tree09296c9dcd31d6e28ae48e46cce9f08de9123f2d /py/runtime0.h
parent1b7d6a795149588eb44c1b33dd7c34fe6669460a (diff)
py/emitnative: Implement floor-division and modulo for viper emitter.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r--py/runtime0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/runtime0.h b/py/runtime0.h
index 3edd8918b..a72b7feb7 100644
--- a/py/runtime0.h
+++ b/py/runtime0.h
@@ -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;