Closed Bug 1417595 Opened 7 years ago Closed 7 years ago

[MIPS] Implement missing parts of Bug 1417398

Categories

(Core :: JavaScript Engine: JIT, enhancement, P5)

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: dragan.mladjenovic, Assigned: dragan.mladjenovic)

Details

Attachments

(1 file, 2 obsolete files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
Attached patch bug1417595.diff (obsolete) — Splinter Review
Attachment #8928650 - Flags: review?(jdemooij)
Comment on attachment 8928650 [details] [diff] [review]
bug1417595.diff

Review of attachment 8928650 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks. Note that there will be more changes to this code in bug 1417398.
Attachment #8928650 - Flags: review?(jdemooij) → review+
Priority: -- → P5
(In reply to Jan de Mooij [:jandem] from comment #2)
> Thanks. Note that there will be more changes to this code in bug 1417398.

I just landed bug 1417398; this will need to be rebased. Sorry for the churn!
Summary: [MIPS] Implement missing parts of Bug 1416572 → [MIPS] Implement missing parts of Bug 1417398
Attached patch bug1417595_2.patch (obsolete) — Splinter Review
Hi,
Sorry for the late response. I've updated the bug to refer to Bug 1417398. I've also included a small change to JitRuntime::startTrampolineCode to reset masm's framePushed to zero at every new start of trampoline code. This is done in order to satisfy debug asserts in mips's trampolines from before when each trampoline code gen renewed its own instance of MacroAssembler.
Attachment #8928650 - Attachment is obsolete: true
Attachment #8930066 - Flags: review?(jdemooij)
Comment on attachment 8930066 [details] [diff] [review]
bug1417595_2.patch

Review of attachment 8930066 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8930066 - Flags: review?(jdemooij) → review+
Assignee: nobody → dragan.mladjenovic
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Keywords: checkin-needed
(In reply to Natalia Csoregi [:nataliaCs] from comment #7)
> Backed out for Spidermonkey build bustage on Linux x64 Debug
> src/js/src/jit/MacroAssembler.h:419
> 
> Backout:
> https://hg.mozilla.org/integration/mozilla-inbound/rev/
> 7c9f541b4722f4622401178127e865970ab45175
> 
> Push with failures:
> https://treeherder.mozilla.org/#/jobs?repo=mozilla-
> inbound&revision=2b6b5af4a1f22a7862facee78d7b982ed2726b0f
> 
> Failure log:
> https://treeherder.mozilla.org/logviewer.html#?job_id=146465434&repo=mozilla-
> inbound&lineNumber=1994

I haven't been able to reproduce this failure on my local setup (clang-4.0 / gcc 4.9.4). Is the gcc used by this build publicly available for download ?
Flags: needinfo?(dragan.mladjenovic) → needinfo?(ncsoregi)
You probably need to include MacroAssembler-inl.h in Ion.cpp.

This is the non-unified build, an easy way to build like this locally is to s/UNIFIED_SOURCES/SOURCES/ in js/src/moz.build
(In reply to Jan de Mooij [:jandem] from comment #9)
> You probably need to include MacroAssembler-inl.h in Ion.cpp.
> 
> This is the non-unified build, an easy way to build like this locally is to
> s/UNIFIED_SOURCES/SOURCES/ in js/src/moz.build

Thanks. It was it. I should now provide an updated version of this patch and again mark this bug report with checkin-needed ? Or there is a different procedure to follow in this case. Also Bug1418990 patch was backed out along with this patch.
(In reply to Dragan Mladjenovic from comment #10)
> Thanks. It was it. I should now provide an updated version of this patch and
> again mark this bug report with checkin-needed ? Or there is a different
> procedure to follow in this case. Also Bug1418990 patch was backed out along
> with this patch.

Yeah that's fine. Mark bug 1418990 as checkin-needed and post an updated patch for this bug and mark it checkin-needed too.

When you add the missing #include, just make sure the ordering is correct.
Flags: needinfo?(ncsoregi)
Attachment #8930066 - Attachment is obsolete: true
Attachment #8930897 - Flags: review+
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3d1cdd68d47b
[MIPS] Implement missing parts of Bug 1417398. r=jandem
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/3d1cdd68d47b
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: