[commit: ghc] master: Interpreter.c: use macros to access/modify Sp (5469ac8)
git at git.haskell.org
git at git.haskell.org
Thu Jul 20 16:05:10 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5469ac86f9cc9e83b93ed34ca13f0a4f58f4a9a6/ghc
>---------------------------------------------------------------
commit 5469ac86f9cc9e83b93ed34ca13f0a4f58f4a9a6
Author: Michal Terepeta <michal.terepeta at gmail.com>
Date: Thu Jul 20 11:30:54 2017 -0400
Interpreter.c: use macros to access/modify Sp
This is another step in fixing #13825 (based on D38 by Simon Marlow).
This commit adds a few macros for accessing and modifying `Sp`
(interpreter stack) and will be useful to allow sub-word
indexing/pushing. (but that will be a separate change, this commit
should introduce no changes in behavior)
Signed-off-by: Michal Terepeta <michal.terepeta at gmail.com>
Test Plan: ./validate
Reviewers: bgamari, simonmar, austin, erikd
Reviewed By: bgamari, erikd
Subscribers: rwbarton, thomie
GHC Trac Issues: #13825
Differential Revision: https://phabricator.haskell.org/D3744
>---------------------------------------------------------------
5469ac86f9cc9e83b93ed34ca13f0a4f58f4a9a6
rts/Interpreter.c | 467 ++++++++++++++++++++++++++++--------------------------
1 file changed, 240 insertions(+), 227 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 5469ac86f9cc9e83b93ed34ca13f0a4f58f4a9a6
More information about the ghc-commits
mailing list