v8/src
Camillo Bruni 2660997331 [codegen] Assert that deserialized SFIs have correct origins
Re-use the same check we already have in place for the
compilation cache for when we use CodeSerializer::Deserialize.

- Move HasOrigin to SharedFunctionInfo::HasMatchingOrigin
- HasMatchingOrigin no longer allocates
- Pass ScriptDetails in more places

Bug: v8:10284
Change-Id: I6e074bd1e7db9a35fdf7123d04a65841d9813e02
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3090968
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76451}
2021-08-24 10:35:45 +00:00
..
api Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
asmjs
ast [regexp] Break dependency on JSRegExp::Flags 2021-08-19 09:12:55 +00:00
base [base] check if path leads to a valid file name 2021-08-19 12:34:27 +00:00
baseline [masm] Create helpers to manipulate arguments on the stack. 2021-08-19 15:04:27 +00:00
bigint [bigint] Faster parsing from long strings 2021-08-20 10:54:34 +00:00
builtins Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
codegen [codegen] Assert that deserialized SFIs have correct origins 2021-08-24 10:35:45 +00:00
common Improve error message for Set/Map grow failures 2021-08-18 01:30:10 +00:00
compiler [ia32] Merge SSE/AVX float32/float64 add sub mul div 2021-08-23 22:19:18 +00:00
compiler-dispatcher Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
d8 Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
date
debug [frames] Add convenience function to get the top valid from 2021-08-24 05:32:14 +00:00
deoptimizer [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
diagnostics Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
execution [modules] Add CHECK to dynamic import 2021-08-24 10:30:52 +00:00
extensions Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
flags [intl] Ship Ext. TimeZone option 2021-08-17 03:20:50 +00:00
handles Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
heap cppgc: Perform caged-heap fast check when conservatively scanning 2021-08-23 12:04:06 +00:00
ic [compiler] Thread-safe FindElementsKindTransitionedMap 2021-08-11 05:14:52 +00:00
init Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
inspector [inspector] Treat rejected promises like exceptions for eager eval. 2021-08-23 13:43:54 +00:00
interpreter Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
json Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
libplatform Introduce v8_enable_virtual_memory_cage 2021-08-11 16:13:42 +00:00
libsampler Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
logging Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
numbers [bigint] Faster parsing from small strings 2021-08-10 19:07:40 +00:00
objects [codegen] Assert that deserialized SFIs have correct origins 2021-08-24 10:35:45 +00:00
parsing Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
profiler [cpu-profiler] Add method to estimate mem size of ProfilerCodeObserver 2021-08-23 19:07:15 +00:00
protobuf
regexp [regexp] Replace JSRegExp::Flags uses by RegExpFlags 2021-08-19 11:25:55 +00:00
roots
runtime [modules] Add CHECK to dynamic import 2021-08-24 10:30:52 +00:00
sanitizer
snapshot [codegen] Assert that deserialized SFIs have correct origins 2021-08-24 10:35:45 +00:00
strings [strings] Fix printf formatting to be less like credentials 2021-08-04 09:23:10 +00:00
tasks Remove rmcilroy from OWNERS. 2021-08-19 16:30:27 +00:00
third_party Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
torque [torque] Invert the default for @generateCppClass 2021-07-21 15:21:00 +00:00
tracing
trap-handler [traphandler] Add comment about section splitting 2021-08-11 12:41:32 +00:00
utils Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
wasm ppc: [liftoff] implement CallC function 2021-08-23 19:39:10 +00:00
web-snapshot Revert "[include] Split out v8.h" 2021-08-23 11:54:09 +00:00
zone
DEPS [regexp] Break dependency on JSRegExp::Flags 2021-08-19 09:12:55 +00:00
DIR_METADATA
OWNERS