Changeset 45943 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jul 15, 2009, 1:55:08 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r45933 r45943 1 2009-07-15 Kwang Yul Seo <[email protected]> 2 3 Reviewed by Eric Seidel. 4 5 https://bugs.webkit.org/show_bug.cgi?id=26794 6 Make Yacc-generated parsers to use fastMalloc/fastFree. 7 8 Define YYMALLOC and YYFREE to fastMalloc and fastFree 9 respectively. 10 11 * parser/Grammar.y: 12 1 13 2009-07-15 Darin Adler <[email protected]> 2 14 -
trunk/JavaScriptCore/parser/Grammar.y
r45106 r45943 37 37 #include "NodeInfo.h" 38 38 #include "Parser.h" 39 #include <wtf/FastMalloc.h> 39 40 #include <wtf/MathExtras.h> 41 42 #define YYMALLOC fastMalloc 43 #define YYFREE fastFree 40 44 41 45 #define YYMAXDEPTH 10000 … … 88 92 #pragma warning(disable: 4244) 89 93 #pragma warning(disable: 4702) 90 91 // At least some of the time, the declarations of malloc and free that bison92 // generates are causing warnings. A way to avoid this is to explicitly define93 // the macros so that bison doesn't try to declare malloc and free.94 #define YYMALLOC malloc95 #define YYFREE free96 94 97 95 #endif
Note:
See TracChangeset
for help on using the changeset viewer.