mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
85bc3bdb08
commit
035e4949c5
2 changed files with 7 additions and 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.
|
||||
|
|
3
vm.c
3
vm.c
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue