Closed Bug 836068 Opened 12 years ago Closed 12 years ago

IonMonkey: Narrow the stack-typesets of inlined callees using caller's parameter typesets

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 804676

People

(Reporter: djvj, Unassigned)

References

(Blocks 1 open bug)

Details

One of the benefits of inlining is the we are able to propagate local site information from a caller to the callee being inlined. An inlined callee's stack typesets may be narrowed using the typesets for the parameters passed in from the caller. This is probably worth investigating for performance benefits.
Blocks: 838906
Bug 804676 will do almost everything that we need here. That bug will cut the separate context-insensitive (aka inlining-insensitive) computation of stack type sets and make this part of IonBuilder. Narrowing type information within inlined frames falls out naturally from that, though there may be some followup work for narrowing observed type sets based on what is actually possible in the inlined frame.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.