diff options
author | Michal Terepeta <michal.terepeta@gmail.com> | 2017-07-28 11:47:28 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-07-28 12:36:48 -0400 |
commit | dac4b9d3cdca83c99d5d894d2743cc0bbca450ac (patch) | |
tree | 6786c239315cd9c8c56df566fe32ba385fa53013 /.gitmodules | |
parent | 274e9b27de30e1b7d5db8cb97b34d53ae9609a9b (diff) | |
download | haskell-dac4b9d3cdca83c99d5d894d2743cc0bbca450ac.tar.gz |
ByteCodeGen: use byte indexing for BCenv
This is another change needed for #13825 (also based on D38 by Simon
Marlow).
With the change, we count the stack depth in bytes (instead of words).
We also introduce some `newtype`s to help with the change.
Note that this only changes how `ByteCodeGen` works and shouldn't
affect the generated bytecode.
Signed-off-by: Michal Terepeta <michal.terepeta@gmail.com>
Test Plan: ./validate
Reviewers: bgamari, simonmar, austin, hvr
Reviewed By: bgamari, simonmar
Subscribers: rwbarton, thomie
GHC Trac Issues: #13825
Differential Revision: https://phabricator.haskell.org/D3746
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions