Closed Bug 1641466 Opened 4 years ago Closed 4 years ago

Some CacheIR cleanups for lazy functions

Categories

(Core :: JavaScript Engine: JIT, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(5 files)

Now that all scripted functions have a JIT entry, we can simplify some CacheIR code for getters/setters/calls. We no longer have to treat lazy functions as temporarily-unoptimizable.

The interpreter trampoline now works for all lazy functions so instead of
temporarily-deoptimizing we should just attach the stub.

Severity: normal → N/A
Priority: -- → P3
Attachment #9152309 - Attachment description: Bug 1641466 - Clean up some CacheIR code now that all scripted functions have a JIT entry. r?tcampbell! → Bug 1641466 part 1 - Clean up some CacheIR code now that all scripted functions have a JIT entry. r?tcampbell!

Use isNative or isNativeWithoutJitEntry instead. isBuiltinNative is still used
to implement hasJitInfo.

Depends on D77405

We can use hasJitEntry and isNativeWithoutJitEntry instead. Also removes
isNative/isInterpreted from WrappedFunction.

Depends on D77406

This better reflects what the code is doing.

Depends on D77606

Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d6a55510a282
part 1 - Clean up some CacheIR code now that all scripted functions have a JIT entry. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/8ce8550b83b2
part 2 - Add hasJitEntry and isNativeWithoutJitEntry to FunctionFlags. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/8390490461f8
part 3 - Stop using isBuiltinNative in IC code. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/e0f00f7ef2ac
part 4 - Remove isNativeWithJitEntry. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/34e587606318
part 5 - Rename GuardFunctionIsNative op to GuardFunctionHasNoJitEntry. r=tcampbell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: