DescriptionPPC: [compiler] Always pass closure argument to with, catch and block context creation.
Port d3e5db04287b0b853e28552119e4177eb3bf10b9
Original commit message:
Up until now we sometimes pass Smi 0 around as closure and expect the
runtime to translate that appropriately. But we need to be careful in
some places to not confuse the Smi 0 with a real closure. However, we
could instead just pass the correct closure extracted from the native
context.
This addresses three long-standing TODOs in the JSTypedLowering pass.
R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=
Committed: https://crrev.com/219794daabf030063f02163010ab34b2d1469633
Cr-Commit-Position: refs/heads/master@{#32430}
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 12 (4 generated)
|