PreParser build fix
Patch from Peter Varga <pvarga@inf.u-szeged.hu>. BUG=none TEST=none Review URL: http://codereview.chromium.org/6773009 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7430 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5fc90eb325
commit
4e502c5e5a
@ -73,7 +73,7 @@ class PreParserData {
|
||||
: data_(data), size_(size) { }
|
||||
|
||||
// Create a PreParserData value where stack_overflow reports true.
|
||||
static PreParserData StackOverflow() { return PreParserData(NULL, 0); }
|
||||
static PreParserData StackOverflow() { return PreParserData(0, NULL); }
|
||||
// Whether the pre-parser stopped due to a stack overflow.
|
||||
// If this is the case, size() and data() should not be used.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user