diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-30 22:25:13 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-12-30 22:25:13 +0000 |
commit | 035e4949c5f3c1dda9a9bf31db3f29201d70a25f (patch) | |
tree | bb120b8253868b8637b0599b48a70f259777ccde | |
parent | 85bc3bdb08ef4380d3d4c78e773a02dadc011558 (diff) | |
download | ruby-035e4949c5f3c1dda9a9bf31db3f29201d70a25f.tar.gz |
* vm.c (vm_exec): add guard to prevent optimization for LLVM clang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vm.c | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Mon Dec 26 17:20:10 2011 NARUSE, Yui <naruse@ruby-lang.org> + + * vm.c (vm_exec): add guard to prevent optimization for LLVM clang. + Fri Dec 30 17:01:12 2011 Ayumu AIZAWA <ayumu.aizawa@gmail.com> * vm_eval.c (rb_f_send): fix iobj.send() documentation issue. @@ -1216,6 +1216,9 @@ vm_exec(rb_thread_t *th) vm_loop_start: result = vm_exec_core(th, initial); if ((state = th->state) != 0) { +#ifdef __llvm__ + rb_thread_t t = *th; +#endif err = result; th->state = 0; goto exception_handler; |