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

Unified Diff: src/IceCfgNode.cpp

Issue 476323004: Start adding an integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: lit test to check encodings, swap complexi8 Created 6 years, 3 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/IceCfg.cpp ('k') | src/IceClFlags.h » ('j') | src/IceInstX8632.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceCfgNode.cpp
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
index 696a2f0b87ad9fb948535f3ded3d0ece2a0ccfe2..f8a300cbe05ecb6a6acdff81fc0b929f64e86b95 100644
--- a/src/IceCfgNode.cpp
+++ b/src/IceCfgNode.cpp
@@ -435,7 +435,11 @@ void CfgNode::emit(Cfg *Func) const {
// suppress them.
if (Inst->isRedundantAssign())
continue;
- (*I)->emit(Func);
+ if (Func->UseIntegratedAssembler()) {
+ (*I)->emitIAS(Func);
+ } else {
+ (*I)->emit(Func);
+ }
}
}
« no previous file with comments | « src/IceCfg.cpp ('k') | src/IceClFlags.h » ('j') | src/IceInstX8632.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698