ruby-cvs:23572
From: akr ruby-lang.org
Date: Thu, 8 May 2008 16:46:31 +0900 (JST)
Subject: [ruby-cvs:23572] Ruby:r16332 (trunk): * file.c (rb_find_file_ext): guard load_path from GC.
akr 2008-05-08 16:46:30 +0900 (Thu, 08 May 2008)
New Revision: 16332
Modified files:
trunk/ChangeLog
trunk/file.c
Log:
* file.c (rb_find_file_ext): guard load_path from GC.
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) optimizes
load_path by holding only RARRAY_LEN(load_path) and
RARRAY_PTR(load_path) in registers on IA64 GNU/Linux Etch.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/file.c?r1=16332&r2=16331&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=16332&r2=16331&diff_format=u