Revision
1504
Author
vincent.isambart@gmail.com
Date
2009-04-28 20:54:03 -0700 (Tue, 28 Apr 2009)

Log Message

added an assert

Modified Paths

Diff

Modified: MacRuby/branches/experimental/roxor.cpp (1503 => 1504)


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