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

Unified Diff: src/IceTranslator.h

Issue 874353006: Write out global initializers and data rel directly to ELF file. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: tweak comment 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
Index: src/IceTranslator.h
diff --git a/src/IceTranslator.h b/src/IceTranslator.h
index 630997b798f53f6e0d9e5aa2e63aba68452ef898..cd5a8d6b7cef9cc0044875ec680d174fbb59aa1a 100644
--- a/src/IceTranslator.h
+++ b/src/IceTranslator.h
@@ -34,9 +34,8 @@ class Translator {
Translator &operator=(const Translator &) = delete;
public:
- typedef std::vector<VariableDeclaration *> VariableDeclarationListType;
-
Translator(GlobalContext *Ctx, const ClFlags &Flags);
+
~Translator();
const ErrorCode &getErrorStatus() const { return ErrorStatus; }
@@ -57,7 +56,7 @@ public:
/// Lowers the given list of global addresses to target. Generates
/// list of corresponding variable declarations.
- void lowerGlobals(const VariableDeclarationListType &VariableDeclarations);
+ void lowerGlobals(const VariableDeclarationList &VariableDeclarations);
/// Creates a name using the given prefix and corresponding index.
std::string createUnnamedName(const IceString &Prefix, SizeT Index);
@@ -71,7 +70,7 @@ public:
protected:
GlobalContext *Ctx;
const ClFlags &Flags;
- std::unique_ptr<TargetGlobalLowering> GlobalLowering;
+ std::unique_ptr<TargetDataLowering> DataLowering;
// Exit status of the translation. False is successful. True otherwise.
ErrorCode ErrorStatus;
};
« src/IceELFObjectWriter.cpp ('K') | « src/IceTimerTree.def ('k') | src/IceTranslator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698