mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.
* vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a903f89a23
commit
587135e994
3 changed files with 6 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jan 20 17:37:37 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* vm.c (vm_exec): remove workaround for LLVM because r34278 fixes it.
|
||||
|
||||
* vm_insnhelper.c (vm_call_cfunc): ditto.
|
||||
|
||||
Fri Jan 20 14:31:43 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/net/http.rb (Net::HTTP#transport_request): retry a idempotent
|
||||
|
|
3
vm.c
3
vm.c
|
@ -1216,9 +1216,6 @@ vm_exec(rb_thread_t *th)
|
|||
vm_loop_start:
|
||||
result = vm_exec_core(th, initial);
|
||||
if ((state = th->state) != 0) {
|
||||
#ifdef __llvm__ /* LLVM optimization guard for TestEnumerator#test_nested_iteration */
|
||||
(void)__extension__({rb_thread_t t = *th; t;});
|
||||
#endif
|
||||
err = result;
|
||||
th->state = 0;
|
||||
goto exception_handler;
|
||||
|
|
|
@ -454,10 +454,6 @@ vm_call_cfunc(rb_thread_t *th, rb_control_frame_t *reg_cfp,
|
|||
if (reg_cfp != th->cfp + 1) {
|
||||
rb_bug("cfp consistency error - send");
|
||||
}
|
||||
#ifdef __llvm__
|
||||
#define RB_LLVM_GUARD(v) (*RB_GC_GUARD_PTR((volatile VALUE *)&(v)))
|
||||
RB_LLVM_GUARD(reg_cfp);
|
||||
#endif
|
||||
|
||||
vm_pop_frame(th);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue