Revision
4555
Author
lsansonetti@apple.com
Date
2010-09-28 17:11:24 -0700 (Tue, 28 Sep 2010)

Log Message

AOT: disable frame pointer elimination optimization because it will mess up with the backtracing routines

Modified Paths

Diff

Modified: MacRuby/trunk/bin/rubyc (4554 => 4555)


--- 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