v8/src
Clemens Backes 97d39db4c7 [compiler] Simplify register state accesses
The register state is accessed a lot in the mid-tier register allocator.
Instead of going through an accessor with a DCHECK, just access
directly. This makes stepping for debugging a lot easier, and will
result in an easy-to-debug nullptr access if the register state is not
initialized.

R=thibaudm@chromium.org

Bug: v8:12330
Change-Id: Icf4d1cc187a34f28ee44fc9b80ee5d765aa14b9a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3372911
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78516}
2022-01-07 17:43:05 +00:00
..
api [debug] Lazily lookup source positions for StackFrameInfo. 2022-01-03 15:25:58 +00:00
asmjs [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
ast Reland "[zone] Keep one page when we Zone::Reset for reuse" 2021-12-13 08:20:07 +00:00
base [base] Add VirtualAddressSpace::AllocateGuardRegion 2022-01-04 15:50:08 +00:00
baseline [local-isolate] Move worker RCS scope into LocalIsolate 2021-12-10 11:08:01 +00:00
bigint [BigInt] Port BigInt left and right shift from src/objects/bigint.cc 2021-12-08 11:30:58 +00:00
builtins [shadow stack] Put incsspq calls behind a gn flag 2022-01-05 15:58:23 +00:00
codegen [shadow stack] Drop frames from the shadow stack for exception handling 2022-01-04 08:49:26 +00:00
common [shadow stack] Drop frames from the shadow stack for exception handling 2022-01-04 08:49:26 +00:00
compiler [compiler] Simplify register state accesses 2022-01-07 17:43:05 +00:00
compiler-dispatcher V8 Sandbox rebranding 2021-12-15 17:09:36 +00:00
d8 [d8] Fix worker state race conditions 2021-12-20 15:46:04 +00:00
date [builtins][date] Fix -Wshadow warnings 2021-11-15 19:46:43 +00:00
debug [inspector] Remove obsolete v8::debug::GetDetailedStackTrace() 2022-01-05 10:15:53 +00:00
deoptimizer [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
diagnostics [shadow stack] Drop frames from the shadow stack for exception handling 2022-01-04 08:49:26 +00:00
execution Fix compilation errors with gcc 2022-01-04 19:25:58 +00:00
extensions [interpreter] Port GetDispatchCountersObject to internal 2021-08-25 09:50:51 +00:00
flags [wasm] Implement loop peeling 2022-01-05 16:27:23 +00:00
handles V8 Sandbox rebranding 2021-12-15 17:09:36 +00:00
heap cppgc: std::move of base::optional doesn't reset 2022-01-04 12:00:57 +00:00
ic [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
init [console] Proper type conversions in console builtins. 2021-12-22 18:40:54 +00:00
inspector [inspector] Gracefully ignore non-dictionary values as session state. 2022-01-05 11:12:04 +00:00
interpreter [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
json Reland [json] Set options to share on JSON.parse error script 2021-12-09 12:00:41 +00:00
libplatform Introduce v8_enable_virtual_memory_cage 2021-08-11 16:13:42 +00:00
libsampler [cleanup] Fix a bunch of -Wshadow 2021-11-22 17:27:38 +00:00
logging [wasm] Implement loop peeling 2022-01-05 16:27:23 +00:00
numbers [compiler] Introduce ReusableUnoptimizedCompileState 2021-12-08 11:14:27 +00:00
objects Restore typed array serialization format. 2022-01-07 00:54:14 +00:00
parsing Reland "[scanner] Combine surrogate pairs at start when scanning private names" 2022-01-07 16:46:47 +00:00
profiler [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
protobuf Remove petermarshall from OWNERS 2021-03-31 11:00:22 +00:00
regexp [riscv64] Improve unaligned memory accesses 2021-12-22 01:56:43 +00:00
roots [string] Make String::MakeThin threadsafe for shared strings 2021-12-06 20:27:06 +00:00
runtime Fix duplicated function call in BytecodeBudgetInterruptFromBytecode() 2022-01-05 02:12:44 +00:00
sandbox [base] Add VirtualAddressSpace::AllocateGuardRegion 2022-01-04 15:50:08 +00:00
sanitizer Reland "[elements] Avoid racy data reads/writes" 2021-05-06 10:46:52 +00:00
snapshot [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
strings [ext-code-space] Avoid Code <-> CodeT conversions in runtime, pt.2 2021-12-14 12:19:05 +00:00
tasks Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
temporal [temporal] Sync parser change in PR1957 2021-12-07 04:03:17 +00:00
third_party Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
torque [tq][runtime] Use build flags for JS context promise hooks 2021-12-14 10:51:45 +00:00
tracing [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
trap-handler [trap-handler] Fix -Wshadow warnings 2021-10-15 23:09:46 +00:00
utils [compiler] Share liveness across straight-line bytecode 2021-12-21 11:20:13 +00:00
wasm [liftoff] Allow bailout for missing ARMv7 2022-01-07 16:50:55 +00:00
web-snapshot [web snapshots] Add two-byte string support 2021-12-08 12:36:55 +00:00
zone [zone] Fix initial position rounding 2021-12-14 11:57:35 +00:00
DEPS cppgc: Prohibit Oilpan usage from within V8 2021-08-25 08:24:33 +00:00
DIR_METADATA
OWNERS