Closed
Bug 1395580
Opened 6 years ago
Closed 6 years ago
Making a small change in /js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp breaks the parser
Categories
(Core :: JavaScript Engine: JIT, defect, P3)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
Writing this patch breaks the config/check_macroassembler_style.py parser: diff --git a/js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp b/js/src/jit/x8 --- a/js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp +++ b/js/src/jit/x86-shared/MacroAssembler-x86-shared.cpp @@ -406,18 +406,17 @@ MacroAssemblerX86Shared::minMaxFloat32(F } //{{{ check_macroassembler_style // =============================================================== // MacroAssembler high-level usage. void MacroAssembler::flush() -{ -} +{} void MacroAssembler::comment(const char* msg) { masm.comment(msg); } // =============================================================== ----- -- check_macroassembler_style.py declared syntax +++ check_macroassembler_style.py found definitions @@ -1365,10 +1365,9 @@ is defined in arm64/MacroAssembler-arm64.cpp is defined in x64/MacroAssembler-x64.cpp is defined in x86/MacroAssembler-x86.cpp -void comment(const char*) PER_SHARED_ARCH; - is defined in arm/MacroAssembler-arm.cpp - is defined in arm64/MacroAssembler-arm64.cpp - is defined in x86-shared/MacroAssembler-x86-shared.cpp +void comment(const char*) DEFINED_ON(arm, arm64); + is defined in arm/MacroAssembler-arm.cpp + is defined in arm64/MacroAssembler-arm64.cpp void flush() PER_SHARED_ARCH; is defined in arm/MacroAssembler-arm.cpp is defined in arm64/MacroAssembler-arm64.cpp
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(nicolas.b.pierron)
Assignee | ||
Comment 1•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3de32aa8fe38fc119a193eab8322b77f4839a945
Updated•6 years ago
|
status-firefox57:
--- → affected
Priority: -- → P3
Comment 2•6 years ago
|
||
From what I understand, this would be a priority for 58, as this would be blocking the reformatting of the code base. This should be a minor change in ./config/check_macroassembler_style.py
Comment hidden (mozreview-request) |
Comment 4•6 years ago
|
||
mozreview-review |
Comment on attachment 8908672 [details] Bug 1395580 - check_macroassembler_style.py - Also manage the coding style {} for function declarations https://reviewboard.mozilla.org/r/180312/#review185508
Attachment #8908672 -
Flags: review?(nicolas.b.pierron) → review+
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07c412e7cdf0 check_macroassembler_style.py - Also manage the coding style {} for function declarations r=nbp
![]() |
||
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/07c412e7cdf0
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → sledru
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(nicolas.b.pierron)
You need to log in
before you can comment on or make changes to this bug.
Description
•