DescriptionRestrict GeneratePreagedPrologue to proper functions.
This solves a bug discovered with fast accessors, where a pre-age prologue
was written into a stub. Since StaticMarkingVisitor<.>::IsFlushable will
only flush Code::FUNCTION [1], we'll restrict GeneratePreagedPrologue to
functions, too, instead of adding a Code::STUB restriction.
Also, generalize api accessor test cases to --optimize-for-size.
Also, fix CompilationCacheCachingBehavior for --optimize-for-size.
[1] https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/heap/objects-visiting-inl.h&l=629-632
R=epertoso
BUG=
Committed: https://crrev.com/41719a42ac105963c1709e0c6117caea68aaaef8
Cr-Commit-Position: refs/heads/master@{#33291}
Patch Set 1 #Patch Set 2 : Fix CompilationCacheCachingBehavior for all combinations of --age-code and --optimize-for-size. #
Messages
Total messages: 12 (5 generated)
|