[macruby-changes] [4132] MacRuby/trunk/vm.cpp
source_changes at macosforge.org
source_changes at macosforge.org
Fri May 21 13:44:01 PDT 2010
Revision: 4132
http://trac.macosforge.org/projects/ruby/changeset/4132
Author: lsansonetti at apple.com
Date: 2010-05-21 13:43:57 -0700 (Fri, 21 May 2010)
Log Message:
-----------
follow API changes in LLVM ToT
Modified Paths:
--------------
MacRuby/trunk/vm.cpp
Modified: MacRuby/trunk/vm.cpp
===================================================================
--- MacRuby/trunk/vm.cpp 2010-05-21 19:40:48 UTC (rev 4131)
+++ MacRuby/trunk/vm.cpp 2010-05-21 20:43:57 UTC (rev 4132)
@@ -266,9 +266,8 @@
std::string path;
for (std::vector<EmittedFunctionDetails::LineStart>::const_iterator iter = Details.LineStarts.begin(); iter != Details.LineStarts.end(); ++iter) {
#if LLVM_TOT
- //MDNode *scope = iter->Loc.getScope(F.getContext());
- //DILocation dil = DILocation(scope);
- DILocation dil = Details.MF->getDILocation(iter->Loc);
+ MDNode *scope = iter->Loc.getScope(F.getContext());
+ DILocation dil = DILocation(scope);
if (path.size() == 0) {
DIScope scope = dil.getScope();
path.append(scope.getDirectory());
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100521/fcd43e45/attachment.html>
More information about the macruby-changes
mailing list