From ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24 Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 8 Jul 2010 12:51:48 +0100 Subject: Merge WebKit at r62496: Initial merge by git Change-Id: Ie3da0770eca22a70a632e3571f31cfabc80facb2 --- JavaScriptCore/pcre/pcre_compile.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'JavaScriptCore/pcre/pcre_compile.cpp') diff --git a/JavaScriptCore/pcre/pcre_compile.cpp b/JavaScriptCore/pcre/pcre_compile.cpp index 2bedca6..ea6e44c 100644 --- a/JavaScriptCore/pcre/pcre_compile.cpp +++ b/JavaScriptCore/pcre/pcre_compile.cpp @@ -48,6 +48,7 @@ supporting internal functions that are not used by other modules. */ #include #include #include +#include using namespace WTF; @@ -2035,8 +2036,8 @@ static int calculateCompiledPatternLength(const UChar* pattern, int patternLengt int branch_extra = 0; int lastitemlength = 0; unsigned brastackptr = 0; - int brastack[BRASTACK_SIZE]; - unsigned char bralenstack[BRASTACK_SIZE]; + FixedArray brastack; + FixedArray bralenstack; int bracount = 0; const UChar* ptr = (const UChar*)(pattern - 1); -- cgit v1.1