v8/test
Leszek Swirski 5dee5ade75 [sfi] Remove SFI function literal id field (reland^2)
SharedFunctionInfos store their original function literal's id. This is
also their index in the Script's SFI list.

The function literal id is only needed for lazy compilation and live edit,
and access only has to be fast in the former. So, we can move the SFI
function literal id field to UncompiledData, and if patching with live
edit, or discarding compiled code, we can perform a slower linear search
through the Script's SFI list.

This is a reland of
 1) https://chromium-review.googlesource.com/1082480 and
 2) https://chromium-review.googlesource.com/1128854
the differences being:
 1) caching the literal id on UncompiledData rather than always linearly
    searching the SFI list, and removing the unused runtime-liveedit.cc
    file instead of fixing it to support this change.
 2) clearing padding on UncompiledData now that it has 3 int32 fields,
    making its end unaligned on x64.

TBR=yangguo@chromium.org,marja@chromium.org,ulan@chromium.org,cbruni@chromium.org

Bug: chromium:818642
Change-Id: I58dcb12a2a60a680f662568da428e01189c62638
Reviewed-on: https://chromium-review.googlesource.com/1138325
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54473}
2018-07-16 16:38:28 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest Extend hash seed to 64 bits 2018-07-16 11:19:42 +00:00
common [explicit isolates] Remove GetIsolates from Map 2018-06-19 09:59:58 +00:00
debugger Unskip debug-stepout-scope-part* on tsan/stress 2018-07-06 13:30:57 +00:00
fuzzer [fuzzer] Fix timeout in v8_script_parser_fuzzer due to unnecessary long inputs. 2018-07-16 14:29:24 +00:00
inspector Cleanup: Use std::atomic<T> instead of base::AtomicNumber<T> in TaskRunner. 2018-07-12 07:22:06 +00:00
intl Roll ICU to ICU 62.1 2018-07-11 10:24:26 +00:00
js-perf-test [turbofan] Inline Number constructor in certain cases 2018-07-16 10:02:42 +00:00
memory [builtins] Add embedded stats to --serialization-statistics 2018-07-05 12:33:26 +00:00
message [array] Revert "Implement Array.p.sort in Torque" 2018-07-03 12:42:20 +00:00
mjsunit [wasm] Actually run worker-module.js test case. 2018-07-16 10:46:46 +00:00
mkgrokdump [explicit isolates] Move remaining roots to ReadOnyRoots 2018-07-03 15:26:04 +00:00
mozilla Roll ICU to ICU 62.1 2018-07-11 10:24:26 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 Fix GetOption per Ecma 402 #sec-getoption 2018-07-12 12:41:58 +00:00
torque [torque] Add module-wide const bindings 2018-07-13 09:32:51 +00:00
unittests [sfi] Remove SFI function literal id field (reland^2) 2018-07-16 16:38:28 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-07-10 11:18:19 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Revert "Update GN configs for v8_perf target to allow running perf tests in swarming" 2018-07-13 17:12:16 +00:00