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

Unified Diff: src/IceTranslator.h

Issue 587893003: Test generation of global initializers in Subzero bitcode reader. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit 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/IceConverter.cpp ('k') | src/IceTranslator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceTranslator.h
diff --git a/src/IceTranslator.h b/src/IceTranslator.h
index 2ca6d42d065579c5e24f6ee3c1538de9eb542a53..b5adbdc93e5a96a01323e5156134ac97fc559241 100644
--- a/src/IceTranslator.h
+++ b/src/IceTranslator.h
@@ -56,6 +56,11 @@ public:
// prefix is non-empty.
void nameUnnamedGlobalAddresses(llvm::Module *Mod);
+ // Converts globals to ICE, and then machine code.
+ // TODO(kschimpf) Remove this once we have ported to PNaClTranslator,
+ // and PNaClTranslator generates initializers while parsing.
+ void convertGlobals(llvm::Module *Mod);
+
protected:
GlobalContext *Ctx;
const ClFlags &Flags;
« no previous file with comments | « src/IceConverter.cpp ('k') | src/IceTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698