Closed Bug 1531841 Opened 9 months ago Closed 9 months ago

Make CacheIRCompiler::callVM/tailCallVM infallible.

Categories

(Core :: JavaScript Engine: JIT, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: iain, Assigned: iain)

Details

Attachments

(1 file)

In both BaselineCacheIRCompiler and IonCacheIRCompiler, callVM and tailCallVM return MOZ_MUST_USE bool, even though they can't actually fail.

This patch makes callVM/tailCallVM infallible and cleans up their callsites.

Assignee: nobody → iireland
Pushed by iireland@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b38cbb00d7dd
Make callVM/tailCallVM infallible in CacheIR compilers r=mgaudet
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.