v8/src
Clemens Backes 0488582da8 [wasm] Add DCHECK that we do not validate unexpectedly
After several fixes (https://crrev.com/c/4152483,
https://crrev.com/c/4152489, https://crrev.com/c/4152950,
https://crrev.com/c/4168411, https://crrev.com/c/4168412), we can
finally add the DCHECK that we do not have to validate functions under
normal circumstances (if no non-default flags are enabled).

This should protect us against future bugs that lead to
double-validation and hence unnecessary overhead.

R=ahaas@chromium.org

Change-Id: I519b221b96c43f921677e0ab8e519ede249ef12e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4178823
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85441}
2023-01-23 16:48:27 +00:00
..
api Rename CodeDataContainer to Code 2023-01-18 08:44:08 +00:00
asmjs [wasm-gc] Final types 2022-12-20 14:03:30 +00:00
ast [class] support out-of-scope private member access in debug-evaluate 2023-01-20 22:26:44 +00:00
base Annotate some SmallVector methods as V8_PRESERVE_MOST 2023-01-17 15:05:51 +00:00
baseline [riscv] Rename CodeDataContainer to Code 2023-01-20 13:07:55 +00:00
bigint [runtime] Zero padding of sequential strings 2023-01-13 17:27:40 +00:00
builtins [runtime] add protector for String/Number prototype @@replace lookup 2023-01-23 15:55:52 +00:00
codegen [runtime] add protector for String/Number prototype @@replace lookup 2023-01-23 15:55:52 +00:00
common [class] support out-of-scope private member access in debug-evaluate 2023-01-20 22:26:44 +00:00
compiler Improve encoding of common translation instructions 2023-01-23 16:26:23 +00:00
compiler-dispatcher [compiler-dispatcher] Use v8_flags for accessing flag values 2022-10-10 15:43:11 +00:00
d8 [d8] Protect accesses to {profiler_end_callback_} with a lock 2023-01-19 12:14:40 +00:00
date [intl] Enhance Date parser to take Unicode SPACE 2022-11-16 18:00:56 +00:00
debug [string-iswellformed] Ship the proposal 2023-01-18 19:07:18 +00:00
deoptimizer Improve encoding of common translation instructions 2023-01-23 16:26:23 +00:00
diagnostics Remove the AbstractCode == InstructionStream case 2023-01-23 13:39:18 +00:00
execution Improve encoding of common translation instructions 2023-01-23 16:26:23 +00:00
extensions Rename Code to InstructionStream 2023-01-17 12:45:45 +00:00
flags [heap] Remove --global-gc-scheduling flag 2023-01-19 09:12:50 +00:00
handles [heap] Trivial LocalEmbedderHeapTracer removals 2023-01-13 08:19:52 +00:00
heap [runtime] add protector for String/Number prototype @@replace lookup 2023-01-23 15:55:52 +00:00
ic [ic] store the slow handler for proxies in DefineKeyedOwnIC 2023-01-20 22:30:24 +00:00
init [runtime] add protector for String/Number prototype @@replace lookup 2023-01-23 15:55:52 +00:00
inspector [inspector] Omit call frames in instrumentation pause messages 2023-01-19 06:39:10 +00:00
interpreter [class] support out-of-scope private member access in debug-evaluate 2023-01-20 22:26:44 +00:00
json JSON Parser micro optimisations 2023-01-18 12:00:47 +00:00
libplatform [Tracing w/SDK] Replace TraceStateObserver with TrackEventSessionObserver 2022-12-01 11:18:24 +00:00
libsampler [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
logging Fix data race when writing to Profiler::overflow_ 2023-01-23 16:19:43 +00:00
maglev Improve encoding of common translation instructions 2023-01-23 16:26:23 +00:00
numbers [turbofan] Constant-folding parseInt with constant string input 2022-12-06 01:31:46 +00:00
objects [runtime] add protector for String/Number prototype @@replace lookup 2023-01-23 15:55:52 +00:00
parsing [class] support out-of-scope private member access in debug-evaluate 2023-01-20 22:26:44 +00:00
profiler [profiler] Support WasmGC objects in heap snapshots 2023-01-23 14:21:36 +00:00
protobuf Remove petermarshall from OWNERS 2021-03-31 11:00:22 +00:00
regexp Remove the AbstractCode == InstructionStream case 2023-01-23 13:39:18 +00:00
roots [runtime] add protector for String/Number prototype @@replace lookup 2023-01-23 15:55:52 +00:00
runtime [wasm-gc] Add cache lookup to wrapper compilation 2023-01-23 12:05:51 +00:00
sandbox Fix race in ExternalPointerTable::Mark 2023-01-20 09:35:57 +00:00
snapshot Remove the AbstractCode == InstructionStream case 2023-01-23 13:39:18 +00:00
strings [wasm-stringrefs] Add string.new_utf8_try 2023-01-19 17:10:06 +00:00
tasks Remove some unused includes (3) 2022-07-07 09:42:31 +00:00
temporal [Temporal] Clean up parser 2022-09-27 20:38:54 +00:00
third_party Fix vtunejit issues 2022-07-27 13:02:17 +00:00
torque [runtime] Zero padding of sequential strings 2023-01-13 17:27:40 +00:00
tracing [Tracing w/SDK] Replace TraceStateObserver with TrackEventSessionObserver 2022-12-01 11:18:24 +00:00
trap-handler [trap-handler] Add more owners 2023-01-18 09:14:04 +00:00
utils [ext-code-space] Improve code range allocation logic 2022-12-16 16:33:55 +00:00
wasm [wasm] Add DCHECK that we do not validate unexpectedly 2023-01-23 16:48:27 +00:00
web-snapshot JSON Parser micro optimisations 2023-01-18 12:00:47 +00:00
zone Reland "Use preserve_most calling conventions for Zone::Expand" 2023-01-16 11:46:54 +00:00
DEPS [heap] Remove LocalEmbedderHeapTracer 2023-01-18 09:36:32 +00:00
DIR_METADATA
OWNERS