Revision: 2879 http://trac.macosforge.org/projects/ruby/changeset/2879 Author: vincent.isambart@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
participants (1)
-
source_changes@macosforge.org