Project

General

Profile

Actions

Bug #9609

closed

[PATCH] vm_eval.c: fix misplaced RB_GC_GUARDs

Added by normalperson (Eric Wong) over 11 years ago. Updated over 7 years ago.

Status:
Rejected
Target version:
-
ruby -v:
-
Backport:
[ruby-core:61359]

Description

RB_GC_GUARD needs to be placed after RARRAY_PTR usages to portably
prevent compilers from optimizing the VALUE away.


Files

0001-vm_eval.c-fix-misplaced-GC-guard.patch (1.46 KB) 0001-vm_eval.c-fix-misplaced-GC-guard.patch normalperson (Eric Wong), 03/07/2014 10:06 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0