vendor/v8/include/v8-preparser.h in mustang-0.0.1 vs vendor/v8/include/v8-preparser.h in mustang-0.1.0
- old
+ new
@@ -71,10 +71,10 @@
public:
PreParserData(size_t size, const uint8_t* data)
: 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.
bool stack_overflow() { return size_ == 0u; }