AOT: disable frame pointer elimination optimization because it will mess up with the backtracing routines
--- MacRuby/trunk/bin/rubyc 2010-09-28 23:38:57 UTC (rev 4554)
+++ MacRuby/trunk/bin/rubyc 2010-09-29 00:11:24 UTC (rev 4555)
@@ -73,7 +73,7 @@
@tmpdir = (ENV['TMPDIR'] or '/tmp')
@tmpfiles = []
- @llc_flags = '-relocation-model=pic '
+ @llc_flags = '-relocation-model=pic -disable-fp-elim '
if system("#{@llc} -help | grep jit-enable-eh >& /dev/null")
@llc_flags << '-jit-enable-eh'
else