Skip to content
Snippets Groups Projects
Commit 905723b2 authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 1999-04-28 12:59:51 by sewardj]

Nano-fixes to make it work on sparc-solaris.
parent e797eb4c
No related merge requests found
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
* Copyright (c) 1994-1998. * Copyright (c) 1994-1998.
* *
* $RCSfile: Evaluator.c,v $ * $RCSfile: Evaluator.c,v $
* $Revision: 1.14 $ * $Revision: 1.15 $
* $Date: 1999/04/27 14:07:55 $ * $Date: 1999/04/28 12:59:51 $
* ---------------------------------------------------------------------------*/ * ---------------------------------------------------------------------------*/
#include "Rts.h" #include "Rts.h"
...@@ -490,7 +490,7 @@ StgThreadReturnCode enter( StgClosure* obj0 ) ...@@ -490,7 +490,7 @@ StgThreadReturnCode enter( StgClosure* obj0 )
/* Start of the bytecode evaluator */ /* Start of the bytecode evaluator */
/* ---------------------------------------------------- */ /* ---------------------------------------------------- */
{ {
# if !DEBUG && USE_GCC_LABELS # if USE_GCC_LABELS
# define Ins(x) &&l##x # define Ins(x) &&l##x
static void *labs[] = { INSTRLIST }; static void *labs[] = { INSTRLIST };
# undef Ins # undef Ins
...@@ -532,11 +532,11 @@ StgThreadReturnCode enter( StgClosure* obj0 ) ...@@ -532,11 +532,11 @@ StgThreadReturnCode enter( StgClosure* obj0 )
fprintf(stderr,"Sp = %p\tSu = %p\tpc = %d\t", xSp, xSu, PC); fprintf(stderr,"Sp = %p\tSu = %p\tpc = %d\t", xSp, xSu, PC);
SSS; SSS;
disInstr(bco,PC); disInstr(bco,PC);
//{ int i; { int i;
//fprintf(stderr,"\n"); fprintf(stderr,"\n");
// for (i = 4; i >= 0; i--) for (i = 8; i >= 0; i--)
// fprintf(stderr, "%d %p\n", i, (StgPtr)(*(Sp+i))); fprintf(stderr, "%d %p\n", i, (StgPtr)(*(Sp+i)));
// } }
fprintf(stderr,"\n"); fprintf(stderr,"\n");
LLL; LLL;
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment