Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Prelude/Integral_Int.hc

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


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

#define CT_v253	((void*)startLabel+20)
#define CT_v254	((void*)startLabel+80)
#define CT_v255	((void*)startLabel+128)
#define CT_v256	((void*)startLabel+168)
#define CT_v257	((void*)startLabel+204)
#define CT_v258	((void*)startLabel+248)
#define CT_v259	((void*)startLabel+292)
#define CT_v260	((void*)startLabel+356)
extern Node FN_Prelude_46primIntegerFromInt[];
extern Node FN_Prelude_46Integral_46Prelude_46Int_46quot[];
extern Node FN_Prelude_46Integral_46Prelude_46Int_46rem[];
extern Node FN_Prelude_46_95_46divMod[];
extern Node CF_Prelude_46Integral_46Prelude_46Int[];
extern Node FN_Prelude_46_95_46mod[];
extern Node FN_Prelude_46_95_46div[];
extern Node CF_Prelude_46Real_46Prelude_46Int[];
extern Node CF_Prelude_46Enum_46Prelude_46Int[];

static Node startLabel[] = {
  bytes2word(1,0,0,1)
, useLabel(CT_v253)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46toInteger[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_ARG)
, bytes2word(1,RETURN_EVAL,ENDCODE,0)
, bytes2word(0,0,0,0)
,	/* CT_v253: (byte 0) */
  HW(1,1)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46toInteger[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46toInteger),1)
, VAPTAG(useLabel(FN_Prelude_46primIntegerFromInt))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v254)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46quotRem[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_ARG_ARG,1)
, bytes2word(2,HEAP_CVAL_I4,HEAP_ARG_ARG,1)
, bytes2word(2,PUSH_HEAP,HEAP_CVAL_N1,1)
, bytes2word(HEAP_OFF_N1,7,HEAP_OFF_N1,5)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,2,0)
,	/* CT_v254: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46quotRem[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46quotRem),2)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46quot))
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46rem))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v255)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46rem[] = {
  bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,PUSH_ZAP_ARG_I1)
, bytes2word(EVAL,NEEDHEAP_I32,REM,RETURN)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v255: (byte 0) */
  HW(0,2)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46rem[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46rem),2)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v256)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46quot[] = {
  bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,PUSH_ZAP_ARG_I1)
, bytes2word(EVAL,NEEDHEAP_I32,QUOT,RETURN)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v256: (byte 0) */
  HW(0,2)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46quot[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46quot),2)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v257)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46divMod[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v257: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46divMod[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46divMod),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46divMod))
, useLabel(CF_Prelude_46Integral_46Prelude_46Int)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v258)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46mod[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v258: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46mod[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46mod),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46mod))
, useLabel(CF_Prelude_46Integral_46Prelude_46Int)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v259)
,};
Node FN_Prelude_46Integral_46Prelude_46Int_46div[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG_ARG_RET_EVAL,1,2,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v259: (byte 0) */
  HW(2,2)
, 0
,};
Node F0_Prelude_46Integral_46Prelude_46Int_46div[] = {
  CAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int_46div),2)
, VAPTAG(useLabel(FN_Prelude_46_95_46div))
, useLabel(CF_Prelude_46Integral_46Prelude_46Int)
, bytes2word(0,0,0,0)
, useLabel(CT_v260)
,};
Node FN_Prelude_46Integral_46Prelude_46Int[] = {
  bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_N1,1)
, bytes2word(HEAP_CVAL_I3,HEAP_CVAL_I4,HEAP_CVAL_I5,HEAP_CVAL_P1)
, bytes2word(6,HEAP_CVAL_P1,7,HEAP_CVAL_P1)
, bytes2word(8,HEAP_CVAL_P1,9,HEAP_CVAL_P1)
, bytes2word(10,HEAP_CVAL_P1,11,RETURN)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,9,0)
,	/* CT_v260: (byte 0) */
  HW(9,0)
, 0
,};
Node CF_Prelude_46Integral_46Prelude_46Int[] = {
  VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Int))
, useLabel(CF_Prelude_46Real_46Prelude_46Int)
, useLabel(CF_Prelude_46Enum_46Prelude_46Int)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46divMod)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46mod)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46quotRem)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46rem)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46toInteger)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46quot)
, useLabel(F0_Prelude_46Integral_46Prelude_46Int_46div)
,};

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].