[macruby-changes] [2639] MacRuby/trunk/vm.cpp

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 25 13:52:03 PDT 2009


Revision: 2639
          http://trac.macosforge.org/projects/ruby/changeset/2639
Author:   lsansonetti at apple.com
Date:     2009-09-25 13:52:03 -0700 (Fri, 25 Sep 2009)
Log Message:
-----------
added an assertion in the super lookup code

Modified Paths:
--------------
    MacRuby/trunk/vm.cpp

Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp	2009-09-25 20:51:31 UTC (rev 2638)
+++ MacRuby/trunk/vm.cpp	2009-09-25 20:52:03 UTC (rev 2639)
@@ -2374,6 +2374,8 @@
     printf("\n");
 #endif
 
+    assert(!callstack_funcs.empty());
+
     for (int i = 0; i < count; i++) {
         if (!klass_located && RARRAY_AT(ary, i) == klass) {
             klass_located = true;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090925/11c6fada/attachment.html>


More information about the macruby-changes mailing list