From 179962bb9ccc5007888fe777ec6e62d455a286e6 Mon Sep 17 00:00:00 2001 From: Richard Kistruck Date: Wed, 17 Dec 2008 17:27:01 +0000 Subject: [PATCH] Mps br/timing traceanc.c: timca_remote: undo testing-only additions to TraceIdMessagesCreate. Copied from Perforce Change: 166960 ServerID: perforce.ravenbrook.com --- mps/code/traceanc.c | 5 ----- mps/code/z001989a.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/mps/code/traceanc.c b/mps/code/traceanc.c index 21c6d146c8e..a05ea9d7140 100644 --- a/mps/code/traceanc.c +++ b/mps/code/traceanc.c @@ -456,11 +456,6 @@ Bool TraceIdMessagesCheck(Arena arena, TraceId ti) * See . */ -/* 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; diff --git a/mps/code/z001989a.c b/mps/code/z001989a.c index f20625b5043..883822ee887 100644 --- a/mps/code/z001989a.c +++ b/mps/code/z001989a.c @@ -513,7 +513,7 @@ int main(int argc, char **argv) * * See . */ - if(1) { + if(0) { /* ArenaCreate unable to pre-allocate: THESE SHOULD FAIL */ /* manually edit if(0) -> if(1) to test these */ if(0) {