Page MenuHomePhabricator

Bug 1822747 - Add a 'pushValue' function in MacroAssembler.r=jandem
ClosedPublic

Authored by yahan on Mar 16 2023, 7:20 AM.

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.

Code analysis found 3 defects in the diff 693633:

  • 1 defect found by clang-format
  • 1 defect found by code coverage analysis
  • 1 defect found by file-whitespace (Mozlint)
WARNING: Found 2 issues (warning level) that can be dismissed.
IMPORTANT: Found 1 issue (error level) that must be fixed before landing.

You can run this analysis locally with:

  • ./mach clang-format -p js/src/jit/riscv64/MacroAssembler-riscv64.h
  • ./mach lint --warnings --outgoing

For your convenience, here is a patch that fixes all the clang-format defects (use it in your repository with hg import or git apply -p0).

In our previous code coverage analysis run, we found some files which had no coverage and are being modified in this patch:
Should they have tests, or are they dead code?

  • You can file a bug blocking Bug 1415824 for untested files that should be tested.
  • You can file a bug blocking Bug 1415819 for untested files that should be removed.

If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 693633.

yahan edited the summary of this revision. (Show Details)

Code analysis found 1 defect in the diff 693710:

  • 1 defect found by code coverage analysis

1 issue unresolved and 2 issues closed compared to the previous diff 693633.

WARNING: Found 1 issue (warning level) that can be dismissed.

In our previous code coverage analysis run, we found some files which had no coverage and are being modified in this patch:
Should they have tests, or are they dead code?

  • You can file a bug blocking Bug 1415824 for untested files that should be tested.
  • You can file a bug blocking Bug 1415819 for untested files that should be removed.

If you see a problem in this automated review, please report it here.

You can view these defects in the Diff Detail section of Phabricator diff 693710.

This revision is now accepted and ready to land.Mar 20 2023, 9:40 AM