diff options
| author | Richard Brooksby | 2012-09-12 19:45:27 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2012-09-12 19:45:27 +0100 |
| commit | 513aabb046ca6417eea1355428d212e1f3a1573d (patch) | |
| tree | 60b30213ec2e2b381f569fb4608f91e1abbdf227 /mps/code/mpmtypes.h | |
| parent | 9248316fb65eeafb7749b3879b81459f87bd9f54 (diff) | |
| download | emacs-513aabb046ca6417eea1355428d212e1f3a1573d.tar.gz emacs-513aabb046ca6417eea1355428d212e1f3a1573d.zip | |
Further elimination of type puns that violate the strict aliasing rule. this change eliminates puns on the format methods.
Copied from Perforce
Change: 179452
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/mpmtypes.h')
| -rw-r--r-- | mps/code/mpmtypes.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/mps/code/mpmtypes.h b/mps/code/mpmtypes.h index 12d23e39989..890522b804e 100644 --- a/mps/code/mpmtypes.h +++ b/mps/code/mpmtypes.h | |||
| @@ -242,19 +242,6 @@ typedef struct TraceStartMessageStruct *TraceStartMessage; | |||
| 242 | typedef struct TraceMessageStruct *TraceMessage; /* trace end */ | 242 | typedef struct TraceMessageStruct *TraceMessage; /* trace end */ |
| 243 | 243 | ||
| 244 | 244 | ||
| 245 | /* Format*Method -- see design.mps.format-interface */ | ||
| 246 | /* .fmt-methods: These methods must match those defined in the */ | ||
| 247 | /* MPS C Interface. (See <code/mps.h#fmt-methods>.) */ | ||
| 248 | |||
| 249 | typedef Res (*FormatScanMethod)(mps_ss_t ss, Addr base, Addr limit); | ||
| 250 | typedef Addr (*FormatSkipMethod)(Addr object); | ||
| 251 | typedef void (*FormatMoveMethod)(Addr object, Addr to); | ||
| 252 | typedef Addr (*FormatIsMovedMethod)(Addr object); | ||
| 253 | typedef void (*FormatCopyMethod)(Addr object, Addr to); | ||
| 254 | typedef void (*FormatPadMethod)(Addr base, Size size); | ||
| 255 | typedef Addr (*FormatClassMethod)(Addr object); | ||
| 256 | |||
| 257 | |||
| 258 | /* CONSTANTS */ | 245 | /* CONSTANTS */ |
| 259 | 246 | ||
| 260 | 247 | ||