summaryrefslogtreecommitdiffstatshomepage
path: root/py/runtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/runtime.c')
-rw-r--r--py/runtime.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 20bfa0b20f..b9caf04570 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -45,14 +45,10 @@ typedef enum {
} mp_code_kind_t;
typedef struct _mp_code_t {
- struct {
- mp_code_kind_t kind : 8;
- uint scope_flags : 8;
- };
- struct {
- uint n_args : 16;
- uint n_state : 16;
- };
+ mp_code_kind_t kind : 8;
+ uint scope_flags : 8;
+ uint n_args : 16;
+ uint n_state : 16;
union {
struct {
byte *code;