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

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: review #1 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..6d53ec571186c96ba1cb23fe29fd5acb3c668743 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);

Powered by Google App Engine
This is Rietveld 408576698