Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(478)

Unified Diff: lib/Transforms/NaCl/PromoteIntegers.cpp

Issue 1151093004: Changes from 3.7 merge to files not in upstream (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/Transforms/NaCl/PromoteIntegers.cpp
diff --git a/lib/Transforms/NaCl/PromoteIntegers.cpp b/lib/Transforms/NaCl/PromoteIntegers.cpp
index e7c8a8a8fa44e0d4f73417527b2413fb78c8c0f4..13348ec1ec606ffcf0d0137283644b3ea8d23766 100644
--- a/lib/Transforms/NaCl/PromoteIntegers.cpp
+++ b/lib/Transforms/NaCl/PromoteIntegers.cpp
@@ -715,7 +715,7 @@ bool PromoteIntegers::ensureCompliantSignature(
auto Found = DISubprogramMap.find(OldFct);
if (Found != DISubprogramMap.end())
- Found->second.replaceFunction(NewFct);
+ Found->second->replaceFunction(NewFct);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698