Closed
Bug 1437955
Opened 5 years ago
Closed 5 years ago
Remove ParseNodeKind::Semi and Nop
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(3 files)
26.50 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
6.43 KB,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
8.63 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
"What kind of parse node is it?" "It's a nop" TypeError
Assignee | ||
Comment 1•5 years ago
|
||
Attachment #8950656 -
Flags: review?(jwalden+bmo)
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•5 years ago
|
||
Attachment #8950657 -
Flags: review?(jwalden+bmo)
Assignee | ||
Updated•5 years ago
|
Summary: kill ParseNodeKind::Semi and Nop → Remove ParseNodeKind::Semi and Nop
Assignee | ||
Updated•5 years ago
|
status-firefox60:
--- → fix-optional
Priority: -- → P3
Comment 3•5 years ago
|
||
Comment on attachment 8950656 [details] [diff] [review] Part 1: Split ParseNodeKind::Semi into ExpressionStatement and EmptyStatement Review of attachment 8950656 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/wasm/AsmJS.cpp @@ +7160,5 @@ > + case ParseNodeKind::Return: return CheckReturn(f, stmt); > + case ParseNodeKind::StatementList: return CheckStatementList(f, stmt); > + case ParseNodeKind::Break: return CheckBreakOrContinue(f, true, stmt); > + case ParseNodeKind::Continue: return CheckBreakOrContinue(f, false, stmt); > + case ParseNodeKind::LexicalScope: return CheckLexicalScope(f, stmt); If you're touching all these lines, could I possibly trouble you to undo the single-lineness here? Case on one line, subsequent return statement on the next, blank line between implied case-blocks. Horizontal alignment of things after other things is just dumb and not worth the trouble.
Attachment #8950656 -
Flags: review?(jwalden+bmo) → review+
Updated•5 years ago
|
Attachment #8950657 -
Flags: review?(jwalden+bmo) → review+
Assignee | ||
Comment 4•5 years ago
|
||
Attachment #8951647 -
Flags: review?(jdemooij)
Comment 5•5 years ago
|
||
Comment on attachment 8951647 [details] [diff] [review] Part 0: Fix places where bug 1429206 left old filenames in comments Review of attachment 8951647 [details] [diff] [review]: ----------------------------------------------------------------- Good catch.
Attachment #8951647 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 6•5 years ago
|
||
Oh no, that patch is in the wrong bug. Derp.
Assignee | ||
Comment 7•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f5af2048781f79275389f390cc922080407d4342
Assignee | ||
Comment 8•5 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e21126825c41be2a70bb6759e2dbdc7190621608 Bug 1437955 - Part 1: Split ParseNodeKind::Semi into ExpressionStatement and EmptyStatement. r=Waldo. https://hg.mozilla.org/integration/mozilla-inbound/rev/b593a217bb5a4bd160dff15f1fc1577b95f06778 Bug 1437955 - Part 2: Remove unused ParseNodeKind::Nop. r=Waldo.
Assignee | ||
Comment 9•5 years ago
|
||
(The right bug for "Part 0" is bug 1438278.)
Comment 10•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e21126825c41 https://hg.mozilla.org/mozilla-central/rev/b593a217bb5a
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•