Commit b7695867 authored by Tamar Christina's avatar Tamar Christina

Fix windows validate

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:
parent 8dfca69f
......@@ -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 )
Markdown is supported
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