Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Binary/FreezeBin.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_95freezeBin_35	((void*)startLabel+8)
#define CT_v201	((void*)startLabel+32)
#define F0_NHC_46Binary_46hs_95freezeBin_35	((void*)startLabel+40)
#define FN_NHC_46Binary_46hs_95freezeBin	((void*)startLabel+68)
#define CT_v205	((void*)startLabel+120)
#define CF_NHC_46Binary_46hs_95freezeBin	((void*)startLabel+128)
#define CT_v212	((void*)startLabel+296)
#define FN_LAMBDA197	((void*)startLabel+348)
#define CT_v216	((void*)startLabel+400)
#define F0_LAMBDA197	((void*)startLabel+408)
#define ST_v207	((void*)startLabel+432)
#define PP_LAMBDA197	((void*)startLabel+453)
#define PC_LAMBDA197	((void*)startLabel+453)
#define ST_v214	((void*)startLabel+453)
#define PP_NHC_46Binary_46hs_95freezeBin	((void*)startLabel+486)
#define PC_NHC_46Binary_46hs_95freezeBin	((void*)startLabel+486)
#define ST_v203	((void*)startLabel+486)
#define PP_NHC_46Binary_46hs_95freezeBin_35	((void*)startLabel+510)
#define PC_NHC_46Binary_46hs_95freezeBin_35	((void*)startLabel+510)
#define ST_v200	((void*)startLabel+510)
#define PS_v204	((void*)startLabel+536)
#define PS_v202	((void*)startLabel+548)
#define PS_v209	((void*)startLabel+560)
#define PS_v208	((void*)startLabel+572)
#define PS_v206	((void*)startLabel+584)
#define PS_v211	((void*)startLabel+596)
#define PS_v210	((void*)startLabel+608)
#define PS_v199	((void*)startLabel+620)
#define PS_v215	((void*)startLabel+632)
#define PS_v213	((void*)startLabel+644)
void FR_NHC_46Binary_46hs_95freezeBin_35(void);
extern Node FN_NHC_46Internal_46_95mkIOok1[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46return[];
extern Node PM_NHC_46Binary[];
extern Node PC_NHC_46Internal_46_95mkIOok1[];
extern Node PC_NHC_46Internal_46_95apply1[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node PC_Prelude_46Monad_46NHC_46Internal_46IO_46return[];

static Node startLabel[] = {
  bytes2word(1,0,0,1)
, useLabel(CT_v201)
,	/* FN_NHC_46Binary_46hs_95freezeBin_35: (byte 0) */
  bytes2word(PUSH_ARG_I1,EVAL,POP_I1,PRIMITIVE)
, useLabel(FR_NHC_46Binary_46hs_95freezeBin_35)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 90001
, useLabel(ST_v200)
,	/* CT_v201: (byte 0) */
  HW(0,1)
, 0
,	/* F0_NHC_46Binary_46hs_95freezeBin_35: (byte 0) */
  CAPTAG(useLabel(FN_NHC_46Binary_46hs_95freezeBin_35),1)
, useLabel(PS_v199)
, 0
, 0
, 0
, bytes2word(0,0,0,0)
, useLabel(CT_v205)
,	/* FN_NHC_46Binary_46hs_95freezeBin: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_CVAL_P1,8,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v204)
, 0
, 0
, 0
, 0
, 90001
, useLabel(ST_v203)
,	/* CT_v205: (byte 0) */
  HW(2,0)
, 0
,	/* CF_NHC_46Binary_46hs_95freezeBin: (byte 0) */
  VAPTAG(useLabel(FN_NHC_46Binary_46hs_95freezeBin))
, useLabel(PS_v202)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_NHC_46Internal_46_95mkIOok1))
, useLabel(F0_NHC_46Binary_46hs_95freezeBin_35)
, bytes2word(1,0,0,1)
, useLabel(CT_v212)
,};
Node FN_NHC_46Binary_46freezeBin[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_P1,7,HEAP_CVAL_N1)
, bytes2word(7,HEAP_CREATE,HEAP_SPACE,HEAP_SPACE)
, bytes2word(HEAP_CVAL_P1,8,HEAP_CVAL_N1,12)
, bytes2word(HEAP_CREATE,HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1)
, bytes2word(10,HEAP_ARG,1,HEAP_CVAL_P1)
, bytes2word(9,HEAP_CVAL_N1,17,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(10,HEAP_CVAL_N1,22,HEAP_CREATE)
, bytes2word(HEAP_SPACE,HEAP_SPACE,HEAP_OFF_N1,17)
, bytes2word(HEAP_OFF_N1,11,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, useLabel(PS_v211)
, 0
, 0
, 0
, 0
, useLabel(PS_v210)
, 0
, 0
, 0
, 0
, useLabel(PS_v209)
, 0
, 0
, 0
, 0
, useLabel(PS_v208)
, 0
, 0
, 0
, 0
, 120001
, useLabel(ST_v207)
,	/* CT_v212: (byte 0) */
  HW(4,1)
, 0
,};
Node F0_NHC_46Binary_46freezeBin[] = {
  CAPTAG(useLabel(FN_NHC_46Binary_46freezeBin),1)
, useLabel(PS_v206)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_NHC_46Binary_46hs_95freezeBin))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, CAPTAG(useLabel(FN_LAMBDA197),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, bytes2word(1,0,0,1)
, useLabel(CT_v216)
,	/* FN_LAMBDA197: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_P1,7)
, bytes2word(HEAP_CVAL_N1,7,HEAP_CREATE,HEAP_SPACE)
, bytes2word(HEAP_SPACE,HEAP_ARG,1,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 0
, useLabel(PS_v215)
, 0
, 0
, 0
, 0
, 130014
, useLabel(ST_v214)
,	/* CT_v216: (byte 0) */
  HW(1,1)
, 0
,	/* F0_LAMBDA197: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA197),1)
, useLabel(PS_v213)
, 0
, 0
, 0
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
,};
Node PP_NHC_46Binary_46freezeBin[] = {
 };
Node PC_NHC_46Binary_46freezeBin[] = {
 	/* ST_v207: (byte 0) */
  bytes2word(78,72,67,46)
, bytes2word(66,105,110,97)
, bytes2word(114,121,46,102)
, bytes2word(114,101,101,122)
, bytes2word(101,66,105,110)
,	/* PP_LAMBDA197: (byte 1) */
 	/* PC_LAMBDA197: (byte 1) */
 	/* ST_v214: (byte 1) */
  bytes2word(0,78,72,67)
, bytes2word(46,66,105,110)
, bytes2word(97,114,121,46)
, bytes2word(102,114,101,101)
, bytes2word(122,101,66,105)
, bytes2word(110,58,49,51)
, bytes2word(58,49,52,45)
, bytes2word(49,51,58,50)
,	/* PP_NHC_46Binary_46hs_95freezeBin: (byte 2) */
 	/* PC_NHC_46Binary_46hs_95freezeBin: (byte 2) */
 	/* ST_v203: (byte 2) */
  bytes2word(56,0,78,72)
, bytes2word(67,46,66,105)
, bytes2word(110,97,114,121)
, bytes2word(46,104,115,95)
, bytes2word(102,114,101,101)
, bytes2word(122,101,66,105)
,	/* PP_NHC_46Binary_46hs_95freezeBin_35: (byte 2) */
 	/* PC_NHC_46Binary_46hs_95freezeBin_35: (byte 2) */
 	/* ST_v200: (byte 2) */
  bytes2word(110,0,78,72)
, bytes2word(67,46,66,105)
, bytes2word(110,97,114,121)
, bytes2word(46,104,115,95)
, bytes2word(102,114,101,101)
, bytes2word(122,101,66,105)
, bytes2word(110,35,0,0)
,	/* PS_v204: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46hs_95freezeBin)
, useLabel(PC_NHC_46Internal_46_95mkIOok1)
,	/* PS_v202: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46hs_95freezeBin)
, useLabel(PC_NHC_46Binary_46hs_95freezeBin)
,	/* PS_v209: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46freezeBin)
, useLabel(PC_NHC_46Internal_46_95apply1)
,	/* PS_v208: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46freezeBin)
, useLabel(PC_NHC_46Binary_46hs_95freezeBin)
,	/* PS_v206: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46freezeBin)
, useLabel(PC_NHC_46Binary_46freezeBin)
,	/* PS_v211: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46freezeBin)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61)
,	/* PS_v210: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46freezeBin)
, useLabel(PC_LAMBDA197)
,	/* PS_v199: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_NHC_46Binary_46hs_95freezeBin_35)
, useLabel(PC_NHC_46Binary_46hs_95freezeBin_35)
,	/* PS_v215: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_LAMBDA197)
, useLabel(PC_Prelude_46Monad_46NHC_46Internal_46IO_46return)
,	/* PS_v213: (byte 0) */
  useLabel(PM_NHC_46Binary)
, useLabel(PP_LAMBDA197)
, useLabel(PC_LAMBDA197)
,};

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

/* foreign import ccall "hs_freezeBin" NHC.Binary.hs_freezeBin# 1 :: FFI.ForeignObj -> Prelude.() */
extern void hs_freezeBin(void*);
#ifdef PROFILE
static SInfo pf_NHC_46Binary_46hs_95freezeBin_35 = {"NHC.Binary","NHC.Binary.hs_freezeBin#","Prelude.()"};
#endif
C_HEADER(FR_NHC_46Binary_46hs_95freezeBin_35) {
  NodePtr nodeptr;
  void* arg1;
  nodeptr = C_GETARG1(1);
  IND_REMOVE(nodeptr);
  arg1 = (void*)derefForeignObj((ForeignObj*)GET_INT_VALUE(nodeptr));

  hs_freezeBin(arg1);

  nodeptr = nhc_mkUnit();
  INIT_PROFINFO(nodeptr,&pf_NHC_46Binary_46hs_95freezeBin_35);
  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].