This commit is contained in:
Kartik K. Agaram 2021-05-14 07:59:32 -07:00
parent c7ade29c69
commit 9b37c03de9
1 changed files with 1 additions and 3 deletions

View File

@ -1,8 +1,5 @@
# Methods for constructing buffered-file objects. # Methods for constructing buffered-file objects.
# #
# TODO: There are hard-coded parameters here for buffer sizes. When they
# overflow, tracking down what's going on can get hairy.
#
# HACK: buffered-file stores naked addrs. This is safe because buffered-file # HACK: buffered-file stores naked addrs. This is safe because buffered-file
# objects are opaque. But still sub-optimal; they'll be harder to reclaim when # objects are opaque. But still sub-optimal; they'll be harder to reclaim when
# we get around to that. # we get around to that.
@ -132,6 +129,7 @@ $populate-buffered-file-containing:end:
5d/pop-to-ebp 5d/pop-to-ebp
c3/return c3/return
# TODO: hard-coded parameter
new-buffered-file: # out: (addr handle buffered-file) new-buffered-file: # out: (addr handle buffered-file)
# . prologue # . prologue
55/push-ebp 55/push-ebp