Commit c7ce56fd authored by simonmar's avatar simonmar

[project @ 2004-09-02 12:45:25 by simonmar]

Rearrange so that Regs.h include comes before inline function
definitions.  I'm guessing that newer versions of gcc are less picky
about this, which is why we hadn't noticed it.
parent 9b588c57
/* -----------------------------------------------------------------------------
* $Id: Stg.h,v 1.63 2004/08/13 13:09:30 simonmar Exp $
* $Id: Stg.h,v 1.64 2004/09/02 12:45:25 simonmar Exp $
*
* (c) The GHC Team, 1998-2004
*
......@@ -125,6 +125,26 @@ typedef StgWord StgWordArray[];
#include "TailCalls.h"
/* -----------------------------------------------------------------------------
Other Stg stuff...
-------------------------------------------------------------------------- */
#include "StgDLL.h"
#include "MachRegs.h"
#include "Regs.h"
#include "StgProf.h" /* ToDo: separate out RTS-only stuff from here */
#if IN_STG_CODE
/*
* This is included later for RTS sources, after definitions of
* StgInfoTable, StgClosure and so on.
*/
#include "StgMiscClosures.h"
#endif
/* RTS external interface */
#include "RtsExternal.h"
/* -----------------------------------------------------------------------------
Moving Floats and Doubles
......@@ -318,26 +338,6 @@ INLINE_HEADER StgInt64 PK_Int64(W_ p_src[])
#endif
/* -----------------------------------------------------------------------------
Other Stg stuff...
-------------------------------------------------------------------------- */
#include "StgDLL.h"
#include "MachRegs.h"
#include "Regs.h"
#include "StgProf.h" /* ToDo: separate out RTS-only stuff from here */
#if IN_STG_CODE
/*
* This is included later for RTS sources, after definitions of
* StgInfoTable, StgClosure and so on.
*/
#include "StgMiscClosures.h"
#endif
/* RTS external interface */
#include "RtsExternal.h"
/* -----------------------------------------------------------------------------
Split markers
-------------------------------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment