Skip to content

Commit 093ecc5

Browse files
committed
[SyntaxParse] Remove unnecessary verifyElementRanges() call
1 parent fea97d2 commit 093ecc5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/Parse/ParsedSyntaxRecorder.cpp.gyb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ ParsedSyntaxRecorder::make${node.syntax_kind}(
146146
for (auto &element : elements) {
147147
layout.push_back(element.takeRaw());
148148
}
149-
#ifndef NDEBUG
150-
ParsedRawSyntaxRecorder::verifyElementRanges(layout);
151-
#endif
152149
if (SPCtx.shouldDefer())
153150
return defer${node.syntax_kind}(layout, SPCtx);
154151
return record${node.syntax_kind}(layout, SPCtx.getRecorder());

0 commit comments

Comments
 (0)