Closed
Bug 1128820
Opened 9 years ago
Closed 9 years ago
Fix checkStackAlignment break code conflict with call c++ tag on Simulator
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: hev, Assigned: hev)
Details
Attachments
(1 file, 1 obsolete file)
1.42 KB,
patch
|
hev
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150126171358 Steps to reproduce: On simulator, The break instruction with max code (1023) is to emit a external call to c++ static code. So, I think should change break code to 1 for checkStackAlignment.
Assignee | ||
Updated•9 years ago
|
Attachment #8558308 -
Flags: review?(branislav.rankov)
Comment 1•9 years ago
|
||
Comment on attachment 8558308 [details] [diff] [review] 0001-IonMonkey-MIPS-Fix-checkStackAlignment-break-code-co.patch Review of attachment 8558308 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jit/mips/MacroAssembler-mips.cpp @@ +3355,4 @@ > Label aligned; > as_andi(ScratchRegister, sp, ABIStackAlignment - 1); > ma_b(ScratchRegister, zero, &aligned, Equal, ShortJump); > + as_break(1); nit: Just add a constant for this next to MAX_BREAK_CODE. For example : static const uint32_t BREAK_STACK_UNALIGNED = 1;
Attachment #8558308 -
Flags: review?(branislav.rankov) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8558493 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Attachment #8558308 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 3•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7b8b9ef690b1
Assignee: nobody → r
Keywords: checkin-needed
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/7b8b9ef690b1
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•