[dragonegg] r205151 - Quick fix corresponding to BumpPtrAllocator's change in r205143.

NAKAMURA Takumi geek4civic at gmail.com
Sun Mar 30 08:03:59 PDT 2014


Author: chapuni
Date: Sun Mar 30 10:03:59 2014
New Revision: 205151

URL: http://llvm.org/viewvc/llvm-project?rev=205151&view=rev
Log:
Quick fix corresponding to BumpPtrAllocator's change in r205143.

Modified:
    dragonegg/trunk/src/Convert.cpp

Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=205151&r1=205150&r2=205151&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Sun Mar 30 10:03:59 2014
@@ -8232,7 +8232,7 @@ bool TreeToLLVM::EmitBuiltinCall(gimple
       // If there are multiple constraint tuples, pick one.  Constraints is
       // altered to point to shorter strings (which are malloc'ed), and everything
       // below Just Works as in the NumChoices==1 case.
-      BumpPtrAllocator StringStorage(256, 256);
+      BumpPtrAllocator StringStorage;
       if (NumChoices > 1)
         ChooseConstraintTuple(stmt, Constraints, NumChoices, StringStorage);
 





More information about the llvm-commits mailing list