about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorJohn Clements <clements@racket-lang.org>2013-02-04 12:07:44 -0800
committerJohn Clements <clements@racket-lang.org>2013-02-04 21:00:17 -0800
commitb4138c1151a55b8883f09712a35bb8117387e8d1 (patch)
treed991c95588d16ac4250dbe01ec2fb33706486c99 /src/rt/rust_kernel.cpp
parentbffe3088c7aa79648ef58b635e24a7a28989d183 (diff)
downloadrust-b4138c1151a55b8883f09712a35bb8117387e8d1.tar.gz
rust-b4138c1151a55b8883f09712a35bb8117387e8d1.zip
demodeing, un-gc-ing
It looks to me like the string_reader and tt_reader structs are
GC pointers only because they predate the modern borrow system.
This commit leaves the type names string_reader and tt_reader alone
(they still refer to GC-ed pointers), but internally the functions
now use borrowed pointers to refer to these structures. My guess
would be that it's possible to move this change outward and not
use the GCed pointers at all, but that change looks like it could be
a larger one. Actually, I'm delighted at how quick this change was.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions