Skip to content

v1.0: Disable peephole optimization to make sure all method calls & returns…

Latest
Compare
Choose a tag to compare
@zetter zetter released this 20 Feb 21:32
… are logged

There seems to be multiple bugs in the Ruby compile where optimizations 
have caused flags that tracepoint relies on to be missed. I reported one 
in [1] which was fixed, but the calls and returns still didn't add up so 
there may be more.

[1] https://github.com/ruby/ruby/blob/trunk/compile.c#L2704