[macruby-changes] [3585] MacRuby/branches/icu/string.c

source_changes at macosforge.org source_changes at macosforge.org
Sat Feb 20 01:36:44 PST 2010


Revision: 3585
          http://trac.macosforge.org/projects/ruby/changeset/3585
Author:   lsansonetti at apple.com
Date:     2010-02-20 01:36:44 -0800 (Sat, 20 Feb 2010)
Log Message:
-----------
s/rb_funcall/rb_vm_call/

Modified Paths:
--------------
    MacRuby/branches/icu/string.c

Modified: MacRuby/branches/icu/string.c
===================================================================
--- MacRuby/branches/icu/string.c	2010-02-20 09:34:37 UTC (rev 3584)
+++ MacRuby/branches/icu/string.c	2010-02-20 09:36:44 UTC (rev 3585)
@@ -1853,7 +1853,7 @@
 	    return regexp_match(other, 0, self);
 
 	default:
-	    return rb_funcall(other, rb_intern("=~"), 1, self);
+	    return rb_vm_call(other, selEqTilde, 1, &self, false);
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100220/ad7eb6d4/attachment.html>


More information about the macruby-changes mailing list