[macruby-changes] [2637] MacRuby/trunk/compiler.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 25 13:35:36 PDT 2009
Revision: 2637
http://trac.macosforge.org/projects/ruby/changeset/2637
Author: lsansonetti at apple.com
Date: 2009-09-25 13:35:32 -0700 (Fri, 25 Sep 2009)
Log Message:
-----------
create all ruby scopes with external linkage, otherwise the AOT compiler won't generate frame info for them
Modified Paths:
--------------
MacRuby/trunk/compiler.cpp
Modified: MacRuby/trunk/compiler.cpp
===================================================================
--- MacRuby/trunk/compiler.cpp 2009-09-25 18:32:24 UTC (rev 2636)
+++ MacRuby/trunk/compiler.cpp 2009-09-25 20:35:32 UTC (rev 2637)
@@ -2994,7 +2994,7 @@
types.push_back(RubyObjTy);
}
FunctionType *ft = FunctionType::get(RubyObjTy, types, false);
- Function *f = Function::Create(ft, GlobalValue::PrivateLinkage,
+ Function *f = Function::Create(ft, GlobalValue::ExternalLinkage,
"__ruby_scope", module);
RoxorScope *old_current_scope = current_scope;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090925/6620a7ab/attachment.html>
More information about the macruby-changes
mailing list