Commit b59499c9 authored by Michael Arntzenius's avatar Michael Arntzenius

add comments on code that needs to be changed for libgcc 4.9

parent 1c3806b1
...@@ -94,7 +94,8 @@ struct _dictobject { ...@@ -94,7 +94,8 @@ struct _dictobject {
#endif #endif
typedef struct { typedef struct {
PyObject_HEAD; PyObject_HEAD;
char _filler[48]; char _filler[48]; // gcc 4.8
// char _filler[56]; // gcc 4.9
} PyDictObject; } PyDictObject;
// Pyston change: these are no longer static objects: // Pyston change: these are no longer static objects:
......
...@@ -454,7 +454,9 @@ struct _typeobject { ...@@ -454,7 +454,9 @@ struct _typeobject {
void* _hcls; void* _hcls;
void* _hcattrs; void* _hcattrs;
char _dep_getattrs[56]; // FIXME: this is hardcoding the size of this particular implementation of std::unordered_map // FIXME: this is hardcoding the size of this particular implementation of std::unordered_map
char _dep_getattrs[56]; // gcc 4.8
// char _dep_getattrs[64]; // gcc 4.9
char _ics[32]; char _ics[32];
void* _gcvisit_func; void* _gcvisit_func;
void* _dtor; void* _dtor;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment