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

Unified Diff: src/assembler.h

Issue 802183004: Subzero: Use CFG-local arena allocation for relevant containers. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Typo fix Created 6 years 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/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.h
diff --git a/src/assembler.h b/src/assembler.h
index dc706683ea676cc8c21445ab753c5f700c03e2b0..cdbc50553a0a2bf4ea454537ff64fd82172f6cb2 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -24,9 +24,7 @@
#define SUBZERO_SRC_ASSEMBLER_H
#include "IceDefs.h"
-
#include "IceFixups.h"
-#include "llvm/Support/Allocator.h"
namespace Ice {
@@ -232,7 +230,7 @@ public:
void emitIASBytes(GlobalContext *Ctx) const;
private:
- llvm::BumpPtrAllocator Allocator;
+ ArenaAllocator Allocator;
protected:
AssemblerBuffer buffer_;
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698