[macruby-changes] [4085] MacRuby/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Wed May 12 18:40:39 PDT 2010
Revision: 4085
http://trac.macosforge.org/projects/ruby/changeset/4085
Author: lsansonetti at apple.com
Date: 2010-05-12 18:40:37 -0700 (Wed, 12 May 2010)
Log Message:
-----------
removed deprecated DLOG and rb_iseq_*
Modified Paths:
--------------
MacRuby/trunk/bs.c
MacRuby/trunk/variable.c
MacRuby/trunk/vm.cpp
MacRuby/trunk/vm.h
Modified: MacRuby/trunk/bs.c
===================================================================
--- MacRuby/trunk/bs.c 2010-05-13 01:33:20 UTC (rev 4084)
+++ MacRuby/trunk/bs.c 2010-05-13 01:40:37 UTC (rev 4085)
@@ -488,8 +488,6 @@
} \
} while (0) \
- //DLOG("MDLOSX", "Loading bridge support file `%s'", path);
-
reader = xmlNewTextReaderFilename(path);
if (reader == NULL)
BAIL("cannot create XML text reader for file at path `%s'", path);
Modified: MacRuby/trunk/variable.c
===================================================================
--- MacRuby/trunk/variable.c 2010-05-13 01:33:20 UTC (rev 4084)
+++ MacRuby/trunk/variable.c 2010-05-13 01:40:37 UTC (rev 4085)
@@ -1849,7 +1849,6 @@
}
}
- DLOG("CONS", "%s::%s <- %p", class_getName((Class)klass), rb_id2name(id), (void *)val);
CFDictionarySetValue(iv_dict, (const void *)id, (const void *)val);
rb_vm_const_is_defined(id);
}
Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp 2010-05-13 01:33:20 UTC (rev 4084)
+++ MacRuby/trunk/vm.cpp 2010-05-13 01:40:37 UTC (rev 4085)
@@ -3472,30 +3472,6 @@
return val;
}
-extern "C"
-VALUE
-rb_iseq_compile(VALUE src, VALUE file, VALUE line)
-{
- // TODO
- return NULL;
-}
-
-extern "C"
-VALUE
-rb_iseq_eval(VALUE iseq)
-{
- // TODO
- return Qnil;
-}
-
-extern "C"
-VALUE
-rb_iseq_new(NODE *node, VALUE filename)
-{
- // TODO
- return Qnil;
-}
-
static inline void
__vm_raise(void)
{
Modified: MacRuby/trunk/vm.h
===================================================================
--- MacRuby/trunk/vm.h 2010-05-13 01:33:20 UTC (rev 4084)
+++ MacRuby/trunk/vm.h 2010-05-13 01:40:37 UTC (rev 4085)
@@ -502,26 +502,6 @@
void rb_vm_unregister_finalizer(rb_vm_finalizer_t *finalizer);
void rb_vm_call_finalizer(rb_vm_finalizer_t *finalizer);
-VALUE rb_iseq_compile(VALUE src, VALUE file, VALUE line);
-VALUE rb_iseq_eval(VALUE iseq);
-VALUE rb_iseq_new(NODE *node, VALUE filename);
-
-#if 0 // TODO
-#if ENABLE_DEBUG_LOGGING
-# include <libgen.h>
-extern bool ruby_dlog_enabled;
-extern FILE *ruby_dlog_file;
-# define DLOG(mod, fmt, args...) \
- if (UNLIKELY(ruby_dlog_enabled)) { \
- fprintf(ruby_dlog_file, "%s:%d %s ", \
- basename((char *)rb_sourcefile()), rb_sourceline(), mod); \
- fprintf(ruby_dlog_file, fmt, ##args); \
- fprintf(ruby_dlog_file, "\n"); \
- }
-# endif
-#endif
-#define DLOG(mod, fmt, args...)
-
#if defined(__cplusplus)
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100512/fdc355c9/attachment-0001.html>
More information about the macruby-changes
mailing list