[racket-dev] how to disable intra-module constant inlining?

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Wed Jan 18 17:54:06 EST 2012

Hi everyone,

So Whalesong is actually breaking on a few of my test case examples
because 5.2.1 does some aggressive inlining.  Specifically, it's doing
intra-module constant optimizations.  Whalesong depends on the late
binding of module bindings in some special places (specifically, the
FFI), so I need a way of turning that constant inlining off.  I tried
using (compile-enforce-module-constants #f), but that didn't seem to
do the trick.

Posted on the dev mailing list.