#include "M3Runtime.h" typedef struct { int tc; char* str; int len; } TXT; PRIVATE TXT txt1 = { 3, "illegal operands for \047*\047", 25}; PRIVATE TXT txt2 = { 3, "@ = @ * @;\012", 12}; PRIVATE TXT txt3 = { 3, "* ", 3}; #line 16 "../Interfaces/Type.i3" #define t2 ADDRESS #define t76 void typedef int t15; #line 116 ".ROOT/.boots/corelib/Interfaces/Wr.i3" typedef struct { char* elts; int size[1]; } t60; #line 16 "../Interfaces/Type.i3" #define t46 t60 #define TC2 TC_Type__Map IMPORT TYPE TC_Type__Map; #line 16 IMPORT char VS_Type__Map__41dd9f4b33104fce; #line 17 "../Interfaces/Scope.i3" #define t27 ADDRESS #define t73 ADDRESS typedef struct { TYPE self; int private; } t73_methods; #define t73_msize (sizeof (t73_methods)) typedef struct { ADDRESS methods; } t73_fields; #define t73_size (sizeof (t73_fields)) #define TC73 TC_UNTRACED_ROOT IMPORT TYPE TC_UNTRACED_ROOT; IMPORT char VS_UNTRACED_ROOT__3e0964513fd6da20; #line 15 "../Interfaces/M3.i3" #define t18 ADDRESS #define TC18 TC_M3__Value IMPORT TYPE TC_M3__Value; #line 15 IMPORT char VS_M3__Value__6f64cf9c2cae25fb; #line 17 "../Interfaces/Scope.i3" #define t31 t60 #define TC27 TC_Scope__ValueList IMPORT TYPE TC_Scope__ValueList; #line 17 IMPORT char VS_Scope__ValueList__64bf053e22e4e53c; #line 14 "./Expr.i3" #define t34 ADDRESS #define t5 ADDRESS #define TC5 TC_M3__Expr IMPORT TYPE TC_M3__Expr; #line 16 "../Interfaces/M3.i3" IMPORT char VS_M3__Expr__8ae39aaa2d432477; #line 14 "./Expr.i3" #define t41 t60 #define TC34 TC_Expr__List IMPORT TYPE TC_Expr__List; #line 14 IMPORT char VS_Expr__List__3f87eceb2b9a246a; #line 17 "../Interfaces/Type.i3" #define t44 ADDRESS #define t9 ADDRESS #define TC9 TC_M3__Type IMPORT TYPE TC_M3__Type; #line 18 "../Interfaces/M3.i3" IMPORT char VS_M3__Type__4d87bc25311f81d2; #line 17 "../Interfaces/Type.i3" typedef struct { t44 _next; t9 _type; } t45; #define TC44 TC_Type__List IMPORT TYPE TC_Type__List; #line 17 IMPORT char VS_Type__List__5791758e343becc1; #define t55 ADDRESS #define TC55 TC_ADDRESS IMPORT TYPE TC_ADDRESS; IMPORT char VS_ADDRESS__30f7308738738b44; #define t62 ADDRESS #define TC62 TC_REFANY IMPORT TYPE TC_REFANY; IMPORT char VS_REFANY__4b8748e831fc107a; #define t77 ADDRESS #define TC77 TC_NULL IMPORT TYPE TC_NULL; IMPORT char VS_NULL__fb50c7d53bec30dc; #define t63 ADDRESS typedef struct { TYPE self; int private; } t63_methods; #define t63_msize (sizeof (t63_methods)) typedef struct { ADDRESS methods; } t63_fields; #define t63_size (sizeof (t63_fields)) #define TC63 TC_ROOT IMPORT TYPE TC_ROOT; IMPORT char VS_ROOT__349f58f628be0ac6; #define t63_MapProc TC_ROOT->mapProc #define t1 ADDRESS #define TC1 TC_Wr__T IMPORT TYPE TC_Wr__T; #line 90 ".ROOT/.boots/corelib/Interfaces/Wr.i3" IMPORT char VS_Wr__T__2555b70b3f7780b1; #define t1_MapProc TC_Wr__T->mapProc #define t3 ADDRESS #line 65 "../Interfaces/Emit.i3" typedef t76 (*t4)(); #line 19 "../Interfaces/M3.i3" #define t7 ADDRESS #define TC7 TC_M3__Temp IMPORT TYPE TC_M3__Temp; #line 19 IMPORT char VS_M3__Temp__450b691937f03dae; #line 31 "./ExprRep.i3" typedef t7 (*t8)(); #line 24 typedef t5 (*t6)(); typedef unsigned char t22; #line 15 "./SetExpr.i3" typedef t22 (*t23)(); #line 13 "./ExprABC.i3" #define t10 ADDRESS #line 13 "./ExprAB.i3" #define t39 ADDRESS #line 13 typedef struct { int filler; } t39_methods; #define t39_msize (sizeof (t39_methods)) typedef struct { #line 13 t5 _a; t5 _b; } t39_fields; #define t39_size (sizeof (t39_fields)) #define TC39 TC_ExprAB__T IMPORT TYPE TC_ExprAB__T; #line 13 IMPORT char VS_ExprAB__T__4de31144393ed1be; #line 13 "./ExprABC.i3" typedef struct { int filler; } t10_methods; #define t10_msize (sizeof (t10_methods)) typedef struct { #line 13 t15 _class; } t10_fields; #define t10_size (sizeof (t10_fields)) #define TC10 TC_ExprABC__T IMPORT TYPE TC_ExprABC__T; #line 13 IMPORT char VS_ExprABC__T__8376f97f3cce4ada; #line 23 "MultiplyExpr.m3" typedef struct { int filler; } t3_methods; #define t3_msize (sizeof (t3_methods)) typedef struct { #line 23 int filler; } t3_fields; #define t3_size (sizeof (t3_fields)) PRIVATE void t3_InitProc (); #line 23 PRIVATE void t3_SetupProc (); PRIVATE void t3_PrintProc (); PRIVATE typecell t3_TC; PRIVATE typecell t3_TC_init = {0, 0, 0, 0, 0, (PROC)NIL, #line 23 t3_size, t3_msize, NIL, 0, 0, t3_InitProc, t3_SetupProc, t3_PrintProc, "", -1484883205, 684622988}; PRIVATE TYPE TC3 = &t3_TC; #line 27 "../Interfaces/Emit.i3" typedef signed_char t11; #line 63 typedef t11 (*t12)(); #define t13 ADDRESS #define TC13 TC_TEXT IMPORT TYPE TC_TEXT; IMPORT char VS_TEXT__b7a92447326386f5; #define t13_MapProc TC_TEXT->mapProc typedef signed_char t53; #line 13 "../Interfaces/String.i3" #define t17 ADDRESS #define TC17 TC_String__T IMPORT TYPE TC_String__T; #line 13 IMPORT char VS_String__T__3a6c7dc12615e4ee; #line 65 "../Interfaces/Token.i3" #define t47 t60 typedef struct { t17 elts[100]; } t54; #line 17 "../Interfaces/String.i3" typedef struct { t15 _top; t54 _stk; } t14; #line 16 "../Interfaces/Variable.i3" #define t16 ADDRESS #define TC16 TC_Variable__T IMPORT TYPE TC_Variable__T; #line 16 IMPORT char VS_Variable__T__be7ead4a3afd8be5; typedef double t19; typedef unsigned char t20; #line 14 "../Interfaces/M3.i3" #define t21 ADDRESS #define TC21 TC_M3__Scope IMPORT TYPE TC_M3__Scope; #line 14 IMPORT char VS_M3__Scope__6e6d8848308d8a2d; #line 24 "../Interfaces/Variable.i3" typedef t16 (*t24)(); #line 14 "../Interfaces/Decl.i3" typedef struct { t17 _alias; t22 _isExternal; t22 _isInline; t22 _isUnused; t22 _isObsolete; } t25; #line 15 "../Interfaces/Token.i3" typedef unsigned char t48; #line 45 typedef struct { int elts[4]; } t26; #line 14 "../Interfaces/String.i3" typedef struct { t17 _module; t17 _item; } t28; #line 38 "../Interfaces/Scope.i3" typedef t18 (*t29)(); #line 31 typedef t21 (*t30)(); #line 14 "../Interfaces/SetType.i3" typedef t9 (*t32)(); #line 14 "./CompareExpr.i3" typedef unsigned char t33; #line 18 "../Interfaces/Value.i3" typedef unsigned char t35; #line 40 typedef t35 (*t36)(); #line 15 "../Interfaces/Reel.i3" typedef t17 (*t37)(); #line 14 typedef t19 (*t38)(); #line 13 "./ExprRep.i3" #define t40 ADDRESS #line 13 typedef struct { t4 _bind; t4 _check; t4 _write; t23 _isEqual; t6 _evaluate; t4 _getBounds; t23 _isWritable; t23 _isDesignator; #line 13 t23 _isZeroes; t4 _genLiteral; t4 _fprint; t8 _compile; } t40_methods; #define t40_msize (sizeof (t40_methods)) typedef struct { #line 13 t15 _origin; t9 _type; t22 _bound; t22 _inCheck; t22 _checked; } t40_fields; #define t40_size (sizeof (t40_fields)) #define TC40 TC_M3__Expr typedef t2 (*t42)(); #line 97 "../Interfaces/Type.i3" typedef t15 (*t43)(); #line 65 "../Interfaces/Token.i3" typedef struct { t17 elts[97]; } t49; typedef int t50; #line 37 "../Interfaces/String.i3" typedef t13 (*t51)(); #line 28 #define t52 t60 typedef signed_char t56; #line 67 ".ROOT/.boots/corelib/Interfaces/Text.i3" typedef t56 (*t57)(); #line 26 typedef t50 (*t58)(); #line 23 typedef t20 (*t59)(); #line 91 ".ROOT/.boots/corelib/Interfaces/Wr.i3" typedef unsigned char t61; #line 15 ".ROOT/.boots/corelib/Interfaces/Thread.i3" #define t64 ADDRESS #define TC64 TC_Thread__T IMPORT TYPE TC_Thread__T; #line 15 IMPORT char VS_Thread__T__2555b70b3f7780b1; #define t64_MapProc TC_Thread__T->mapProc typedef t62 (*t65)(); #define t66 ADDRESS #define TC66 TC_Thread__Condition IMPORT TYPE TC_Thread__Condition; #line 21 IMPORT char VS_Thread__Condition__26d5968239e08f4e; #define t66_MapProc TC_Thread__Condition->mapProc #define t67 ADDRESS #define TC67 TC_MUTEX IMPORT TYPE TC_MUTEX; IMPORT char VS_MUTEX__1f9d4e89391ab815; #define t67_MapProc TC_MUTEX->mapProc typedef t64 (*t68)(); #line 23 #define t69 ADDRESS #line 23 typedef struct { t65 _apply; } t69_methods; #define t69_msize (sizeof (t69_methods)) typedef struct { #line 23 int filler; } t69_fields; #define t69_size (sizeof (t69_fields)) #define TC69 TC_Thread__Closure IMPORT TYPE TC_Thread__Closure; #line 23 IMPORT char VS_Thread__Closure__7fb5c6232c5a658a; #define t69_MapProc TC_Thread__Closure->mapProc typedef t66 (*t70)(); typedef t67 (*t71)(); #line 28 #define t72 ADDRESS #line 28 typedef struct { int filler; } t72_methods; #define t72_msize (sizeof (t72_methods)) typedef struct { #line 28 t50 _stackSize; } t72_fields; #define t72_size (sizeof (t72_fields)) #define TC72 TC_Thread__SizedClosure IMPORT TYPE TC_Thread__SizedClosure; #line 28 IMPORT char VS_Thread__SizedClosure__8a46717d2eae7b07; #define t72_MapProc TC_Thread__SizedClosure->mapProc #define t74 ADDRESS #define TC74 TC_M3__Stmt IMPORT TYPE TC_M3__Stmt; #line 17 "../Interfaces/M3.i3" IMPORT char VS_M3__Stmt__376b307627fc1f2f; typedef CLOSURE t75; typedef float t78; #line 10 "MultiplyExpr.m3" IMPORT INITLINK* Emit__init; IMPORT INITLINK* SetType__init; IMPORT INITLINK* Longreal__init; IMPORT INITLINK* Wr__init; IMPORT INITLINK* Temp__init; #line 10 IMPORT INITLINK* LongrealExpr__init; IMPORT INITLINK* RealExpr__init; IMPORT INITLINK* IntegerExpr__init; IMPORT INITLINK* SetExpr__init; #line 10 IMPORT INITLINK* Reel__init; IMPORT INITLINK* Int__init; IMPORT INITLINK* Error__init; IMPORT INITLINK* Type__init; IMPORT INITLINK* ExprRep__init; #line 10 IMPORT INITLINK* ExprABC__init; IMPORT INITLINK* ExprAB__init; IMPORT INITLINK* Expr__init; IMPORT INITLINK* MultiplyExpr__init; #line 10 IMPORT char VS_Emit__MaxStream__cf0a0e8934c9c9f3; IMPORT TYPE TC_Emit__Format; IMPORT char VS_Emit__Format__bc4a2b083b93bbd7; #line 10 IMPORT t76 _Emit__OpTTT (); IMPORT char VS_Emit__OpTTT__91a3dd742690c5b9; IMPORT t22 _SetType__Split (); IMPORT char VS_SetType__Split__edc8fdf02e117577; #line 10 IMPORT t9 _Longreal__T; IMPORT char VS_Longreal__T__5097042c20911d85; IMPORT EXCEPTION_NAME _Thread__Alerted; IMPORT char VS_Thread__Alerted__fc88feb43485af46; #line 10 IMPORT EXCEPTION_NAME _Wr__Failure; IMPORT char VS_Wr__Failure__5f82cfb43dabf527; IMPORT EXCEPTION_NAME _Wr__Error; IMPORT char VS_Wr__Error__c367253d3ed4fd15; #line 10 IMPORT t76 _Wr__PutText (); IMPORT char VS_Wr__PutText__e034dab73a793846; IMPORT TYPE TC_Temp__T; IMPORT char VS_Temp__T__3a6c7dc12615e4ee; #line 10 IMPORT t7 _Temp__Alloc (); IMPORT char VS_Temp__Alloc__0b946c9d3ec0974e; IMPORT t76 _Temp__Free (); IMPORT char VS_Temp__Free__3b952a2225c26846; #line 10 IMPORT t22 _LongrealExpr__Multiply (); IMPORT char VS_LongrealExpr__Multiply__bb1e1e01233422fb; IMPORT t22 _RealExpr__Multiply (); #line 10 IMPORT char VS_RealExpr__Multiply__242465062f6b3909; IMPORT t22 _IntegerExpr__Multiply (); IMPORT char VS_IntegerExpr__Multiply__9231d45623e78a4a; #line 10 IMPORT t22 _SetExpr__Intersection (); IMPORT char VS_SetExpr__Intersection__4f02e31a2ccb1fd3; IMPORT t76 _SetExpr__CompileInter (); #line 10 IMPORT char VS_SetExpr__CompileInter__6d1f6b4c27c692b8; IMPORT t9 _Reel__T; IMPORT char VS_Reel__T__254c3c852237b326; #line 10 IMPORT t9 _Int__T; IMPORT char VS_Int__T__1062912139372387; IMPORT t76 _Error__Msg (); IMPORT char VS_Error__Msg__4d119a332467757f; #line 10 IMPORT TYPE TC_Type__T; IMPORT char VS_Type__T__2446b70b3f7780a5; IMPORT t9 _Type__Base (); IMPORT char VS_Type__Base__2bebd0333659a92c; #line 10 IMPORT t22 _Type__IsEqual (); IMPORT char VS_Type__IsEqual__4098bc3f32325d05; IMPORT t76 _ExprRep__Init (); IMPORT char VS_ExprRep__Init__8b7fff3e227cebab; #line 10 IMPORT t76 _ExprRep__NoBind (); IMPORT char VS_ExprRep__NoBind__e7d0d3dd3d703c08; IMPORT t76 _ExprRep__NoCheck (); IMPORT char VS_ExprRep__NoCheck__c11b54bc361794fa; #line 10 IMPORT t5 _ExprRep__NoValue (); IMPORT char VS_ExprRep__NoValue__8ccc143224598a66; IMPORT t76 _ExprRep__NoBounds (); IMPORT char VS_ExprRep__NoBounds__b64bb146289ee4f0; #line 10 IMPORT t22 _ExprRep__IsNever (); IMPORT char VS_ExprRep__IsNever__8f1a069b301903c8; IMPORT t22 _ExprRep__NeverEq (); IMPORT char VS_ExprRep__NeverEq__dfdc2412249ccb65; #line 10 IMPORT t76 _ExprRep__NoWriter (); IMPORT char VS_ExprRep__NoWriter__a97bb1a23bbf506e; IMPORT t76 _ExprRep__NoLiteral (); IMPORT char VS_ExprRep__NoLiteral__6c9c90073f496f67; #line 10 IMPORT t76 _ExprAB__Bind (); IMPORT char VS_ExprAB__Bind__b38b69303e15f944; IMPORT t22 _ExprAB__EqCheck (); IMPORT char VS_ExprAB__EqCheck__4b21927f20e25ebf; #line 10 IMPORT TYPE TC_Expr__T; IMPORT char VS_Expr__T__2446b70b3f7780a5; IMPORT t76 _Expr__Bind (); IMPORT char VS_Expr__Bind__7e2752da3eaf56eb; #line 10 IMPORT t9 _Expr__TypeOf (); IMPORT char VS_Expr__TypeOf__fef0a11b388c64fa; IMPORT t5 _Expr__ConstValue (); IMPORT char VS_Expr__ConstValue__ce4fd448218fe483; #line 10 IMPORT t76 _Expr__TypeCheck (); IMPORT char VS_Expr__TypeCheck__af9aa9073729e7f7; IMPORT t7 _Expr__Compile (); IMPORT char VS_Expr__Compile__a7e0cc4029a2ec76; #line 10 IMPORT t76 _Expr__Fingerprint (); IMPORT char VS_Expr__Fingerprint__50ce687c31d90a5b; EXPORT t5 _MultiplyExpr__New (); EXPORT char VS_MultiplyExpr__New__85eb063a2ffd28fc = '\0'; #line 10 PRIVATE TYPE TC_MultiplyExpr__P; PRIVATE t76 _MultiplyExpr__Bind (); PRIVATE t76 _MultiplyExpr__Check (); PRIVATE t7 _MultiplyExpr__Compile (); #line 10 PRIVATE t5 _MultiplyExpr__Fold (); PRIVATE t76 _MultiplyExpr__FPrinter (); IMPORT char VS_M3__Expr__58bf709e39adf1f7; IMPORT char VS_M3__Expr__58bf709e39adf1f7; #line 10 IMPORT char VS_M3__Expr__58bf709e39adf1f7; IMPORT char VS_M3__Expr__58bf709e39adf1f7; #line 39 "MultiplyExpr.m3" EXPORT t5 _MultiplyExpr__New (_a, _b) t5 _a; t5 _b; { t3 z0; t3 z2; #line 39 "MultiplyExpr.m3" { auto t3 _p; auto t5 __result; { ZERO1 (& _p); #line 39 CHECKSTACKOVERFLOW; { register char** ptr = (char**) UNEWOBJ (TC3); z0 = (t3) ptr; }; _p = z0; _ExprRep__Init (_p); NILCHECKA (z2 = _p); (((t39_fields*)(z2+(0+t40_size+t73_size)))->_a) = _a; NILCHECKA (z2 = _p); (((t39_fields*)(z2+(0+t40_size+t73_size)))->_b) = _b; __result = _p; return __result; } } }; #line 49 "MultiplyExpr.m3" PRIVATE t76 _MultiplyExpr__Bind (_p) t3 _p; { t3 z2; t3 z3; t9 z4; t9 z1; #line 49 "MultiplyExpr.m3" { { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); _Expr__Bind ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_a)); NILCHECKA (z2 = _p); _Expr__Bind ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_b)); NILCHECKA (z3 = _p); z4 = _Expr__TypeOf ((((t39_fields*)(z3+(0+t40_size+t73_size)))->_a)); z1 = _Type__Base (z4); NILCHECKA (z2 = _p); #line 53 (((t40_fields*)(z2+(0+t73_size)))->_type) = z1; } } }; #line 56 "MultiplyExpr.m3" PRIVATE t76 _MultiplyExpr__Check (_p) t3 _p; { t3 z2; t3 z3; t9 z4; t9 z1; t22 z5; t22 z0; #line 56 "MultiplyExpr.m3" { auto t9 _ta; auto t9 _tb; auto t9 _range; { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); _Expr__TypeCheck ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_a)); NILCHECKA (z2 = _p); _Expr__TypeCheck ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_b)); NILCHECKA (z3 = _p); z4 = _Expr__TypeOf ((((t39_fields*)(z3+(0+t40_size+t73_size)))->_a)); z1 = _Type__Base (z4); _ta = z1; NILCHECKA (z3 = _p); z4 = _Expr__TypeOf ((((t39_fields*)(z3+(0+t40_size+t73_size)))->_b)); z1 = _Type__Base (z4); _tb = z1; z5 = (_tb == _Int__T); z0 = 0; if (z5) { z5 = (_ta == _Int__T); z0 = z5; }; if (z0) { NILCHECKA (z2 = _p); (((t10_fields*)(z2+(0+t39_size+t40_size+t73_size)))->_class) = 0 ; #line 63 goto if_1_end; }; z5 = (_tb == _Reel__T); z0 = 0; if (z5) { z5 = (_ta == _Reel__T); z0 = z5; }; if (z0) { NILCHECKA (z2 = _p); (((t10_fields*)(z2+(0+t39_size+t40_size+t73_size)))->_class) = 1 ; goto if_1_end; }; z5 = (_tb == _Longreal__T); #line 64 z0 = 0; if (z5) { z5 = (_ta == _Longreal__T); z0 = z5; }; if (z0) { NILCHECKA (z2 = _p); (((t10_fields*)(z2+(0+t39_size+t40_size+t73_size)))->_class) = 2 ; goto if_1_end; }; z5 = _SetType__Split (_ta, &_range); #line 65 z0 = 0; if (z5) { z5 = _Type__IsEqual (_ta, _tb); z0 = z5; }; if (z0) { NILCHECKA (z2 = _p); (((t10_fields*)(z2+(0+t39_size+t40_size+t73_size)))->_class) = 3 ; goto if_1_end; }; _Error__Msg (((ADDRESS)(& txt1.str))); NILCHECKA (z2 = _p); (((t10_fields*)(z2+(0+t39_size+t40_size+t73_size)))->_class) = 0 ; if_1_end: /**/; } } }; #line 72 "MultiplyExpr.m3" PRIVATE t7 _MultiplyExpr__Compile (_p) t3 _p; { t3 z2; t7 z3; t3 z1; t22 z4; t3 z5; t5 z6; #line 72 "MultiplyExpr.m3" { auto t7 _t1; auto t7 _t2; auto t7 _t3; auto t7 __result; { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); z3 = _Expr__Compile ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_a)); _t1 = z3; NILCHECKA (z2 = _p); z3 = _Expr__Compile ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_b)); _t2 = z3; z3 = _Temp__Alloc (_p); _t3 = z3; NILCHECKA (z1 = _p); z4 = ((((t10_fields*)(z1+(0+t39_size+t40_size+t73_size)))->_class) != 3 ); if (z4) { _Emit__OpTTT (((ADDRESS)(& txt2.str)), _t3, _t1, _t2); #line 78 goto if_2_end; }; NILCHECKA (z5 = _p); NILCHECKA (z6 = (((t39_fields*)(z5+(0+t40_size+t73_size)))->_a)); _SetExpr__CompileInter (_t1, _t2, _t3, (((t40_fields*)(z6+(0+t73_size)))->_type)); #line 79 if_2_end: /**/; _Temp__Free (_t1); _Temp__Free (_t2); __result = _t3; return __result; } } }; #line 85 "MultiplyExpr.m3" PRIVATE t5 _MultiplyExpr__Fold (_p) t3 _p; { t3 z2; t5 z3; t22 z4; t22 z0; #line 85 "MultiplyExpr.m3" { auto t5 _e1; auto t5 _e2; auto t5 _e3; auto t5 __result; { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); z3 = _Expr__ConstValue ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_a)); _e1 = z3; NILCHECKA (z2 = _p); z3 = _Expr__ConstValue ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_b)); _e2 = z3; _e3 = (t5) 0; z4 = (_e1 == 0); z0 = 1; if (! z4) { z4 = (_e2 == 0); z0 = z4; }; if (z0) { goto if_3_end; }; z4 = _IntegerExpr__Multiply (_e1, _e2, &_e3); #line 91 if (z4) { goto if_3_end; }; z4 = _RealExpr__Multiply (_e1, _e2, &_e3); if (z4) { goto if_3_end; }; z4 = _LongrealExpr__Multiply (_e1, _e2, &_e3); #line 91 if (z4) { goto if_3_end; }; z4 = _SetExpr__Intersection (_e1, _e2, &_e3); if (z4) { goto if_3_end; }; if_3_end: /**/; __result = _e3; return __result; } } }; #line 100 "MultiplyExpr.m3" PRIVATE t76 _MultiplyExpr__FPrinter (_p, _map, _wr) t3 _p; t2 _map; t1 _wr; { t3 z2; #line 100 "MultiplyExpr.m3" { { CHECKSTACKOVERFLOW; _Wr__PutText (_wr, ((ADDRESS)(& txt3.str))); NILCHECKA (z2 = _p); _Expr__Fingerprint ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_a), _map, _wr); NILCHECKA (z2 = _p); _Expr__Fingerprint ((((t39_fields*)(z2+(0+t40_size+t73_size)))->_b), _map, _wr); } } }; PRIVATE int init_done = -1; #line 104 "MultiplyExpr.m3" PRIVATE void MultiplyExpr__initProc (g) int g; { #line 104 "MultiplyExpr.m3" if (init_done >= g) return; init_done = g; INITIALIZE (& MultiplyExpr__init); INITIALIZE (& Emit__init); INITIALIZE (& SetType__init); #line 104 INITIALIZE (& Longreal__init); INITIALIZE (& Wr__init); INITIALIZE (& Temp__init); INITIALIZE (& LongrealExpr__init); INITIALIZE (& RealExpr__init); #line 104 INITIALIZE (& IntegerExpr__init); INITIALIZE (& SetExpr__init); INITIALIZE (& Reel__init); INITIALIZE (& Int__init); INITIALIZE (& Error__init); #line 104 INITIALIZE (& Type__init); INITIALIZE (& ExprRep__init); INITIALIZE (& ExprABC__init); INITIALIZE (& ExprAB__init); INITIALIZE (& Expr__init); #line 104 return; }; #line 104 "MultiplyExpr.m3" PRIVATE void t3_InitProc (obj) char* obj; { register t3_fields* p; #line 104 "MultiplyExpr.m3" CHECKSTACKOVERFLOW; p = (t3_fields*) (obj + TC10->datasize); }; #line 104 "MultiplyExpr.m3" PRIVATE void t3_SetupProc () { register int* p; #line 104 "MultiplyExpr.m3" t3_TC.datasize += TC10->datasize; t3_TC.methodsize += TC10->methodsize; p = (int*) UALLOC (t3_TC.methodsize); COPY (TC10->defaultMethods, p, (TC10->methodsize)); #line 104 p[0] = (int)(& t3_TC); p[1] = 0; ((t40_methods*) (((char*)p) + TC73->methodsize))->_bind = _MultiplyExpr__Bind; ((t40_methods*) (((char*)p) + TC73->methodsize))->_check = _MultiplyExpr__Check; #line 104 ((t40_methods*) (((char*)p) + TC73->methodsize))->_compile = _MultiplyExpr__Compile; ((t40_methods*) (((char*)p) + TC73->methodsize))->_evaluate = _MultiplyExpr__Fold; #line 104 ((t40_methods*) (((char*)p) + TC73->methodsize))->_fprint = _MultiplyExpr__FPrinter; ((t40_methods*) (((char*)p) + TC73->methodsize))->_write = _ExprRep__NoWriter; #line 104 ((t40_methods*) (((char*)p) + TC73->methodsize))->_isEqual = _ExprAB__EqCheck; ((t40_methods*) (((char*)p) + TC73->methodsize))->_getBounds = _ExprRep__NoBounds; #line 104 ((t40_methods*) (((char*)p) + TC73->methodsize))->_isWritable = _ExprRep__IsNever; ((t40_methods*) (((char*)p) + TC73->methodsize))->_isDesignator = _ExprRep__IsNever; #line 104 ((t40_methods*) (((char*)p) + TC73->methodsize))->_isZeroes = _ExprRep__IsNever; ((t40_methods*) (((char*)p) + TC73->methodsize))->_genLiteral = _ExprRep__NoLiteral; #line 104 t3_TC.defaultMethods = (char*) p; }; #line 104 "MultiplyExpr.m3" PRIVATE void t3_PrintProc (obj) char *obj; { t3_fields* o; #line 104 "MultiplyExpr.m3" CHECKSTACKOVERFLOW; if (TC10->printProc != 0) {TC10->printProc (obj); } fprintf (stderr, "{%s} ", TC3->brand); o = (t3_fields*) (obj + TC10->datasize); #line 104 }; PRIVATE INITLINK me_0 ={(INITLINK*)NIL, 0, MultiplyExpr__initProc}; static char* VSimports[] = { &VS_Emit__MaxStream__cf0a0e8934c9c9f3, &VS_Emit__Format__bc4a2b083b93bbd7, &VS_Emit__OpTTT__91a3dd742690c5b9, &VS_SetType__Split__edc8fdf02e117577, &VS_Longreal__T__5097042c20911d85, &VS_Thread__Alerted__fc88feb43485af46, &VS_Wr__T__2555b70b3f7780b1, &VS_Wr__Failure__5f82cfb43dabf527, &VS_Wr__Error__c367253d3ed4fd15, &VS_Wr__PutText__e034dab73a793846, &VS_Temp__T__3a6c7dc12615e4ee, &VS_Temp__Alloc__0b946c9d3ec0974e, &VS_Temp__Free__3b952a2225c26846, &VS_LongrealExpr__Multiply__bb1e1e01233422fb, &VS_RealExpr__Multiply__242465062f6b3909, &VS_IntegerExpr__Multiply__9231d45623e78a4a, &VS_SetExpr__Intersection__4f02e31a2ccb1fd3, &VS_SetExpr__CompileInter__6d1f6b4c27c692b8, &VS_Reel__T__254c3c852237b326, &VS_Int__T__1062912139372387, &VS_Error__Msg__4d119a332467757f, &VS_Type__T__2446b70b3f7780a5, &VS_Type__Map__41dd9f4b33104fce, &VS_Type__List__5791758e343becc1, &VS_Type__Base__2bebd0333659a92c, &VS_Type__IsEqual__4098bc3f32325d05, &VS_ExprRep__Init__8b7fff3e227cebab, &VS_ExprRep__NoBind__e7d0d3dd3d703c08, &VS_ExprRep__NoCheck__c11b54bc361794fa, &VS_ExprRep__NoValue__8ccc143224598a66, &VS_ExprRep__NoBounds__b64bb146289ee4f0, &VS_ExprRep__IsNever__8f1a069b301903c8, &VS_ExprRep__NeverEq__dfdc2412249ccb65, &VS_ExprRep__NoWriter__a97bb1a23bbf506e, &VS_ExprRep__NoLiteral__6c9c90073f496f67, &VS_ExprABC__T__8376f97f3cce4ada, &VS_ExprAB__T__4de31144393ed1be, &VS_ExprAB__Bind__b38b69303e15f944, &VS_ExprAB__EqCheck__4b21927f20e25ebf, &VS_Expr__T__2446b70b3f7780a5, &VS_Expr__List__3f87eceb2b9a246a, &VS_Expr__Bind__7e2752da3eaf56eb, &VS_Expr__TypeOf__fef0a11b388c64fa, &VS_Expr__ConstValue__ce4fd448218fe483, &VS_Expr__TypeCheck__af9aa9073729e7f7, &VS_Expr__Compile__a7e0cc4029a2ec76, &VS_Expr__Fingerprint__50ce687c31d90a5b, NIL }; void MultiplyExpr__MLink (phase) int phase; { switch (phase) { case 0: { me_0.link = MultiplyExpr__init; MultiplyExpr__init = & me_0; t3_TC = t3_TC_init; REGISTERTYPE (TC3); break; }; case 1: { t3_TC.parent = TC_ExprABC__T; break; }; case 2: { break; }; }; };