summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-07-25 17:53:33 +0000
committerDouglas Gregor <dgregor@apple.com>2010-07-25 17:53:33 +0000
commit5b11d49a7c2ea35903004198dd5570afe6ab0529 (patch)
tree51b3718bd357aff0b481f5294d8d987a94a738fe /clang/lib/Frontend/CompilerInstance.cpp
parentf2430ba223687538681071ce4746a2878ad3db53 (diff)
downloadbcm5719-llvm-5b11d49a7c2ea35903004198dd5570afe6ab0529.tar.gz
bcm5719-llvm-5b11d49a7c2ea35903004198dd5570afe6ab0529.zip
Make ASTContext always use the BumpPtrAllocator.
llvm-svn: 109375
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index 5037c83556a..0b1041f8412 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -245,7 +245,6 @@ void CompilerInstance::createASTContext() {
Context.reset(new ASTContext(getLangOpts(), PP.getSourceManager(),
getTarget(), PP.getIdentifierTable(),
PP.getSelectorTable(), PP.getBuiltinInfo(),
- /*FreeMemory=*/ !getFrontendOpts().DisableFree,
/*size_reserve=*/ 0));
}
OpenPOWER on IntegriCloud