[macruby-changes] [1993] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Sun Jul 5 16:16:59 PDT 2009
Revision: 1993
http://trac.macosforge.org/projects/ruby/changeset/1993
Author: lsansonetti at apple.com
Date: 2009-07-05 16:16:58 -0700 (Sun, 05 Jul 2009)
Log Message:
-----------
make sure the VM can compile with ROXOR_VM_DEBUG
Modified Paths:
--------------
MacRuby/branches/experimental/vm.cpp
MacRuby/branches/experimental/vm.h
Modified: MacRuby/branches/experimental/vm.cpp
===================================================================
--- MacRuby/branches/experimental/vm.cpp 2009-07-05 23:16:12 UTC (rev 1992)
+++ MacRuby/branches/experimental/vm.cpp 2009-07-05 23:16:58 UTC (rev 1993)
@@ -4758,6 +4758,6 @@
}
#if ROXOR_VM_DEBUG
printf("functions all=%ld compiled=%ld\n", RoxorCompiler::module->size(),
- GET_VM()->functions_compiled);
+ GET_CORE()->get_functions_compiled());
#endif
}
Modified: MacRuby/branches/experimental/vm.h
===================================================================
--- MacRuby/branches/experimental/vm.h 2009-07-05 23:16:12 UTC (rev 1992)
+++ MacRuby/branches/experimental/vm.h 2009-07-05 23:16:58 UTC (rev 1993)
@@ -569,6 +569,10 @@
READER(load_path, VALUE);
READER(threads, VALUE);
+#if ROXOR_VM_DEBUG
+ READER(functions_compiled, long);
+#endif
+
void lock(void) {
if (multithreaded) {
assert(pthread_mutex_lock(&gl) == 0);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090705/f184091d/attachment.html>
More information about the macruby-changes
mailing list