aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/mpmtypes.h
diff options
context:
space:
mode:
authorRichard Brooksby2012-09-12 19:45:27 +0100
committerRichard Brooksby2012-09-12 19:45:27 +0100
commit513aabb046ca6417eea1355428d212e1f3a1573d (patch)
tree60b30213ec2e2b381f569fb4608f91e1abbdf227 /mps/code/mpmtypes.h
parent9248316fb65eeafb7749b3879b81459f87bd9f54 (diff)
downloademacs-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.h13
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;
242typedef struct TraceMessageStruct *TraceMessage; /* trace end */ 242typedef 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
249typedef Res (*FormatScanMethod)(mps_ss_t ss, Addr base, Addr limit);
250typedef Addr (*FormatSkipMethod)(Addr object);
251typedef void (*FormatMoveMethod)(Addr object, Addr to);
252typedef Addr (*FormatIsMovedMethod)(Addr object);
253typedef void (*FormatCopyMethod)(Addr object, Addr to);
254typedef void (*FormatPadMethod)(Addr base, Size size);
255typedef Addr (*FormatClassMethod)(Addr object);
256
257
258/* CONSTANTS */ 245/* CONSTANTS */
259 246
260 247