From a37463ef14409c81422b3c3d6c35a0dbd21f51b7 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 9 Jun 2008 09:25:32 +0000 Subject: * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc. * *.c: no cache in init functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- enum.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'enum.c') diff --git a/enum.c b/enum.c index 7a7f18016..e4d4ee596 100644 --- a/enum.c +++ b/enum.c @@ -1566,7 +1566,7 @@ enum_zip(int argc, VALUE *argv, VALUE obj) } } if (!allary) { - conv = rb_intern("to_enum"); + CONST_ID(conv, "to_enum"); for (i=0; i