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

Unified Diff: src/IceIntrinsics.cpp

Issue 1766233002: Subzero: Fix symbol name mangling. Make flags global. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 4 years, 9 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
« no previous file with comments | « src/IceInstMIPS32.cpp ('k') | src/IceMangling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceIntrinsics.cpp
diff --git a/src/IceIntrinsics.cpp b/src/IceIntrinsics.cpp
index 94e582fa083a96c0aa3480678b4de7e81905d4f2..748aeb1e37a1c79e607c4f28b1221b4776473a3a 100644
--- a/src/IceIntrinsics.cpp
+++ b/src/IceIntrinsics.cpp
@@ -236,7 +236,7 @@ const Intrinsics::FullIntrinsicInfo *Intrinsics::find(const IceString &Name,
Error = false;
if (Name.substr(0, LLVMPrefixLen) != LLVMPrefix)
return nullptr;
- IceString NameSuffix = Name.substr(LLVMPrefixLen);
+ const IceString NameSuffix = Name.substr(LLVMPrefixLen);
auto it = Map.find(NameSuffix);
if (it == Map.end()) {
Error = true;
« no previous file with comments | « src/IceInstMIPS32.cpp ('k') | src/IceMangling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698