diff options
| author | Richard Brooksby | 2012-09-07 12:58:57 +0100 |
|---|---|---|
| committer | Richard Brooksby | 2012-09-07 12:58:57 +0100 |
| commit | 78d5f049f0e60bd0c903bc331c253f681d082cea (patch) | |
| tree | 2313698d481513796220f50377bdd911fff16bad /mps/code/testlib.h | |
| parent | e17fee98ea221678f40bae915dd32c91ccc71922 (diff) | |
| download | emacs-78d5f049f0e60bd0c903bc331c253f681d082cea.tar.gz emacs-78d5f049f0e60bd0c903bc331c253f681d082cea.zip | |
Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface.
Now that we're recommending inlining with client code and optimising with -O2 or -O3, we can't afford any bug introduced by the strict aliasing rule.
Copied from Perforce
Change: 179322
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code/testlib.h')
| -rw-r--r-- | mps/code/testlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mps/code/testlib.h b/mps/code/testlib.h index d16f4fb6eef..2bcd50e7c18 100644 --- a/mps/code/testlib.h +++ b/mps/code/testlib.h | |||
| @@ -118,7 +118,7 @@ typedef long longest_t; | |||
| 118 | * argument on stderr and exits the program. Otherwise does nothing. | 118 | * argument on stderr and exits the program. Otherwise does nothing. |
| 119 | * | 119 | * |
| 120 | * Typical use: | 120 | * Typical use: |
| 121 | * die(mps_ap_create(&ap, pool, MPS_RANK_EXACT), "APCreate"); | 121 | * die(mps_ap_create(&ap, pool, mps_rank_exact()), "APCreate"); |
| 122 | */ | 122 | */ |
| 123 | 123 | ||
| 124 | extern void die(mps_res_t res, const char *s); | 124 | extern void die(mps_res_t res, const char *s); |