Chromium Code Reviews| 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; |
|
jvoung (off chromium)
2014/12/18 18:39:59
I wonder if the assembler should just use the CFG
Jim Stichnoth
2014/12/18 23:39:56
I think the assembler should use its own allocator
|
| protected: |
| AssemblerBuffer buffer_; |