v8/test/cctest/heap
vogelheim 41719a42ac Restrict 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=

Review URL: https://codereview.chromium.org/1580323003

Cr-Commit-Position: refs/heads/master@{#33291}
2016-01-14 11:48:17 +00:00
..
heap-tester.h Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00
test-alloc.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-compaction.cc Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00
test-heap.cc Restrict GeneratePreagedPrologue to proper functions. 2016-01-14 11:48:17 +00:00
test-incremental-marking.cc Implement tracing interface for v8 2015-12-17 18:48:35 +00:00
test-lab.cc [heap] Move to LAB-based allocation for newspace evacuation. 2015-12-18 18:33:50 +00:00
test-mark-compact.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
test-spaces.cc [cctest] Move most heap related tests to test/cctest/heap and clean wrt IWYU 2015-12-09 11:26:15 +00:00
utils-inl.h Reland of "[cctest] Add tests for aborting compaction of pages" 2015-12-16 14:06:51 +00:00