v8/test
Leszek Swirski b6888b63ca Revert "[sfi] Remove SFI function literal id field"
This reverts commit ceb9c8127f.

Reason for revert: Tanks compile time

Original change's description:
> [sfi] Remove SFI function literal id field
> 
> SharedFunctionInfos store their original function literal's id. This is
> also their index in the Script's SFI list.
> 
> Since the function literal id is only needed for lazy compilation and live
> edit, we can calculate it on-the-fly by linear search in the Script SFI list,
> and save a field on the SFI.
> 
> If this regresses compile performance, we could alternatively store the
> function literal id on the preparsed scope data as future work.
> 
> Bug: chromium:818642
> Change-Id: I5468cea0e115921f1c864d94e567d749a4349882
> Reviewed-on: https://chromium-review.googlesource.com/1082480
> Commit-Queue: Leszek Swirski <leszeks@chromium.org>
> Reviewed-by: Hannes Payer <hpayer@chromium.org>
> Reviewed-by: Toon Verwaest <verwaest@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#53523}

TBR=hpayer@chromium.org,leszeks@chromium.org,verwaest@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: chromium:818642
Bug: chromium:850417
Change-Id: If2fd21331b7062532c04004a51e705f7e9d0a151
Reviewed-on: https://chromium-review.googlesource.com/1090494
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53573}
2018-06-07 09:21:27 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest Use EphemeronHashTable as backing store for JSWeakCollection 2018-06-07 09:04:37 +00:00
common [wasm] Make wasm::ValueType independent of the MachineRepresentation 2018-05-07 11:54:56 +00:00
debugger Revert "[sfi] Remove SFI function literal id field" 2018-06-07 09:21:27 +00:00
fuzzer [parsing] Remove most GetIsolate calls 2018-06-05 08:54:58 +00:00
inspector [inspector] decouple debugger delegate and async stacks delegate 2018-06-05 17:39:22 +00:00
intl Prevent throwing exceptions more than once during Locale construction. 2018-06-01 18:18:54 +00:00
js-perf-test [tests] Fix JSTests 2018-06-05 11:38:43 +00:00
memory Reland "[tools] Add benchmark owners to the config" 2018-05-16 13:53:49 +00:00
message Reland "[array] Implement Array.p.sort in Torque" 2018-06-05 08:33:18 +00:00
mjsunit [wasm] Fall back on bounds checks when guarded memory unavailable 2018-06-07 01:29:53 +00:00
mkgrokdump Re-enable embedded builtins 2018-06-06 08:47:57 +00:00
mozilla [test] Reverse sense of wasm_traps variant 2018-05-08 17:49:14 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 Revert "[array] Use random middle element to determine pivot during sorting" 2018-06-06 08:16:48 +00:00
torque [torque] Fix int32 literals 2018-06-05 12:33:23 +00:00
unittests Revert "[sfi] Remove SFI function literal id field" 2018-06-07 09:21:27 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-05-22 09:47:41 +00:00
webkit [test] Skip slow tests 2018-05-23 14:14:34 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00