1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 20:30:32 -08:00

Mps br/timing traceanc.c: timca_remote: undo testing-only additions

to TraceIdMessagesCreate.

Copied from Perforce
 Change: 166960
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Kistruck 2008-12-17 17:27:01 +00:00
parent eb1cca20e4
commit 179962bb9c
2 changed files with 1 additions and 6 deletions

View file

@ -456,11 +456,6 @@ Bool TraceIdMessagesCheck(Arena arena, TraceId ti)
* See <design/message-gc/#lifecycle>.
*/
/* Remote control ControlAlloc to simulate low memory, for testing. */
/* See TIMCA_remote() in z001989a.c */
#define ControlAlloc !TIMCA_remote() ? ResFAIL : ControlAlloc
extern Bool TIMCA_remote(void);
Res TraceIdMessagesCreate(Arena arena, TraceId ti)
{
void *p;

View file

@ -513,7 +513,7 @@ int main(int argc, char **argv)
*
* See <design/message-gc#lifecycle>.
*/
if(1) {
if(0) {
/* ArenaCreate unable to pre-allocate: THESE SHOULD FAIL */
/* manually edit if(0) -> if(1) to test these */
if(0) {