[macruby-changes] [1504] MacRuby/branches/experimental/roxor.cpp

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 28 20:54:03 PDT 2009


Revision: 1504
          http://trac.macosforge.org/projects/ruby/changeset/1504
Author:   vincent.isambart at gmail.com
Date:     2009-04-28 20:54:03 -0700 (Tue, 28 Apr 2009)
Log Message:
-----------
added an assert

Modified Paths:
--------------
    MacRuby/branches/experimental/roxor.cpp

Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp	2009-04-29 01:11:35 UTC (rev 1503)
+++ MacRuby/branches/experimental/roxor.cpp	2009-04-29 03:54:03 UTC (rev 1504)
@@ -8005,6 +8005,7 @@
 
 block_call:
 
+    assert(!(b->flags & VM_BLOCK_ACTIVE));
     b->flags |= VM_BLOCK_ACTIVE;
     VALUE v = __rb_vm_bcall(b->self, (VALUE)b->dvars, b->imp, b->arity, argc,
 			    argv);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090428/f569eb1e/attachment.html>


More information about the macruby-changes mailing list