[macruby-changes] [2576] MacRuby/trunk/compiler.cpp

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 19 12:13:35 PDT 2009


Revision: 2576
          http://trac.macosforge.org/projects/ruby/changeset/2576
Author:   lsansonetti at apple.com
Date:     2009-09-19 12:13:31 -0700 (Sat, 19 Sep 2009)
Log Message:
-----------
fixed END{} block

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

Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp	2009-09-19 10:24:00 UTC (rev 2575)
+++ MacRuby/trunk/compiler.cpp	2009-09-19 19:13:31 UTC (rev 2576)
@@ -5022,7 +5022,8 @@
 		params.push_back(compile_nsobject());
 		params.push_back(compile_sel(sel));
 		params.push_back(compile_block_create(NULL));
-		params.push_back(ConstantInt::get(Type::Int8Ty, 0));
+		params.push_back(ConstantInt::get(Type::Int8Ty,
+			    DISPATCH_FCALL));
 		params.push_back(ConstantInt::get(Type::Int32Ty, 0));
 
 		current_block_func = old_current_block_func;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090919/2e82ade5/attachment.html>


More information about the macruby-changes mailing list