Closed Bug 1640211 Opened 5 years ago Closed 5 years ago

Some cleanup around MCall in Ion

Categories

(Core :: JavaScript Engine: JIT, task)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: evilpies, Assigned: evilpies)

References

Details

Attachments

(3 files)

There is some cleanup we should be doing in preparation for adding optimized scripted calls to Warp.

The name is misleading, the callee doesn't have to be a function.

Assignee: nobody → evilpies
Status: NEW → ASSIGNED
Keywords: leave-open

We don't want to keep a pointer to the native or jitInfo, because that would mean in the long run we would have
to include those into CacheIR as well. (We are going to construct WrappedFunction off-main thread in the future
and initialize the flags explicitly via CacheIR, probably)

This also means fun_->jitInfo() is technically not thread-safe in debug mode, because of the isBuiltinNative() in hasJitInfo()

Depends on D76524

Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/3738ba3a4c9a Rename fun to callee in CallInfo. r=iain https://hg.mozilla.org/integration/autoland/rev/37c1d57785f7 Rename function to callee in MCall. r=iain https://hg.mozilla.org/integration/autoland/rev/d82fb36343f3 Use js::FunctionFlags for WrappedFunction instead of manually defining bit-fields. r=tcampbell
Blocks: 1640300
Keywords: leave-open
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: