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

Unified Diff: src/IceAssemblerARM32.cpp

Issue 1838753002: Subzero: Remove IceString. (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/IceAssemblerARM32.cpp
diff --git a/src/IceAssemblerARM32.cpp b/src/IceAssemblerARM32.cpp
index 613fa7772b78d58ca188bdfdf50a74c32db844c4..3373759b660f18a5108811062a451752c367b0ca 100644
--- a/src/IceAssemblerARM32.cpp
+++ b/src/IceAssemblerARM32.cpp
@@ -593,7 +593,7 @@ size_t MoveRelocatableFixup::emit(GlobalContext *Ctx,
IValueT Inst = Asm.load<IValueT>(position());
const bool IsMovw = kind() == llvm::ELF::R_ARM_MOVW_ABS_NC ||
kind() == llvm::ELF::R_ARM_MOVW_PREL_NC;
- const IceString Symbol = symbol();
+ const std::string Symbol = symbol().toString();
John 2016/03/29 14:23:15 consider auto here -- toString() kinda seems to re
Jim Stichnoth 2016/03/29 21:40:49 Done.
const bool NeedsPCRelSuffix =
(Asm.fixupIsPCRel(kind()) || Symbol == GlobalOffsetTable);
Str << "\t"
@@ -619,7 +619,7 @@ IValueT AssemblerARM32::encodeElmtType(Type ElmtTy) {
return 3;
default:
llvm::report_fatal_error("SIMD op: Don't understand element type " +
- typeIceString(ElmtTy));
+ typeStdString(ElmtTy));
}
}
@@ -1042,7 +1042,7 @@ void AssemblerARM32::emitInsertExtractInt(CondARM32::Cond Cond,
default:
llvm::report_fatal_error(std::string(InstName) +
": Unable to process type " +
- typeIceString(OpRt->getType()));
+ typeStdString(OpRt->getType()));
case 8:
assert(Index < 16);
Dn = Dn | mask(Index, 3, 1);
« no previous file with comments | « src/IceAssemblerARM32.h ('k') | src/IceBrowserCompileServer.h » ('j') | src/IceCfg.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698