diff options
author | Tamar Christina <tamar@zhox.com> | 2016-11-17 00:45:17 +0000 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2016-11-17 00:45:17 +0000 |
commit | b76958671cda1df9f6f0e1d54d681144d09cb06e (patch) | |
tree | b0b40eca43a715f6bad88d0db064ca22114ebf4f /rts/LinkerInternals.h | |
parent | 8dfca69f2339d8d6719f57a4592d35c7d09cca5f (diff) | |
download | haskell-b76958671cda1df9f6f0e1d54d681144d09cb06e.tar.gz |
Fix windows validate
Summary:
mark myindex as inline only and hide it from profilers.
Also prevent this function from being used any other way
than just for inlining.
Test Plan: ./validate
Reviewers: austin, erikd, simonmar, bgamari
Reviewed By: bgamari
Subscribers: thomie, #ghc_windows_task_force
Differential Revision: https://phabricator.haskell.org/D2715
Diffstat (limited to 'rts/LinkerInternals.h')
-rw-r--r-- | rts/LinkerInternals.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h index 4806d53a9a..befd17bfcd 100644 --- a/rts/LinkerInternals.h +++ b/rts/LinkerInternals.h @@ -281,7 +281,7 @@ int machoGetMisalignment( FILE * f ); arising from using normal C indexing or pointer arithmetic are just plain wrong. Sigh. */ -STATIC_INLINE unsigned char * +INLINE_HEADER unsigned char * myindex ( int scale, void* base, int index ) { return |