]> granicus.if.org Git - clang/commitdiff
Reduce initial Sema memory consumption by 400KB. By Elisavet Sakellari.
authorAxel Naumann <Axel.Naumann@cern.ch>
Wed, 3 Feb 2016 10:45:22 +0000 (10:45 +0000)
committerAxel Naumann <Axel.Naumann@cern.ch>
Wed, 3 Feb 2016 10:45:22 +0000 (10:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259637 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOpenMP.cpp

index f61d959e89bda3b1c0d8b108c9e44b37f81e11f2..b219e92ebeb0e14158cdf13f3cd867a5266488e7 100644 (file)
@@ -123,7 +123,7 @@ private:
           CancelRegion(false), AssociatedLoops(1), InnerTeamsRegionLoc() {}
   };
 
-  typedef SmallVector<SharingMapTy, 64> StackTy;
+  typedef SmallVector<SharingMapTy, 4> StackTy;
 
   /// \brief Stack of used declaration and their data-sharing attributes.
   StackTy Stack;