[Lldb-commits] [lldb] r155407 - /lldb/trunk/source/Symbol/CompileUnit.cpp

Jim Ingham jingham at apple.com
Mon Apr 23 16:22:24 PDT 2012


Author: jingham
Date: Mon Apr 23 18:22:24 2012
New Revision: 155407

URL: http://llvm.org/viewvc/llvm-project?rev=155407&view=rev
Log:
Pass *this in explicitly to save the FileSpec copy construction.

Modified:
    lldb/trunk/source/Symbol/CompileUnit.cpp

Modified: lldb/trunk/source/Symbol/CompileUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/CompileUnit.cpp?rev=155407&r1=155406&r2=155407&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/CompileUnit.cpp (original)
+++ lldb/trunk/source/Symbol/CompileUnit.cpp Mon Apr 23 18:22:24 2012
@@ -298,7 +298,7 @@
     // "file_spec" has an empty directory, then only compare the basenames
     // when finding file indexes
     std::vector<uint32_t> file_indexes;
-    bool file_spec_matches_cu_file_spec = FileSpec::Equal(file_spec, this, !file_spec.GetDirectory().IsEmpty());
+    bool file_spec_matches_cu_file_spec = FileSpec::Equal(file_spec, *this, !file_spec.GetDirectory().IsEmpty());
 
     // If we are not looking for inlined functions and our file spec doesn't
     // match then we are done...





More information about the lldb-commits mailing list