py: Take out bitfield entries from their own structure.

Don't need to wrap bitfields in their own struct.  Compiler does the
correct thing without it.
This commit is contained in:
Damien George
2014-02-26 17:40:52 +00:00
parent 98fb8935bc
commit 510477557d
7 changed files with 22 additions and 38 deletions

View File

@@ -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;