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

Unified Diff: src/IceAssemblerARM32.h

Issue 1424923005: Add workaround to allow testing of ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 5 years, 1 month 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.h
diff --git a/src/IceAssemblerARM32.h b/src/IceAssemblerARM32.h
index 1a8edf106204e29f803b4b63b716a60cf56bc69f..1c2528c21c675b11595696fd293274b6848d8508 100644
--- a/src/IceAssemblerARM32.h
+++ b/src/IceAssemblerARM32.h
@@ -119,7 +119,13 @@ public:
return getOrCreateLabel(Number, LocalLabels);
}
- void bindLocalLabel(SizeT Number) {
+ void bindLocalLabel(const Cfg *Func, const InstARM32Label *InstL,
+ SizeT Number) {
+ if (BuildDefs::dump() &&
+ !Func->getContext()->getFlags().getDisableHybridAssembly()) {
+ constexpr SizeT InstSize = 0;
+ emitTextInst(InstL->getName(Func) + ":", InstSize);
+ }
Label *L = getOrCreateLocalLabel(Number);
if (!getPreliminary())
this->bind(L);

Powered by Google App Engine
This is Rietveld 408576698