about summary refs log tree commit diff stats
path: root/071read-line.subx
diff options
context:
space:
mode:
Diffstat (limited to '071read-line.subx')
-rw-r--r--071read-line.subx12
1 files changed, 4 insertions, 8 deletions
diff --git a/071read-line.subx b/071read-line.subx
index 5c4019ab..c729d364 100644
--- a/071read-line.subx
+++ b/071read-line.subx
@@ -118,11 +118,9 @@ test-read-line-buffered:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    # . clear-stream(_test-buffered-file+4)
+    # . clear-stream(_test-buffered-file->buffer)
     # . . push args
-    b8/copy-to-eax  _test-buffered-file/imm32
-    05/add-to-eax  4/imm32
-    50/push-eax
+    68/push  _test-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args
@@ -172,11 +170,9 @@ test-read-line-buffered-reads-final-line-until-Eof:
     e8/call  clear-stream/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               4/imm32           # add to esp
-    # . clear-stream(_test-buffered-file+4)
+    # . clear-stream(_test-buffered-file->buffer)
     # . . push args
-    b8/copy-to-eax  _test-buffered-file/imm32
-    05/add-to-eax  4/imm32
-    50/push-eax
+    68/push  _test-buffered-file->buffer/imm32
     # . . call
     e8/call  clear-stream/disp32
     # . . discard args