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:
parent
eb1cca20e4
commit
179962bb9c
2 changed files with 1 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue