v8/test/cctest/heap
Leszek Swirski f0696b4ce9 [cache] Remove native context params from script cache
Remove the requirement to pass the native context into the script cache,
simple to be able to access the empty function. Instead, for script
cache keys, use Smi::zero() in the 'owner function' slot.

This allows CompileUnboundScript to be called outside of a Context
scope.

Change-Id: I9b4fe6dd43f14944728664f7203b748ced750e76
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2794440
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73737}
2021-03-31 11:50:29 +00:00
..
heap-tester.h Reland "Reland "[deoptimizer] Change deopt entries into builtins"" 2020-10-21 06:01:38 +00:00
heap-utils.cc [heap, infra] Remove --local-heaps and --concurrent-allocation flags 2021-02-01 11:01:26 +00:00
heap-utils.h [heap, infra] Remove --local-heaps and --concurrent-allocation flags 2021-02-01 11:01:26 +00:00
test-alloc.cc [cleanup] Remove atomic kRelaxed accessors in favour for non-atomic ones 2021-03-08 10:57:19 +00:00
test-array-buffer-tracker.cc [cleanup][wasm] Replace min/max with std::min/std::max 2020-11-09 01:50:30 +00:00
test-compaction.cc [heap] Add flag to crash when evacuation aborts 2021-03-01 12:56:02 +00:00
test-concurrent-allocation.cc [heap] Fix deadlock with concurrent allocation and blocked main thread 2021-03-29 12:29:25 +00:00
test-concurrent-marking.cc [heap] Split ConcurrentMarking::Stop and update priority 2020-10-23 15:57:50 +00:00
test-embedder-tracing.cc [api] Change CreationContext to return a MaybeHandle 2021-02-16 12:52:31 +00:00
test-external-string-tracker.cc Reland^2 "[heap] Move start of incremental marking in allocation" 2020-07-14 12:07:34 +00:00
test-heap.cc [cache] Remove native context params from script cache 2021-03-31 11:50:29 +00:00
test-incremental-marking.cc [test]: Fix platform lifetime in IncrementalMarkingUsingTasks. 2020-11-27 06:58:21 +00:00
test-invalidated-slots.cc [factory] Remove deprecated JSFunction ctors 2020-11-11 06:12:35 +00:00
test-iterators.cc Reland "[heap] Make ReadOnlySpace use bump pointer allocation" 2020-06-18 11:48:38 +00:00
test-lab.cc [torque] Use generated instance types, part 1 2019-10-28 18:30:31 +00:00
test-mark-compact.cc [factory] Remove deprecated JSFunction ctors 2020-11-11 06:12:35 +00:00
test-memory-measurement.cc [factory] Remove deprecated JSFunction ctors 2020-11-11 06:12:35 +00:00
test-page-promotion.cc [test] Tests should only invoke NewSpace::Grow in safepoint 2020-09-24 16:14:10 +00:00
test-spaces.cc [heap] Fix alignment of large fixed double array. 2021-01-22 12:49:48 +00:00
test-unmapper.cc [test]: Fix platform lifetime in EagerUnmappingInCollectAllAvailableGarbage. 2020-10-28 09:12:05 +00:00
test-weak-references.cc Reland "Reland "[deoptimizer] Change deopt entries into builtins"" 2020-10-21 06:01:38 +00:00
test-write-barrier.cc Reland "[no-wasm] Exclude src/wasm from compilation" 2021-03-11 14:29:26 +00:00