Permalink
Browse files

The Winxed compiler relies on StringHandle.read(0) being equivalent t…

…o StringHandle.readall(). This semantic was unique to StringHandle and is not carried over into the new system. As a temporary fix update the winxed compiler generated .pir code to use the correct method. All coretests (at least) pass
  • Loading branch information...
1 parent a08def9 commit dd76985ff44525db5714bd0314842d10c69a0d42 @Whiteknight Whiteknight committed Jun 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 ext/winxed/compiler.pir
View
@@ -25759,7 +25759,7 @@
goto __label_7
__label_6: # else
$P1.'close'()
- $P5 = $P1.'read'(0)
+ $P5 = $P1.'readall'()
null $S1
if_null $P5, __label_8
set $S1, $P5
@@ -25811,7 +25811,7 @@
goto __label_4
__label_3: # else
$P1.'close'()
- .tailcall $P1.'read'(0)
+ .tailcall $P1.'readall'()
__label_4: # endif
.end # __private_geninclude

0 comments on commit dd76985

Please sign in to comment.