Skip to content
Commit 562af287 authored by Jim Blandy's avatar Jim Blandy Committed by Dzmitry Malyshau
Browse files

[spv-out] Move cached expression table to BlockContext.

Since the table of cached expressions is only meaningful within a single
function, it's really something that should only be accessed from
`BlockContext`.

However, to save heap allocations, it makes sense to retain it in the `Writer`
between functions. But the `Writer` field should have a different name, to
ensure people don't use it by accident.
parent a818b2e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment