From 3648884490953f52e749f1725b5e1d486d4cbcc6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 11 Apr 1997 19:14:07 +0000 Subject: (Jack:) Align mapping entries to 4-words if USE_CACHE_ALIGNED is defined. --- Objects/dictobject.c | 3 +++ Objects/mappingobject.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Objects/dictobject.c b/Objects/dictobject.c index cd915e9..39c2fc9 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -97,6 +97,9 @@ typedef struct { long me_hash; object *me_key; object *me_value; +#ifdef USE_CACHE_ALIGNED + long aligner; +#endif } mappingentry; /* diff --git a/Objects/mappingobject.c b/Objects/mappingobject.c index cd915e9..39c2fc9 100644 --- a/Objects/mappingobject.c +++ b/Objects/mappingobject.c @@ -97,6 +97,9 @@ typedef struct { long me_hash; object *me_key; object *me_value; +#ifdef USE_CACHE_ALIGNED + long aligner; +#endif } mappingentry; /* -- cgit v0.12