Description[compiler] Allocate SharedFunctionInfo before compile.
This changes the compilation pipeline so that SharedFunctionInfo objects
are always allocated before the various compilers are invoked. It is a
preparation towards having that object available during compile time and
hence reducing the dependency on FunctionLiteral and the need to copy a
lot of the information into the CompilationInfo.
Optimizing compilers already assume the SharedFunctionInfo is present
and the baseline compilers have other heap accesses sprinkled throughout
the compilation process. Duplicating statically available information
from the SharedFunctionInfo within the CompilationInfo has no benefit.
R=yangguo@chromium.org
Committed: https://crrev.com/42c8812d15a452fa1ace3b4cb87aea4373601937
Cr-Commit-Position: refs/heads/master@{#34885}
Patch Set 1 #Patch Set 2 : Fix failures. #Patch Set 3 : Fix failures. #
Total comments: 2
Patch Set 4 : Addressed comments. #
Messages
Total messages: 9 (3 generated)
|