v8/test
Seth Brenith c5efd19b0e Return both toplevel SFI and Script from compilation cache
This is a partial reland of https://crrev.com/c/3597106 , except for the
changes in compiler.cc, which are just the minimal possible changes to
make the code compile.

With this change, it is possible that a call to
CompilationCache::LookupScript returns any of:
1. A Script and a toplevel SharedFunctionInfo (cache hit)
2. A Script but no toplevel SharedFunctionInfo (partial cache hit)
3. Nothing (cache miss)

Bug: v8:12808
Change-Id: Id33a4cd0cb28562d6b862fbb113ea9d03f255b2b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3687425
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#81193}
2022-06-15 16:15:12 +00:00
..
benchmarks Skip benchmarks/octane/gbemu-part1 test on NumFuzz 2022-06-09 08:28:53 +00:00
bigint [bigint][test] Parse command-line integer parameters robustly 2022-05-30 15:21:36 +00:00
cctest Return both toplevel SFI and Script from compilation cache 2022-06-15 16:15:12 +00:00
common [wasm][refactor] Use MessageTemplate to describe errors 2022-06-09 16:01:54 +00:00
debugger [flags] Rename --opt to --turbofan 2022-05-03 12:10:30 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [flags] Disable flags freezing in tests, fuzzers, and others 2022-06-15 11:52:46 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector Reland "[inspector] Allow Debugger.setScriptSource to edit top-most function" 2022-06-15 07:48:30 +00:00
intl [intl] Implement NumberFormat v8 string input handling 2022-06-15 04:23:14 +00:00
js-perf-test [compiler] Inline Array.prototype.at in JSCallReducer 2022-05-25 10:01:03 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [api] add v8::Module::GetStalledTopLevelAwaitMessage() 2022-06-10 16:46:57 +00:00
mjsunit [web snapshot] Support resizable ArrayBuffer, detached 2022-06-15 15:41:33 +00:00
mkgrokdump [sandbox] Turn V8_SANDBOX into V8_ENABLE_SANDBOX 2022-05-13 16:23:23 +00:00
mozilla [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
test262 [intl] Implement NumberFormat v8 string input handling 2022-06-15 04:23:14 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests Aix: Unskip LogTests after issue is resolved 2022-06-15 13:57:42 +00:00
wasm-api-tests [wasm][c-api] Add handle scope to fix wasm_module_validate 2022-06-09 16:46:23 +00:00
wasm-js [wasm] Update spec tests 2022-06-15 11:38:32 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-06-15 11:38:32 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
OWNERS