v8/test/cctest/heap
Maciej Goszczycki 9d7b0f1c5f [cleanup] Switch to CodeBuilder everywhere
Switch all uses of NewCode and TryNewCode to CodeBuilder and remove these
methods.

NewCode and TryNewCode use a large number of default parameters, which makes
it difficult to use and add any new ones. Large chunks of code were also
duplicated across TryNewCode and NewCode. The previous CL
(https://chromium-review.googlesource.com/c/v8/v8/+/1585736) added a new
CodeBuilder class which allows much simpler building of Code objects.

Bug: v8:9183
Change-Id: I9f6884f35a3284cbd40746376f0f27e36f9051b5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1585737
Commit-Queue: Maciej Goszczycki <goszczycki@google.com>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Dan Elphick <delphick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61096}
2019-04-29 16:48:39 +00:00
..
heap-tester.h Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
heap-utils.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
heap-utils.h Reland "[api,heap] Remove deprecated Persistent APIs" 2019-04-24 09:34:27 +00:00
test-alloc.cc [heap] Introduce AllocationType and use it in Heap::AllocateRaw. 2019-03-05 12:29:30 +00:00
test-array-buffer-tracker.cc [heap][cleanup] Using 'using' instead of 'typedef' 2019-03-29 12:15:30 +00:00
test-compaction.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
test-concurrent-marking.cc Reland "[heap] Remove bailout marking worklist." 2019-01-18 10:04:17 +00:00
test-embedder-tracing.cc Reland "[api,heap] Remove deprecated Persistent APIs" 2019-04-24 09:34:27 +00:00
test-external-string-tracker.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-heap.cc [cleanup] Switch to CodeBuilder everywhere 2019-04-29 16:48:39 +00:00
test-incremental-marking.cc v8: Fix -Wextra-semi warnings, enable warning. 2019-02-13 14:11:28 +00:00
test-invalidated-slots.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
test-lab.cc [ubsan] Port HeapObject to the new design 2018-12-20 16:43:49 +00:00
test-mark-compact.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
test-page-promotion.cc [heap] Fix tests for young large objects 2019-02-07 11:01:20 +00:00
test-spaces.cc Retire PretenureFlag and use AllocationType everywhere. 2019-03-12 08:10:44 +00:00
test-unmapper.cc [cleanup] Mark heap/ methods in subclasses with override. 2018-09-17 15:32:31 +00:00
test-weak-references.cc [cleanup] Switch to CodeBuilder everywhere 2019-04-29 16:48:39 +00:00