| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm % comment
*compilation_unit_,
[&](ValueNode* node, interpreter::Register) { AddDeoptUse(node); });
AddDeoptUse(entry_stack_check_frame_->closure());This frame is also used as lazy deopt frame for the FunctionEntryStackCheck, so probably you shouldn't change this.
Although in practice you really shouldn't see any vobjs here... Maybe the best would be to DCHECK that neither closure nor receiver are vobjs here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
*compilation_unit_,
[&](ValueNode* node, interpreter::Register) { AddDeoptUse(node); });
AddDeoptUse(entry_stack_check_frame_->closure());This frame is also used as lazy deopt frame for the FunctionEntryStackCheck, so probably you shouldn't change this.
Although in practice you really shouldn't see any vobjs here... Maybe the best would be to DCHECK that neither closure nor receiver are vobjs here.
Those are two separate concerns though. vobj: only relevant wrt recursively setting use_count_. Receiver/closure materialization matters in any case, no?
If this frame is used for lazy deopts, Imo we should keep the AddMaterializedDeoptUse special cases here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
*compilation_unit_,
[&](ValueNode* node, interpreter::Register) { AddDeoptUse(node); });
AddDeoptUse(entry_stack_check_frame_->closure());Jakob LinkeThis frame is also used as lazy deopt frame for the FunctionEntryStackCheck, so probably you shouldn't change this.
Although in practice you really shouldn't see any vobjs here... Maybe the best would be to DCHECK that neither closure nor receiver are vobjs here.
Those are two separate concerns though. vobj: only relevant wrt recursively setting use_count_. Receiver/closure materialization matters in any case, no?
If this frame is used for lazy deopts, Imo we should keep the AddMaterializedDeoptUse special cases here.
Receiver/closure materialization matters in any case, no?
Except that here reciever & closure shouldn't be dematerializable (ie, they can't be InlinedAllocation).
And so I think that a DCHECK that they aren't InlinedAllocation (rather than vobj as I initially said) makes more sense to document the assumptions that we're making and the state that we're in.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[&](ValueNode* node, interpreter::Register) { AddDeoptUse(node); });
AddDeoptUse(entry_stack_check_frame_->closure());Jakob LinkeThis frame is also used as lazy deopt frame for the FunctionEntryStackCheck, so probably you shouldn't change this.
Although in practice you really shouldn't see any vobjs here... Maybe the best would be to DCHECK that neither closure nor receiver are vobjs here.
Darius MercadierThose are two separate concerns though. vobj: only relevant wrt recursively setting use_count_. Receiver/closure materialization matters in any case, no?
If this frame is used for lazy deopts, Imo we should keep the AddMaterializedDeoptUse special cases here.
Receiver/closure materialization matters in any case, no?
Except that here reciever & closure shouldn't be dematerializable (ie, they can't be InlinedAllocation).
And so I think that a DCHECK that they aren't InlinedAllocation (rather than vobj as I initially said) makes more sense to document the assumptions that we're making and the state that we're in.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[maglev] Re-enable receiver/closure elision for non-lazy frame states
Only lazy frame states are used for computing stack traces, from which
.getThis and .getFunction may access the receiver and closure.
This is a followup to https://crrev.com/c/7642804.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |