Skip to content
This repository
Browse code

update winxed snapshot to a1b000203c:

- HLL fixes and improvements
- --debug option, __DEBUG__ predefined constant and __ASSERT__ builtin
- Minor fixes
  • Loading branch information...
commit 7e2fbb1ce42baea78bf14b8caba5a0dc756d0320 1 parent 27a1525
NotFound authored September 12, 2011
14,267  ext/winxed/compiler.pir
7375 additions, 6892 deletions not shown
20  ext/winxed/driver.pir
@@ -231,11 +231,13 @@
231 231
   __label_8:
232 232
     unless $I3 goto __label_6
233 233
 .annotate 'line', 66
234  
-    concat $S1, '--', $S1
  234
+    concat $S3, '--', $S1
  235
+    set $S1, $S3
235 236
     goto __label_7
236 237
   __label_6: # else
237 238
 .annotate 'line', 68
238  
-    concat $S1, '-', $S1
  239
+    concat $S4, '-', $S1
  240
+    set $S1, $S4
239 241
   __label_7: # endif
240 242
 .annotate 'line', 69
241 243
 # predefined length
@@ -296,11 +298,13 @@
296 298
     sub $I3, $I1, 7
297 299
 # predefined substr
298 300
     substr $S3, __ARG_1, 0, $I3
299  
-    concat $S1, $S3, __ARG_2
  301
+    concat $S4, $S3, __ARG_2
  302
+    set $S1, $S4
300 303
     goto __label_2
301 304
   __label_1: # else
302 305
 .annotate 'line', 85
303  
-    concat $S1, __ARG_1, __ARG_2
  306
+    concat $S5, __ARG_1, __ARG_2
  307
+    set $S1, $S5
304 308
   __label_2: # endif
305 309
 .annotate 'line', 86
306 310
     .return($S1)
@@ -653,8 +657,9 @@
653 657
   __label_29: # endif
654 658
 .annotate 'line', 210
655 659
 # expr: $S8
656  
-    concat $S8, 'function main[main](argv){', $S2
657  
-    concat $S8, $S8, ';}'
  660
+    concat $S10, 'function main[main](argv){', $S2
  661
+    concat $S10, $S10, ';}'
  662
+    set $S8, $S10
658 663
 .annotate 'line', 211
659 664
     $P11 = $P10.'compile'($S8, $P9 :flat :named)
660 665
 .annotate 'line', 213
@@ -743,7 +748,8 @@
743 748
     goto __label_42
744 749
   __label_43:
745 750
 # predefined getstdout
746  
-    getstdout $P16
  751
+    getstdout $P20
  752
+    set $P16, $P20
747 753
   __label_42:
748 754
 .annotate 'line', 236
749 755
     $P16.'print'($P11)

0 notes on commit 7e2fbb1

Please sign in to comment.
Something went wrong with that request. Please try again.