- Timestamp:
- 07/24/16 13:50:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/framscript.y
r523 r538 1184 1184 { 1185 1185 if ($6.constant) 1186 {trctx.out->printf("move s0,m1\ncall [m1].\"set\",%s,%s\ninc m0\n",litstr($3),litstr($6)); $$=$6;trstack.adjust(+1);}1186 {trctx.out->printf("move s0,m1\ncall [m1].\"set\",%s,%s\ninc m0\n",litstr($3),litstr($6));trstack.adjust(+1);} 1187 1187 else 1188 {trctx.out->printf("move s1,m1\npush s0\n move %s,s1\ncall [m1].\"set\"\nadd 2,m0\nmove s-2,s0\n",litstr($3));trstack.adjust(+1);}1188 {trctx.out->printf("move s1,m1\npush s0\npush s0\nmove %s,s1\ncall [m1].\"set\"\nadd 3,m0\nmove s-1,s0\n",litstr($3));trstack.adjust(+1);} 1189 1189 } 1190 1190 else … … 1193 1193 {trctx.out->printf("move s1,m1\npush %s\ncall [m1].\"set\"\nadd 3,m0\n",litstr($6)); trstack.adjust(+2);} 1194 1194 else 1195 {trctx.out->printf("move s2,m1\n call [m1].\"set\"\nadd 2,m0\nmove s-2,s0\n"); trstack.adjust(+2);}1195 {trctx.out->printf("move s2,m1\npush s1\npush s1\ncall [m1].\"set\"\nadd 4,m0\nmove s-2,s0\n"); trstack.adjust(+2);} 1196 1196 } 1197 1197 } … … 1276 1276 {trctx.out->printf("move s0,m1\ncall [m1].\"set\",%s,%s\ninc m0\n",litstr($3),litstr($5));$$=$5;trstack.adjust(+1);} 1277 1277 else 1278 {trctx.out->printf("move s1,m1\npush s0\n move %s,s1\ncall [m1].\"set\"\nadd 2,m0\nmove s-2,s0\n",litstr($3));trstack.adjust(+1);}1278 {trctx.out->printf("move s1,m1\npush s0\npush s0\nmove %s,s1\ncall [m1].\"set\"\nadd 3,m0\nmove s-1,s0\n",litstr($3));trstack.adjust(+1);} 1279 1279 } 1280 1280
Note: See TracChangeset
for help on using the changeset viewer.