summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-08-30 01:57:34 +0000
committerNick Kledzik <kledzik@apple.com>2014-08-30 01:57:34 +0000
commit1b591bd289c8a078706a45f67dd53bcde96f2f13 (patch)
tree1a4a3eba266f99362e8dbc7ef13c576e3e2b8e30 /llvm/lib/Object/MachOObjectFile.cpp
parentd04bc35852ac9c53a0c57730ebc5a73b21279ac1 (diff)
downloadbcm5719-llvm-1b591bd289c8a078706a45f67dd53bcde96f2f13.tar.gz
bcm5719-llvm-1b591bd289c8a078706a45f67dd53bcde96f2f13.zip
Fix typo and formatting
llvm-svn: 216809
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
-rw-r--r--llvm/lib/Object/MachOObjectFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Object/MachOObjectFile.cpp b/llvm/lib/Object/MachOObjectFile.cpp
index 2daa4a81ea8..f3367a79599 100644
--- a/llvm/lib/Object/MachOObjectFile.cpp
+++ b/llvm/lib/Object/MachOObjectFile.cpp
@@ -1532,7 +1532,7 @@ bool ExportEntry::operator==(const ExportEntry &Other) const {
if (Stack.size() != Other.Stack.size())
return false;
// Not equal if different cumulative strings.
- if (!CumulativeString.str().equals(CumulativeString.str()))
+ if (!CumulativeString.str().equals(Other.CumulativeString.str()))
return false;
// Equal if all nodes in both stacks match.
for (unsigned i=0; i < Stack.size(); ++i) {
@@ -1600,8 +1600,8 @@ void ExportEntry::pushNode(uint64_t offset) {
State.ImportName = reinterpret_cast<const char*>(State.Current);
} else {
State.Address = readULEB128(State.Current);
- if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER)
- State.Other = readULEB128(State.Current);
+ if (State.Flags & MachO::EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER)
+ State.Other = readULEB128(State.Current);
}
}
State.ChildCount = *Children;
OpenPOWER on IntegriCloud