--- 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