[macruby-changes] [2879] MacRuby/trunk/vm.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 21 16:17:34 PDT 2009
Revision: 2879
http://trac.macosforge.org/projects/ruby/changeset/2879
Author: vincent.isambart at gmail.com
Date: 2009-10-21 16:17:31 -0700 (Wed, 21 Oct 2009)
Log Message:
-----------
delenda does not work on Leopard
Modified Paths:
--------------
MacRuby/trunk/vm.cpp
Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp 2009-10-21 22:53:56 UTC (rev 2878)
+++ MacRuby/trunk/vm.cpp 2009-10-21 23:17:31 UTC (rev 2879)
@@ -435,6 +435,7 @@
{
assert(func->use_empty());
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
// Remove from cache.
std::map<Function *, IMP>::iterator iter = JITcache.find(func);
if (iter != JITcache.end()) {
@@ -461,6 +462,7 @@
// Delete IR.
func->eraseFromParent();
+#endif
}
bool
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091021/0cc977d2/attachment.html>
More information about the macruby-changes
mailing list