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

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: misc stuff 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 a0c04098c3f3f73a403ac65b2d7bb45f099af308..362a20af71ef7c6f259721569fcc8b71967e32e9 100644
--- a/src/IceTranslator.h
+++ b/src/IceTranslator.h
@@ -36,8 +36,6 @@ class Translator {
Translator &operator=(const Translator &) = delete;
public:
- typedef std::vector<VariableDeclaration *> VariableDeclarationListType;
-
Translator(GlobalContext *Ctx, const ClFlags &Flags)
: Ctx(Ctx), Flags(Flags), ErrorStatus(0) {}
@@ -58,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