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

Unified Diff: src/IceOperand.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: Cleanup 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
Index: src/IceOperand.cpp
diff --git a/src/IceOperand.cpp b/src/IceOperand.cpp
index 27dc6a34ffe69c0c7eabd618025268245ce9eba5..213318594e65ccf2d3a0dc085f13bd5be037e781 100644
--- a/src/IceOperand.cpp
+++ b/src/IceOperand.cpp
@@ -554,19 +554,14 @@ void ConstantRelocatable::emitWithoutPrefix(const TargetLowering *Target,
Target->emitWithoutPrefix(this, Suffix);
}
-void ConstantRelocatable::dump(const Cfg *Func, Ostream &Str) const {
+void ConstantRelocatable::dump(const Cfg *, Ostream &Str) const {
if (!BuildDefs::dump())
return;
if (!EmitString.empty()) {
Str << EmitString;
return;
}
- Str << "@";
- if (Func && !SuppressMangling) {
- Str << Func->getContext()->mangleName(Name);
- } else {
- Str << Name;
- }
+ Str << "@" << Name;
const RelocOffsetT Offset = getOffset();
if (Offset) {
if (Offset >= 0) {
« src/IceOperand.h ('K') | « src/IceOperand.h ('k') | src/IceTargetLowering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698