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

Unified Diff: src/IceConverter.h

Issue 624663002: Introduce model of global initializers in Subzero. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 6 years, 2 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/IceClFlags.h ('k') | src/IceConverter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceConverter.h
diff --git a/src/IceConverter.h b/src/IceConverter.h
index 049c03668741d23e5cfabc0fd0a85f9d2ce3094f..763dcaeb4f13010ed5534b1474770f00cc781ba8 100644
--- a/src/IceConverter.h
+++ b/src/IceConverter.h
@@ -26,6 +26,7 @@ class Converter : public Translator {
public:
Converter(llvm::Module *Mod, GlobalContext *Ctx, const Ice::ClFlags &Flags)
: Translator(Ctx, Flags), Mod(Mod) {}
+
/// Converts the LLVM Module to ICE. Sets exit status to false if successful,
/// true otherwise.
void convertToIce();
@@ -34,9 +35,14 @@ private:
llvm::Module *Mod;
// Converts functions to ICE, and then machine code.
void convertFunctions();
+
+ // Converts globals to ICE, and then machine code.
+ void convertGlobals(llvm::Module *Mod);
+
Converter(const Converter &) = delete;
Converter &operator=(const Converter &) = delete;
};
-}
+
+} // end of namespace ICE.
#endif // SUBZERO_SRC_ICECONVERTER_H
« no previous file with comments | « src/IceClFlags.h ('k') | src/IceConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698