mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Comment out busted assertions. See bug 695922. r=red.
This commit is contained in:
parent
709bbe9a25
commit
ceb7eb3b77
@ -213,14 +213,16 @@ struct TokenPos {
|
||||
TokenPos() {}
|
||||
|
||||
TokenPos(const TokenPtr &begin, const TokenPtr &end) : begin(begin), end(end) {
|
||||
JS_ASSERT(begin <= end);
|
||||
// Assertion temporarily disabled by jorendorff. See bug 695922.
|
||||
//JS_ASSERT(begin <= end);
|
||||
}
|
||||
|
||||
/* Return a TokenPos that covers left, right, and anything in between. */
|
||||
static TokenPos box(const TokenPos &left, const TokenPos &right) {
|
||||
JS_ASSERT(left.begin <= left.end);
|
||||
JS_ASSERT(left.end <= right.begin);
|
||||
JS_ASSERT(right.begin <= right.end);
|
||||
// Assertions temporarily disabled by jorendorff. See bug 695922.
|
||||
//JS_ASSERT(left.begin <= left.end);
|
||||
//JS_ASSERT(left.end <= right.begin);
|
||||
//JS_ASSERT(right.begin <= right.end);
|
||||
return TokenPos(left.begin, right.end);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user