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

Unified Diff: src/IceTranslator.cpp

Issue 837393005: Subzero: Write float/double constant pools directly to the ELF file. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: use WriteAmt everywhere Created 5 years, 11 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/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/elf_container.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTranslator.cpp
diff --git a/src/IceTranslator.cpp b/src/IceTranslator.cpp
index a6acfb545e57f77891f6bc0e743444981ad04870..2a50a410c90a0db122a87e32ca846d51b5df8d30 100644
--- a/src/IceTranslator.cpp
+++ b/src/IceTranslator.cpp
@@ -97,13 +97,8 @@ void Translator::translateFcn(Cfg *Fcn) {
}
void Translator::emitConstants() {
- if (!Ctx->getFlags().DisableTranslation && Func) {
- if (Ctx->getFlags().UseELFWriter) {
- // TODO(jvoung): create the rodata.cst.{4,8} sections for UseELFWriter.
- } else {
- Func->getTarget()->emitConstants();
- }
- }
+ if (!Ctx->getFlags().DisableTranslation && Func)
+ Func->getTarget()->emitConstants();
}
void Translator::lowerGlobals(
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/elf_container.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698