Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Binary/StdMem.p.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define FN_NHC_46Binary_46hs_95stdmem	((void*)startLabel+8)
#define CT_v185	((void*)startLabel+32)
#define CF_NHC_46Binary_46hs_95stdmem	((void*)startLabel+40)
#define CT_v188	((void*)startLabel+88)
#define PP_NHC_46Binary_46hs_95stdmem	((void*)startLabel+120)
#define PC_NHC_46Binary_46hs_95stdmem	((void*)startLabel+120)
#define ST_v184	((void*)startLabel+120)
#define ST_v187	((void*)startLabel+144)
#define PS_v183	((void*)startLabel+164)
#define PS_v186	((void*)startLabel+176)
void FR_NHC_46Binary_46hs_95stdmem(void);
extern Node PM_NHC_46Binary[];

static Node startLabel[] = {
  bytes2word(0,0,0,0)
, useLabel(CT_v185)
,	/* FN_NHC_46Binary_46hs_95stdmem: (byte 0) */
  bytes2word(PRIMITIVE,NOP,NOP,NOP)
, useLabel(FR_NHC_46Binary_46hs_95stdmem)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 90001
, useLabel(ST_v184)
,	/* CT_v185: (byte 0) */
  HW(0,0)
, 0
,	/* CF_NHC_46Binary_46hs_95stdmem: (byte 0) */
  VAPTAG(useLabel(FN_NHC_46Binary_46hs_95stdmem))
, useLabel(PS_v183)
, 0
, 0
, 0
, bytes2word(0,0,0,0)
, useLabel(CT_v188)
,};
Node FN_NHC_46Binary_46stdmem[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(PUSH_P1,0,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 120001
, useLabel(ST_v187)
,	/* CT_v188: (byte 0) */
  HW(1,0)
, 0
,};
Node CF_NHC_46Binary_46stdmem[] = {
  VAPTAG(useLabel(FN_NHC_46Binary_46stdmem))
, useLabel(PS_v186)
, 0
, 0
, 0
, useLabel(CF_NHC_46Binary_46hs_95stdmem)
,	/* PP_NHC_46Binary_46hs_95stdmem: (byte 0) */
 	/* PC_NHC_46Binary_46hs_95stdmem: (byte 0) */
 	/* ST_v184: (byte 0) */
  bytes2word(78,72,67,46)
, bytes2word(66,105,110,97)
, bytes2word(114,121,46,104)
, bytes2word(115,95,115,116)
, bytes2word(100,109,101,109)
, bytes2word(0,0,0,0)
,};
Node PP_NHC_46Binary_46stdmem[] = {
 };
Node PC_NHC_46Binary_46stdmem[] = {
 	/* ST_v187: (byte 0) */
  bytes2word(78,72,67,46)
, bytes2word(66,105,110,97)
, bytes2word(114,121,46,115)
, bytes2word(116,100,109,101)
, bytes2word(109,0,0,0)
,	/* PS_v183: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46hs_95stdmem)
, useLabel(PC_NHC_46Binary_46hs_95stdmem)
,	/* PS_v186: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46stdmem)
, useLabel(PC_NHC_46Binary_46stdmem)
,};

#include <haskell2c.h>
#include <HsFFI.h>

/* foreign import ccall "hs_stdmem" NHC.Binary.hs_stdmem 0 ::  -> FFI.ForeignObj */
extern void* hs_stdmem();
#ifdef PROFILE
static SInfo pf_NHC_46Binary_46hs_95stdmem = {"NHC.Binary","NHC.Binary.hs_stdmem","FFI.ForeignObj"};
#endif
C_HEADER(FR_NHC_46Binary_46hs_95stdmem) {
  NodePtr nodeptr;
  void* result;
;

  result = hs_stdmem();

  nodeptr = result;
  INIT_PROFINFO(nodeptr,&pf_NHC_46Binary_46hs_95stdmem);
  C_RETURN(nodeptr);
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].