Closed Bug 1862692 Opened 11 months ago Closed 10 months ago

Switch to 1-origin column number types while keeping the observable behavior

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(21 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

In order to migrate to 1-origin column number everywhere, we first need to remove the code that uses 0-origin column number internally, while keeping the observable behavior such as debugger, error message, stack trace, etc.
once the 0-origin column number type consumers are all rewritten, then we can rewrite each input/ouput to use 1-origin value.

Blocks: 1862693
Blocks: 1862814
Attachment #9362510 - Attachment description: Bug 1862692 - Part 20: Stop usign 0-origin column number types. r?iain! → Bug 1862692 - Part 20: Stop using 0-origin column number types. r?iain!
Attachment #9362511 - Attachment description: Bug 1862692 - Part 21: Remove usign 0-origin column number types. r?iain! → Bug 1862692 - Part 21: Remove 0-origin column number types. r?iain!
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/0e3ba3664bf7
Part 1: Use 1-origin column number types in FrameIter. r=iain
https://hg.mozilla.org/integration/autoland/rev/26c544b6ed38
Part 2: Use 1-origin column number types in wasm debug. r=iain
https://hg.mozilla.org/integration/autoland/rev/d04f0010a047
Part 3: Use 1-origin column number types in PCToLineNumber. r=iain,profiler-reviewers,canaltinova
https://hg.mozilla.org/integration/autoland/rev/b79dd8b22520
Part 4: Use 1-origin column number types in JitCodeAPI. r=iain
https://hg.mozilla.org/integration/autoland/rev/78de8d84e318
Part 5: Use 1-origin column number types in ErrorMetadata. r=iain
https://hg.mozilla.org/integration/autoland/rev/096d63e38f6e
Part 6: Use Use 1-origin column number types in EitherParser::computeLineAndColumn. r=iain
https://hg.mozilla.org/integration/autoland/rev/3ad1c829d98e
Part 7: Use Use 1-origin column number types in CheckPatternSyntax. r=iain
https://hg.mozilla.org/integration/autoland/rev/15b7a0bc14e4
Part 8: Use dedicate type for TokenStream-internal unsigned column number offset. r=iain
https://hg.mozilla.org/integration/autoland/rev/cf0b05d96802
Part 9: Use 1-origin column number type in ErrorReporter. r=iain
https://hg.mozilla.org/integration/autoland/rev/d24d93ce5b21
Part 10: Use 1-origin column number type in BytecodeSection. r=iain
https://hg.mozilla.org/integration/autoland/rev/f06e4b2ce239
Part 11: Remove unused include in StencilXdr.cpp. r=iain
https://hg.mozilla.org/integration/autoland/rev/71edf12b8008
Part 12: Use 1-origin column number type in BytecodeRangeWithPosition. r=iain
https://hg.mozilla.org/integration/autoland/rev/fd987f5e234d
Part 13: Use 1-origin column number type in source notes. r=iain
https://hg.mozilla.org/integration/autoland/rev/1312dfc6316b
Part 14: Use 1-origin column number type in SourceExtent. r=iain
https://hg.mozilla.org/integration/autoland/rev/ba89b6cdbd7a
Part 15: Use 1-origin column number type in JSScript/ScriptSource. r=iain
https://hg.mozilla.org/integration/autoland/rev/ec3af6f6844f
Part 16: Use 1-origin column number type in JS::DescribeScriptedCaller. r=iain
https://hg.mozilla.org/integration/autoland/rev/86c841c5560d
Part 17: Use 1-origin column number type in JS::ReadOnlyCompileOptions. r=iain
https://hg.mozilla.org/integration/autoland/rev/b5b2cb2edec4
Part 18: Use 1-origin column number type in Debugger. r=iain
https://hg.mozilla.org/integration/autoland/rev/567302fc3a87
Part 19: Use 1-origin column number in FlowGraphSummary. r=iain
https://hg.mozilla.org/integration/autoland/rev/81cd306f2987
Part 20: Stop using 0-origin column number types. r=iain
https://hg.mozilla.org/integration/autoland/rev/02a286ff5192
Part 21: Remove 0-origin column number types. r=iain
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: