Fix warning on GCC 4.0.1. No bug, r=jorendorff.

This commit is contained in:
Chris Leary 2010-09-16 11:46:58 -07:00
parent bdd7ba704a
commit e347ae1b1b

View File

@ -1641,6 +1641,7 @@ class FlatMatch
friend class RegExpGuard;
public:
FlatMatch() : patstr(NULL) {} /* Old GCC wants this initialization. */
JSString *pattern() const { return patstr; }
size_t patternLength() const { return patlen; }