Description[interpreter] Make setting of function data more resilient.
This adds explicit setters for the SharedFunctionInfo::function_data
field. Such setters are safer because they allow for explicit checking
of which values are allowed, and they improve readability because the
intended semantics become clear for each call-site. Also fix a cctest
case along the way.
R=rmcilroy@chromium.org
Committed: https://crrev.com/6acee6ee598f4638e1ee376d51243821787acb3e
Cr-Commit-Position: refs/heads/master@{#34297}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Allow race in threading test. :( #Patch Set 3 : Addressed comments. #
Total comments: 2
Depends on Patchset: Messages
Total messages: 11 (4 generated)
|