#include "M3Runtime.h" typedef struct { int tc; char* str; int len; } TXT; PRIVATE TXT txt1 = { 3, "{\001\012t@ ", 7}; PRIVATE TXT txt2 = { 3, "*with;\012", 8}; PRIVATE TXT txt3 = { 3, "with = &@;\012", 12}; PRIVATE TXT txt4 = { 3, "with;\012", 7}; PRIVATE TXT txt5 = { 3, "with = @;\012", 11}; PRIVATE TXT txt6 = { 3, " = with;\012", 10}; PRIVATE TXT txt7 = { 3, "COPY (with, &@, ", 17}; PRIVATE TXT txt8 = { 3, "sizeof (t@));\012", 15}; PRIVATE TXT txt9 = { 3, "@);\012", 5}; PRIVATE TXT txt10 = { 3, "@ = with;\012", 11}; PRIVATE TXT txt11 = { 3, "\002};\012", 5}; #define t30 ADDRESS #define t84 void #define TC30 TC_REFANY IMPORT TYPE TC_REFANY; IMPORT char VS_REFANY__4b8748e831fc107a; #line 18 "../Interfaces/ProcType.i3" #define t38 ADDRESS #define t45 ADDRESS typedef int t17; #define TC45 TC_ADDRESS IMPORT TYPE TC_ADDRESS; IMPORT char VS_ADDRESS__30f7308738738b44; #line 13 "../Interfaces/String.i3" #define t7 ADDRESS #define TC7 TC_String__T IMPORT TYPE TC_String__T; #line 13 IMPORT char VS_String__T__3a6c7dc12615e4ee; typedef struct { t7 _module; t7 _item; } t40; #define t65 ADDRESS typedef struct { TYPE self; int private; } t65_methods; #define t65_msize (sizeof (t65_methods)) typedef struct { ADDRESS methods; } t65_fields; #define t65_size (sizeof (t65_fields)) #define TC65 TC_UNTRACED_ROOT IMPORT TYPE TC_UNTRACED_ROOT; IMPORT char VS_UNTRACED_ROOT__3e0964513fd6da20; #line 15 "../Interfaces/M3.i3" #define t33 ADDRESS #define TC33 TC_M3__Value IMPORT TYPE TC_M3__Value; #line 15 IMPORT char VS_M3__Value__6f64cf9c2cae25fb; #line 14 "../Interfaces/ProcType.i3" typedef struct { t38 _next; t40 _name; t33 _except; } t41; #define TC38 TC_ProcType__Raisee IMPORT TYPE TC_ProcType__Raisee; #line 18 IMPORT char VS_ProcType__Raisee__5fe771ff27c179d9; #line 14 "../Interfaces/Expr.i3" #define t42 ADDRESS #define t14 ADDRESS #define TC14 TC_M3__Expr IMPORT TYPE TC_M3__Expr; #line 16 "../Interfaces/M3.i3" IMPORT char VS_M3__Expr__8ae39aaa2d432477; #line 116 ".ROOT/.boots/corelib/Interfaces/Wr.i3" typedef struct { char* elts; int size[1]; } t72; #line 14 "../Interfaces/Expr.i3" #define t59 t72 #define TC42 TC_Expr__List IMPORT TYPE TC_Expr__List; #line 14 IMPORT char VS_Expr__List__3f87eceb2b9a246a; #line 17 "../Interfaces/Scope.i3" #define t53 ADDRESS #define t34 t72 #define TC53 TC_Scope__ValueList IMPORT TYPE TC_Scope__ValueList; #line 17 IMPORT char VS_Scope__ValueList__64bf053e22e4e53c; #line 16 "../Interfaces/Type.i3" #define t56 ADDRESS #define t63 t72 #define TC56 TC_Type__Map IMPORT TYPE TC_Type__Map; #line 16 IMPORT char VS_Type__Map__41dd9f4b33104fce; #define t61 ADDRESS #define t1 ADDRESS #define TC1 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 { t61 _next; t1 _type; } t62; #define TC61 TC_Type__List IMPORT TYPE TC_Type__List; #line 17 IMPORT char VS_Type__List__5791758e343becc1; #define t85 ADDRESS #define TC85 TC_NULL IMPORT TYPE TC_NULL; IMPORT char VS_NULL__fb50c7d53bec30dc; #line 16 "./Stmt.i3" typedef unsigned char t64; typedef struct { int elts[1]; } t2; #line 19 "../Interfaces/M3.i3" #define t3 ADDRESS #define TC3 TC_M3__Temp IMPORT TYPE TC_M3__Temp; #line 19 IMPORT char VS_M3__Temp__450b691937f03dae; #line 20 "WithStmt.m3" #define t4 ADDRESS #line 16 "../Interfaces/Variable.i3" #define t15 ADDRESS #define TC15 TC_Variable__T IMPORT TYPE TC_Variable__T; #line 16 IMPORT char VS_Variable__T__be7ead4a3afd8be5; #line 14 "../Interfaces/M3.i3" #define t13 ADDRESS #define TC13 TC_M3__Scope IMPORT TYPE TC_M3__Scope; #line 14 IMPORT char VS_M3__Scope__6e6d8848308d8a2d; #define t10 ADDRESS #define TC10 TC_M3__Stmt IMPORT TYPE TC_M3__Stmt; #line 17 IMPORT char VS_M3__Stmt__376b307627fc1f2f; #line 18 "WithStmt.m3" typedef unsigned char t12; #line 38 "../Interfaces/Scanner.i3" typedef t84 (*t6)(); #line 20 "./StmtRep.i3" typedef void (*t5)(); #line 20 "WithStmt.m3" typedef struct { int filler; } t4_methods; #define t4_msize (sizeof (t4_methods)) typedef struct { #line 20 t15 _var; t14 _expr; t13 _scope; t10 _body; t12 _kind; } t4_fields; #define t4_size (sizeof (t4_fields)) PRIVATE void t4_InitProc (); #line 20 PRIVATE void t4_SetupProc (); PRIVATE void t4_PrintProc (); PRIVATE typecell t4_TC; PRIVATE typecell t4_TC_init = {0, 0, 0, 0, 0, (PROC)NIL, #line 20 t4_size, t4_msize, NIL, 0, 0, t4_InitProc, t4_SetupProc, t4_PrintProc, "", -381307635, 1020864380}; PRIVATE TYPE TC4 = &t4_TC; #line 15 "../Interfaces/Token.i3" typedef unsigned char t9; #line 45 typedef struct { int elts[4]; } t8; #line 40 "WithStmt.m3" typedef t10 (*t11)(); #define t31 ADDRESS typedef struct { TYPE self; int private; } t31_methods; #define t31_msize (sizeof (t31_methods)) typedef struct { ADDRESS methods; } t31_fields; #define t31_size (sizeof (t31_fields)) #define TC31 TC_ROOT IMPORT TYPE TC_ROOT; IMPORT char VS_ROOT__349f58f628be0ac6; #define t31_MapProc TC_ROOT->mapProc #define t16 ADDRESS #define TC16 TC_Rd__T IMPORT TYPE TC_Rd__T; #line 83 ".ROOT/.boots/corelib/Interfaces/Rd.i3" IMPORT char VS_Rd__T__2555b70b3f7780b1; #define t16_MapProc TC_Rd__T->mapProc #define t18 ADDRESS #define TC18 TC_TEXT IMPORT TYPE TC_TEXT; IMPORT char VS_TEXT__b7a92447326386f5; #define t18_MapProc TC_TEXT->mapProc typedef t7 (*t19)(); #line 13 "../Interfaces/Scanner.i3" typedef struct { t9 _token; t7 _string; t17 _value; t17 _offset; } t20; typedef unsigned char t21; #line 287 ".ROOT/.boots/corelib/Interfaces/Rd.i3" typedef t21 (*t22)(); typedef int t23; #line 249 typedef t23 (*t24)(); #line 220 typedef t18 (*t25)(); typedef unsigned char t26; #line 189 #define t27 t72 typedef t26 (*t28)(); #line 84 typedef unsigned char t29; #line 17 "../Interfaces/CallExpr.i3" #define t32 ADDRESS #define TC32 TC_CallExpr__MethodList IMPORT TYPE TC_CallExpr__MethodList; #line 17 IMPORT char VS_CallExpr__MethodList__7e87c2d720444b71; #line 34 "../Interfaces/ProcType.i3" typedef t1 (*t35)(); #line 28 typedef t17 (*t36)(); #line 27 typedef t32 (*t37)(); #line 24 typedef t13 (*t39)(); #line 39 "../Interfaces/CallExpr.i3" typedef t14 (*t43)(); #line 22 typedef t3 (*t44)(); #line 13 "./StmtRep.i3" #define t46 ADDRESS #line 13 typedef struct { t6 _bind; t6 _check; t6 _precompile; t5 _compile; } t46_methods; #define t46_msize (sizeof (t46_methods)) typedef struct { #line 13 t10 _next; t17 _origin; } t46_fields; #define t46_size (sizeof (t46_fields)) #define TC46 TC_M3__Stmt typedef signed_char t47; #line 63 "../Interfaces/Emit.i3" typedef t47 (*t48)(); #line 19 "../Interfaces/String.i3" typedef signed_char t68; #line 65 "../Interfaces/Token.i3" #define t66 t72 typedef struct { t7 elts[100]; } t69; #line 17 "../Interfaces/String.i3" typedef struct { t17 _top; t69 _stk; } t49; typedef double t50; #line 24 "../Interfaces/Variable.i3" typedef t15 (*t51)(); #line 14 "../Interfaces/Decl.i3" typedef struct { t7 _alias; t21 _isExternal; t21 _isInline; t21 _isUnused; t21 _isObsolete; } t52; #line 38 "../Interfaces/Scope.i3" typedef t33 (*t54)(); #line 90 ".ROOT/.boots/corelib/Interfaces/Wr.i3" #define t55 ADDRESS #define TC55 TC_Wr__T IMPORT TYPE TC_Wr__T; #line 90 IMPORT char VS_Wr__T__2555b70b3f7780b1; #define t55_MapProc TC_Wr__T->mapProc typedef unsigned char t57; #line 40 "../Interfaces/Value.i3" typedef t57 (*t58)(); #line 121 "../Interfaces/Type.i3" typedef t56 (*t60)(); #line 65 "../Interfaces/Token.i3" typedef struct { t7 elts[97]; } t67; #line 67 ".ROOT/.boots/corelib/Interfaces/Text.i3" typedef signed_char t70; typedef t70 (*t71)(); #line 91 ".ROOT/.boots/corelib/Interfaces/Wr.i3" typedef unsigned char t73; #line 15 ".ROOT/.boots/corelib/Interfaces/Thread.i3" #define t74 ADDRESS #define TC74 TC_Thread__T IMPORT TYPE TC_Thread__T; #line 15 IMPORT char VS_Thread__T__2555b70b3f7780b1; #define t74_MapProc TC_Thread__T->mapProc typedef t30 (*t75)(); #define t76 ADDRESS #define TC76 TC_Thread__Condition IMPORT TYPE TC_Thread__Condition; #line 21 IMPORT char VS_Thread__Condition__26d5968239e08f4e; #define t76_MapProc TC_Thread__Condition->mapProc #define t77 ADDRESS #define TC77 TC_MUTEX IMPORT TYPE TC_MUTEX; IMPORT char VS_MUTEX__1f9d4e89391ab815; #define t77_MapProc TC_MUTEX->mapProc typedef t74 (*t78)(); #line 23 #define t79 ADDRESS #line 23 typedef struct { t75 _apply; } t79_methods; #define t79_msize (sizeof (t79_methods)) typedef struct { #line 23 int filler; } t79_fields; #define t79_size (sizeof (t79_fields)) #define TC79 TC_Thread__Closure IMPORT TYPE TC_Thread__Closure; #line 23 IMPORT char VS_Thread__Closure__7fb5c6232c5a658a; #define t79_MapProc TC_Thread__Closure->mapProc typedef t76 (*t80)(); typedef t77 (*t81)(); #line 28 #define t82 ADDRESS #line 28 typedef struct { int filler; } t82_methods; #define t82_msize (sizeof (t82_methods)) typedef struct { #line 28 t23 _stackSize; } t82_fields; #define t82_size (sizeof (t82_fields)) #define TC82 TC_Thread__SizedClosure IMPORT TYPE TC_Thread__SizedClosure; #line 28 IMPORT char VS_Thread__SizedClosure__8a46717d2eae7b07; #define t82_MapProc TC_Thread__SizedClosure->mapProc typedef CLOSURE t83; typedef float t86; #line 11 "WithStmt.m3" IMPORT INITLINK* Scanner__init; IMPORT INITLINK* Target__init; IMPORT INITLINK* ProcType__init; IMPORT INITLINK* Error__init; #line 11 IMPORT INITLINK* Token__init; IMPORT INITLINK* StmtRep__init; IMPORT INITLINK* Stmt__init; IMPORT INITLINK* Temp__init; IMPORT INITLINK* Type__init; #line 11 IMPORT INITLINK* ArrayType__init; IMPORT INITLINK* Emit__init; IMPORT INITLINK* Variable__init; IMPORT INITLINK* Value__init; #line 11 IMPORT INITLINK* String__init; IMPORT INITLINK* Scope__init; IMPORT INITLINK* Expr__init; IMPORT INITLINK* WithStmt__init; #line 11 IMPORT t20 _Scanner__cur; IMPORT char VS_Scanner__cur__929fa6f8367ea415; IMPORT t84 _Scanner__Match (); IMPORT char VS_Scanner__Match__aaf5b32f2f19a6d8; #line 11 IMPORT t7 _Scanner__MatchID (); IMPORT char VS_Scanner__MatchID__4fb3c66f3429afd9; IMPORT t84 _Scanner__GetToken (); IMPORT char VS_Scanner__GetToken__192100a32c7e576d; #line 11 IMPORT char VS_Target__CHARSIZE__bfc83af22ccab4e4; IMPORT t21 _ProcType__LargeResult (); IMPORT char VS_ProcType__LargeResult__547fe44c362c53bb; #line 11 IMPORT t8 _Token__DeclStart; IMPORT char VS_Token__DeclStart__730c82bc2c2001b8; IMPORT t8 _Token__TypeStart; IMPORT char VS_Token__TypeStart__f71616cb38a20d02; #line 11 IMPORT t8 _Token__ExprStart; IMPORT char VS_Token__ExprStart__21dc8a0a27344836; IMPORT t84 _StmtRep__Init (); IMPORT char VS_StmtRep__Init__fe14377c36e397de; #line 11 IMPORT TYPE TC_Stmt__T; IMPORT char VS_Stmt__T__2446b70b3f7780a5; IMPORT t10 _Stmt__Parse (); IMPORT char VS_Stmt__Parse__35df10ad3fd1dfe6; #line 11 IMPORT t84 _Stmt__Bind (); IMPORT char VS_Stmt__Bind__55f2c79a304c25df; IMPORT t84 _Stmt__TypeCheck (); IMPORT char VS_Stmt__TypeCheck__e228c94928564a9d; #line 11 IMPORT t84 _Stmt__Precompile (); IMPORT char VS_Stmt__Precompile__68dddedb3aa69659; IMPORT void _Stmt__Compile (); IMPORT char VS_Stmt__Compile__53f9f2c43edb087a; #line 11 IMPORT TYPE TC_Temp__T; IMPORT char VS_Temp__T__3a6c7dc12615e4ee; IMPORT t84 _Temp__Free (); IMPORT char VS_Temp__Free__3b952a2225c26846; #line 11 IMPORT TYPE TC_Type__T; IMPORT char VS_Type__T__2446b70b3f7780a5; IMPORT t17 _Type__Size (); IMPORT char VS_Type__Size__2f4d980e28adf05b; #line 11 IMPORT t17 _Type__Name (); IMPORT char VS_Type__Name__f99416972257a869; IMPORT t17 _ArrayType__OpenDepth (); IMPORT char VS_ArrayType__OpenDepth__0aca628230da93d9; #line 11 IMPORT char VS_Emit__MaxStream__cf0a0e8934c9c9f3; IMPORT TYPE TC_Emit__Format; IMPORT char VS_Emit__Format__bc4a2b083b93bbd7; #line 11 IMPORT t84 _Emit__Op (); IMPORT char VS_Emit__Op__072646cc27c8ae10; IMPORT t84 _Emit__OpI (); IMPORT char VS_Emit__OpI__02cb878634bb9f49; #line 11 IMPORT t84 _Emit__OpV (); IMPORT char VS_Emit__OpV__330b9ba039cee040; IMPORT t84 _Emit__OpT (); IMPORT char VS_Emit__OpT__764bdffe21d249e8; #line 11 IMPORT t15 _Variable__New (); IMPORT char VS_Variable__New__7401d5b22f8881d4; IMPORT t84 _Variable__BindType (); IMPORT char VS_Variable__BindType__6a32007d2a79f302; #line 11 IMPORT t84 _Variable__LoadLValue (); IMPORT char VS_Variable__LoadLValue__972aa6573932208a; IMPORT TYPE TC_Value__T; IMPORT char VS_Value__T__2446b70b3f7780a5; #line 11 IMPORT t1 _Value__TypeOf (); IMPORT char VS_Value__TypeOf__5fe9c10426934d60; IMPORT TYPE TC_Scope__T; IMPORT char VS_Scope__T__3a6c7dc12615e4ee; #line 11 IMPORT t84 _Scope__PopNew (); IMPORT char VS_Scope__PopNew__3afab09a31bee774; IMPORT t13 _Scope__New1 (); IMPORT char VS_Scope__New1__2600045021ca1fda; #line 11 IMPORT t84 _Scope__Push (); IMPORT char VS_Scope__Push__ff579fe72573f581; IMPORT t84 _Scope__Pop (); IMPORT char VS_Scope__Pop__cfcd8a43301536dd; #line 11 IMPORT t84 _Scope__Bind (); IMPORT char VS_Scope__Bind__344f0d6129e368d1; IMPORT t84 _Scope__TypeCheck (); IMPORT char VS_Scope__TypeCheck__f0c8e8c4224804fd; #line 11 IMPORT t84 _Scope__Enter (); IMPORT char VS_Scope__Enter__86781a4c2d3f0a08; IMPORT t84 _Scope__Exit (); IMPORT char VS_Scope__Exit__71e6b79c26940459; #line 11 IMPORT TYPE TC_Expr__T; IMPORT char VS_Expr__T__2446b70b3f7780a5; IMPORT t14 _Expr__Parse (); IMPORT char VS_Expr__Parse__193c41662e6da77f; #line 11 IMPORT t84 _Expr__Bind (); IMPORT char VS_Expr__Bind__7e2752da3eaf56eb; IMPORT t1 _Expr__TypeOf (); IMPORT char VS_Expr__TypeOf__fef0a11b388c64fa; #line 11 IMPORT t21 _Expr__IsDesignator (); IMPORT char VS_Expr__IsDesignator__e3556614321cb906; IMPORT t21 _Expr__IsWritable (); IMPORT char VS_Expr__IsWritable__85b9bb292e4a0f55; #line 11 IMPORT t84 _Expr__TypeCheck (); IMPORT char VS_Expr__TypeCheck__af9aa9073729e7f7; IMPORT t3 _Expr__Compile (); IMPORT char VS_Expr__Compile__a7e0cc4029a2ec76; #line 11 IMPORT t3 _Expr__CompileLValue (); IMPORT char VS_Expr__CompileLValue__46b9da092357ba5c; EXPORT t10 _WithStmt__Parse (); #line 11 EXPORT char VS_WithStmt__Parse__6754332837a102e8 = '\0'; PRIVATE TYPE TC_WithStmt__P; PRIVATE t10 _WithStmt__ParseTail (); #line 11 PRIVATE t84 _WithStmt__Bind (); PRIVATE t84 _WithStmt__Check (); PRIVATE t84 _WithStmt__Precompile (); PRIVATE void _WithStmt__Compile (); #line 11 IMPORT char VS_M3__Stmt__8851da472c4ee5cd; #line 33 "WithStmt.m3" EXPORT t10 _WithStmt__Parse (_fail) t8 * _fail; { t8 z3; t17 z4; t8 z5; t10 z2; #line 33 "WithStmt.m3" { auto t10 __result; { CHECKSTACKOVERFLOW; z3.elts [0] = 0x00100002; z3.elts [1] = 0x00240000; z3.elts [2] = 0; z3.elts [3] = 0; z5 = z3; _Scanner__Match ( 96 , &(*_fail), &z5); z2 = _WithStmt__ParseTail (&(*_fail)); __result = z2; return __result; } } }; #line 40 "WithStmt.m3" PRIVATE t10 _WithStmt__ParseTail (_fail) t8 * _fail; { t4 z0; t8 z1; t17 z2; t8 z3; t8 z4; t7 z5; t15 z6; t4 z7; t17 z8; t14 z9; t13 z10; t21 z11; t10 z12; #line 40 "WithStmt.m3" { auto t4 _p; auto t8 _fail2; auto t7 _id; auto t10 __result; { ZERO1 (& _p); #line 40 CHECKSTACKOVERFLOW; { register char** ptr = (char**) UNEWOBJ (TC4); z0 = (t4) ptr; }; _p = z0; _StmtRep__Init (_p); z1.elts [0] = 0x00004000; z1.elts [1] = 0x00240000; z1.elts [2] = 0; z1.elts [3] = 0; z3.elts[0] = (*_fail).elts[0] | z1.elts[0]; #line 46 z3.elts[1] = (*_fail).elts[1] | z1.elts[1]; z3.elts[2] = (*_fail).elts[2] | z1.elts[2]; z3.elts[3] = (*_fail).elts[3] | z1.elts[3]; #line 46 _fail2.elts[0] = z3.elts[0]; _fail2.elts[1] = z3.elts[1]; _fail2.elts[2] = z3.elts[2]; _fail2.elts[3] = z3.elts[3]; z3.elts [0] = 0x00100000; z3.elts [1] = 0; z3.elts [2] = 0; z3.elts [3] = 0; z4 = z3; z5 = _Scanner__MatchID (&_fail2, &z4); #line 47 _id = z5; z6 = _Variable__New (_id, 0 ); NILCHECKA (z7 = _p); (((t4_fields*)(z7+(0+t46_size+t65_size)))->_var) = z6; z3.elts [0] = 0; z3.elts [1] = 0; z3.elts [2] = 0; z3.elts [3] = 0; z4 = z3; _Scanner__Match ( 20 , &_fail2, &z4); z9 = _Expr__Parse (&_fail2); NILCHECKA (z7 = _p); (((t4_fields*)(z7+(0+t46_size+t65_size)))->_expr) = z9; NILCHECKA (z7 = _p); z10 = _Scope__New1 ((((t4_fields*)(z7+(0+t46_size+t65_size)))->_var)); NILCHECKA (z7 = _p); (((t4_fields*)(z7+(0+t46_size+t65_size)))->_scope) = z10; z11 = ((_Scanner__cur._token) == 14 ); if (z11) { _Scanner__GetToken (); z12 = _WithStmt__ParseTail (&(*_fail)); NILCHECKA (z7 = _p); (((t4_fields*)(z7+(0+t46_size+t65_size)))->_body) = z12; #line 54 goto if_1_end; }; z3.elts [0] = 0; z3.elts [1] = 0x00200000; z3.elts [2] = 0; z3.elts [3] = 0; z4 = z3; _Scanner__Match ( 50 , &(*_fail), &z4); z3.elts [0] = 0; z3.elts [1] = 0x00200000; z3.elts [2] = 0; z3.elts [3] = 0; z4.elts[0] = (*_fail).elts[0] | z3.elts[0]; #line 57 z4.elts[1] = (*_fail).elts[1] | z3.elts[1]; z4.elts[2] = (*_fail).elts[2] | z3.elts[2]; z4.elts[3] = (*_fail).elts[3] | z3.elts[3]; #line 57 z1 = z4; z12 = _Stmt__Parse (&z1); NILCHECKA (z7 = _p); (((t4_fields*)(z7+(0+t46_size+t65_size)))->_body) = z12; z3.elts [0] = 0; z3.elts [1] = 0; z3.elts [2] = 0; z3.elts [3] = 0; z4 = z3; _Scanner__Match ( 53 , &(*_fail), &z4); #line 58 if_1_end: /**/; _Scope__PopNew (); __result = _p; return __result; } } }; #line 64 "WithStmt.m3" PRIVATE t84 _WithStmt__Bind (_p) t4 _p; { t4 z2; t1 z3; t21 z4; t17 z5; t21 z1; t21 z6; t21 z7; #line 64 "WithStmt.m3" { auto t1 _t; { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); _Expr__Bind ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); NILCHECKA (z2 = _p); z3 = _Expr__TypeOf ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); _t = z3; NILCHECKA (z2 = _p); z4 = _Expr__IsDesignator ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); if (z4) { z5 = _ArrayType__OpenDepth (_t); z1 = (z5 == 0 ); if (z1) { NILCHECKA (z2 = _p); (((t4_fields*)(z2+(0+t46_size+t65_size)))->_kind) = 0 ; #line 70 goto if_3_end; }; NILCHECKA (z2 = _p); (((t4_fields*)(z2+(0+t46_size+t65_size)))->_kind) = 1 ; if_3_end: /**/; goto if_2_end; }; z4 = _ProcType__LargeResult (_t); #line 71 if (z4) { NILCHECKA (z2 = _p); (((t4_fields*)(z2+(0+t46_size+t65_size)))->_kind) = 2 ; goto if_2_end; }; NILCHECKA (z2 = _p); (((t4_fields*)(z2+(0+t46_size+t65_size)))->_kind) = 3 ; if_2_end: /**/; NILCHECKA (z2 = _p); z6 = ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_kind) == 0 ); z7 = _Expr__IsWritable ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); #line 76 z4 = ! z7; _Variable__BindType ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_var), _t, z6, z4, 1 ); NILCHECKA (z2 = _p); _Scope__Push ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope)); NILCHECKA (z2 = _p); _Scope__Bind ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope), 1 ); NILCHECKA (z2 = _p); _Stmt__Bind ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_body)); _Scope__Pop (); } } }; #line 83 "WithStmt.m3" PRIVATE t84 _WithStmt__Check (_p) t4 _p; { t4 z2; #line 83 "WithStmt.m3" { { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); _Expr__TypeCheck ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); NILCHECKA (z2 = _p); _Scope__TypeCheck ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope), 1 ); NILCHECKA (z2 = _p); _Scope__Push ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope)); NILCHECKA (z2 = _p); _Stmt__TypeCheck ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_body)); _Scope__Pop (); } } }; #line 92 "WithStmt.m3" PRIVATE t84 _WithStmt__Precompile (_p) t4 _p; { t4 z2; #line 92 "WithStmt.m3" { { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); _Scope__Push ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope)); NILCHECKA (z2 = _p); _Stmt__Precompile ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_body)); _Scope__Pop (); } } }; #line 99 "WithStmt.m3" PRIVATE void _WithStmt__Compile (_p, _return) t4 _p; t2* _return; { t4 z2; t1 z3; t17 z4; t4 z1; t3 z5; t4 z6; t1 z7; t17 z8; t2 z9; #line 99 "WithStmt.m3" { auto t3 _x; auto t2 _oc; auto t1 _t; auto t2 __result; { CHECKSTACKOVERFLOW; NILCHECKA (z2 = _p); z3 = _Value__TypeOf ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_var)); _t = z3; z4 = _Type__Name (_t); _Emit__OpI (((ADDRESS)(& txt1.str)), z4); NILCHECKA (z1 = _p); switch ((((t4_fields*)(z1+(0+t46_size+t65_size)))->_kind)) { case 0: case 1: _Emit__Op (((ADDRESS)(& txt2.str))); NILCHECKA (z2 = _p); z5 = _Expr__CompileLValue ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); _x = z5; _Emit__OpT (((ADDRESS)(& txt3.str)), _x); break; case 2: _Emit__Op (((ADDRESS)(& txt2.str))); NILCHECKA (z2 = _p); z5 = _Expr__Compile ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); _x = z5; _Emit__OpT (((ADDRESS)(& txt3.str)), _x); break; default: /**/; _Emit__Op (((ADDRESS)(& txt4.str))); NILCHECKA (z2 = _p); z5 = _Expr__Compile ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_expr)); _x = z5; _Emit__OpT (((ADDRESS)(& txt5.str)), _x); }; _Temp__Free (_x); NILCHECKA (z2 = _p); _Scope__Push ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope)); NILCHECKA (z2 = _p); _Scope__Enter ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope)); NILCHECKA (z1 = _p); switch ((((t4_fields*)(z1+(0+t46_size+t65_size)))->_kind)) { case 0: NILCHECKA (z2 = _p); _Variable__LoadLValue ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_var)); _Emit__Op (((ADDRESS)(& txt6.str))); break; case 1: NILCHECKA (z6 = _p); _Emit__OpV (((ADDRESS)(& txt7.str)), (((t4_fields*)(z6+(0+t46_size+t65_size)))->_var)); z4 = _Type__Name (_t); _Emit__OpI (((ADDRESS)(& txt8.str)), z4); break; case 2: NILCHECKA (z6 = _p); _Emit__OpV (((ADDRESS)(& txt7.str)), (((t4_fields*)(z6+(0+t46_size+t65_size)))->_var)); NILCHECKA (z6 = _p); z7 = _Expr__TypeOf ((((t4_fields*)(z6+(0+t46_size+t65_size)))->_expr)); z4 = _Type__Size (z7); #line 134 z8 = IDIV (z4, 8 ); _Emit__OpI (((ADDRESS)(& txt9.str)), z8); break; default: /**/; NILCHECKA (z6 = _p); _Emit__OpV (((ADDRESS)(& txt10.str)), (((t4_fields*)(z6+(0+t46_size+t65_size)))->_var)); }; NILCHECKA (z2 = _p); _Stmt__Compile ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_body), &z9); _oc.elts[0] = z9.elts[0]; NILCHECKA (z2 = _p); _Scope__Exit ((((t4_fields*)(z2+(0+t46_size+t65_size)))->_scope)); _Scope__Pop (); _Emit__Op (((ADDRESS)(& txt11.str))); __result = _oc; *_return = __result; return; } } }; PRIVATE int init_done = -1; #line 142 "WithStmt.m3" PRIVATE void WithStmt__initProc (g) int g; { #line 142 "WithStmt.m3" if (init_done >= g) return; init_done = g; INITIALIZE (& WithStmt__init); INITIALIZE (& Scanner__init); INITIALIZE (& Target__init); #line 142 INITIALIZE (& ProcType__init); INITIALIZE (& Error__init); INITIALIZE (& Token__init); INITIALIZE (& StmtRep__init); INITIALIZE (& Stmt__init); #line 142 INITIALIZE (& Temp__init); INITIALIZE (& Type__init); INITIALIZE (& ArrayType__init); INITIALIZE (& Emit__init); INITIALIZE (& Variable__init); #line 142 INITIALIZE (& Value__init); INITIALIZE (& String__init); INITIALIZE (& Scope__init); INITIALIZE (& Expr__init); return; }; #line 142 #line 142 "WithStmt.m3" PRIVATE void t4_InitProc (obj) char* obj; { register t4_fields* p; #line 142 "WithStmt.m3" CHECKSTACKOVERFLOW; p = (t4_fields*) (obj + TC10->datasize); }; #line 142 "WithStmt.m3" PRIVATE void t4_SetupProc () { register int* p; #line 142 "WithStmt.m3" t4_TC.datasize += TC10->datasize; t4_TC.methodsize += TC10->methodsize; p = (int*) UALLOC (t4_TC.methodsize); COPY (TC10->defaultMethods, p, (TC10->methodsize)); #line 142 p[0] = (int)(& t4_TC); p[1] = 0; ((t46_methods*) (((char*)p) + TC65->methodsize))->_bind = _WithStmt__Bind; ((t46_methods*) (((char*)p) + TC65->methodsize))->_check = _WithStmt__Check; #line 142 ((t46_methods*) (((char*)p) + TC65->methodsize))->_precompile = _WithStmt__Precompile; ((t46_methods*) (((char*)p) + TC65->methodsize))->_compile = _WithStmt__Compile; #line 142 t4_TC.defaultMethods = (char*) p; }; #line 142 "WithStmt.m3" PRIVATE void t4_PrintProc (obj) char *obj; { t4_fields* o; #line 142 "WithStmt.m3" CHECKSTACKOVERFLOW; if (TC10->printProc != 0) {TC10->printProc (obj); } fprintf (stderr, "{%s} ", TC4->brand); o = (t4_fields*) (obj + TC10->datasize); #line 142 fprintf (stderr, "var = %#x", o->_var); fprintf (stderr, ", "); fprintf (stderr, "expr = %#x", o->_expr); fprintf (stderr, ", "); #line 142 fprintf (stderr, "scope = %#x", o->_scope); fprintf (stderr, ", "); fprintf (stderr, "body = %#x", o->_body); fprintf (stderr, ", "); #line 142 fprintf (stderr, "kind = %d", o->_kind); fprintf (stderr, ", "); }; PRIVATE INITLINK me_0 ={(INITLINK*)NIL, 0, WithStmt__initProc}; static char* VSimports[] = { &VS_Scanner__cur__929fa6f8367ea415, &VS_Scanner__Match__aaf5b32f2f19a6d8, &VS_Scanner__MatchID__4fb3c66f3429afd9, &VS_Scanner__GetToken__192100a32c7e576d, &VS_Target__CHARSIZE__bfc83af22ccab4e4, &VS_ProcType__Raisee__5fe771ff27c179d9, &VS_ProcType__LargeResult__547fe44c362c53bb, &VS_Token__DeclStart__730c82bc2c2001b8, &VS_Token__TypeStart__f71616cb38a20d02, &VS_Token__ExprStart__21dc8a0a27344836, &VS_StmtRep__Init__fe14377c36e397de, &VS_Stmt__T__2446b70b3f7780a5, &VS_Stmt__Parse__35df10ad3fd1dfe6, &VS_Stmt__Bind__55f2c79a304c25df, &VS_Stmt__TypeCheck__e228c94928564a9d, &VS_Stmt__Precompile__68dddedb3aa69659, &VS_Stmt__Compile__53f9f2c43edb087a, &VS_Temp__T__3a6c7dc12615e4ee, &VS_Temp__Free__3b952a2225c26846, &VS_Type__T__2446b70b3f7780a5, &VS_Type__Map__41dd9f4b33104fce, &VS_Type__List__5791758e343becc1, &VS_Type__Size__2f4d980e28adf05b, &VS_Type__Name__f99416972257a869, &VS_ArrayType__OpenDepth__0aca628230da93d9, &VS_Emit__MaxStream__cf0a0e8934c9c9f3, &VS_Emit__Format__bc4a2b083b93bbd7, &VS_Emit__Op__072646cc27c8ae10, &VS_Emit__OpI__02cb878634bb9f49, &VS_Emit__OpV__330b9ba039cee040, &VS_Emit__OpT__764bdffe21d249e8, &VS_Variable__T__be7ead4a3afd8be5, &VS_Variable__New__7401d5b22f8881d4, &VS_Variable__BindType__6a32007d2a79f302, &VS_Variable__LoadLValue__972aa6573932208a, &VS_Value__T__2446b70b3f7780a5, &VS_Value__TypeOf__5fe9c10426934d60, &VS_String__T__3a6c7dc12615e4ee, &VS_Scope__T__3a6c7dc12615e4ee, &VS_Scope__ValueList__64bf053e22e4e53c, &VS_Scope__PopNew__3afab09a31bee774, &VS_Scope__New1__2600045021ca1fda, &VS_Scope__Push__ff579fe72573f581, &VS_Scope__Pop__cfcd8a43301536dd, &VS_Scope__Bind__344f0d6129e368d1, &VS_Scope__TypeCheck__f0c8e8c4224804fd, &VS_Scope__Enter__86781a4c2d3f0a08, &VS_Scope__Exit__71e6b79c26940459, &VS_Expr__T__2446b70b3f7780a5, &VS_Expr__List__3f87eceb2b9a246a, &VS_Expr__Parse__193c41662e6da77f, &VS_Expr__Bind__7e2752da3eaf56eb, &VS_Expr__TypeOf__fef0a11b388c64fa, &VS_Expr__IsDesignator__e3556614321cb906, &VS_Expr__IsWritable__85b9bb292e4a0f55, &VS_Expr__TypeCheck__af9aa9073729e7f7, &VS_Expr__Compile__a7e0cc4029a2ec76, &VS_Expr__CompileLValue__46b9da092357ba5c, &VS_Scanner__cur__929fa6f8367ea415, &VS_Scanner__GetToken__192100a32c7e576d, &VS_Scanner__MatchID__4fb3c66f3429afd9, &VS_Scanner__Match__aaf5b32f2f19a6d8, NIL }; void WithStmt__MLink (phase) int phase; { switch (phase) { case 0: { me_0.link = WithStmt__init; WithStmt__init = & me_0; t4_TC = t4_TC_init; REGISTERTYPE (TC4); break; }; case 1: { t4_TC.parent = TC_M3__Stmt; break; }; case 2: { break; }; }; };