diff --git a/include/v8-preparser.h b/include/v8-preparser.h index 9425f7d467..7baac94e05 100644 --- a/include/v8-preparser.h +++ b/include/v8-preparser.h @@ -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.