DescriptionX87: [compiler] Mark shared functions for optimization.
port 4a31323e973e0a03403a53c601dfd4f0237532e8 (r40506)
original commit message:
The current method of marking functions for optimization, which replaces
the JSFunction's code object with one that triggers optimization, would
never allow unnamed functions to be optimized. This is an issue for a
style of programming which heavily relies on passing around closures.
This patch sets a bit on the SharedFunctionInfo when a JSFunction is
marked. When another JSFunction referring to the same SharedFunctionInfo
is lazily compiled, it immediately triggers a non-concurrent optimize.
BUG=
Committed: https://crrev.com/ac8318e2e03b4ddb0c7fb82a71cb37cfcc72c1fc
Cr-Commit-Position: refs/heads/master@{#40520}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|