Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 NotFound authored
Showing with 7,388 additions and 6,899 deletions.
  1. +7,375 −6,892 ext/winxed/compiler.pir
  2. +13 −7 ext/winxed/driver.pir
14,267 ext/winxed/compiler.pir
View
7,375 additions, 6,892 deletions not shown
20 ext/winxed/driver.pir
View
@@ -231,11 +231,13 @@
__label_8:
unless $I3 goto __label_6
.annotate 'line', 66
- concat $S1, '--', $S1
+ concat $S3, '--', $S1
+ set $S1, $S3
goto __label_7
__label_6: # else
.annotate 'line', 68
- concat $S1, '-', $S1
+ concat $S4, '-', $S1
+ set $S1, $S4
__label_7: # endif
.annotate 'line', 69
# predefined length
@@ -296,11 +298,13 @@
sub $I3, $I1, 7
# predefined substr
substr $S3, __ARG_1, 0, $I3
- concat $S1, $S3, __ARG_2
+ concat $S4, $S3, __ARG_2
+ set $S1, $S4
goto __label_2
__label_1: # else
.annotate 'line', 85
- concat $S1, __ARG_1, __ARG_2
+ concat $S5, __ARG_1, __ARG_2
+ set $S1, $S5
__label_2: # endif
.annotate 'line', 86
.return($S1)
@@ -653,8 +657,9 @@
__label_29: # endif
.annotate 'line', 210
# expr: $S8
- concat $S8, 'function main[main](argv){', $S2
- concat $S8, $S8, ';}'
+ concat $S10, 'function main[main](argv){', $S2
+ concat $S10, $S10, ';}'
+ set $S8, $S10
.annotate 'line', 211
$P11 = $P10.'compile'($S8, $P9 :flat :named)
.annotate 'line', 213
@@ -743,7 +748,8 @@
goto __label_42
__label_43:
# predefined getstdout
- getstdout $P16
+ getstdout $P20
+ set $P16, $P20
__label_42:
.annotate 'line', 236
$P16.'print'($P11)
Please sign in to comment.
Something went wrong with that request. Please try again.