v8/test
Peter Marshall 63ecddc814 [runtime] Remove the construct_stub field of the SFI
Don't dispatch based on the construct_stub field anymore. Rather than
read it out and jump to the construct stub, we can switch on the
builtin_id.

Builtins will always have builtin_id as a Smi, so this signals we need
to jump to JSBuiltinsConstructStub. The only exception is for uncompiled
functions, which will have kCompileLazy as the builtin_id, but need to
jump to the generic stub instead.

API function calls will have a FunctionTemplateInfo in the SFI
function_data field, and need to go to the builtins stub as well.

The final case is everything else, which should go to the generic stub.

Bug: v8:7503
Change-Id: I14790a5f9784dc0d940bf10a05f5310026e1d482
Reviewed-on: https://chromium-review.googlesource.com/980941
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Benedikt Meurer <bmeurer@chromium.org>
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52345}
2018-04-04 10:12:29 +00:00
..
benchmarks Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
cctest [runtime] Remove the construct_stub field of the SFI 2018-04-04 10:12:29 +00:00
common [wasm][anyref] Implement decoding of new instructions 2018-03-23 12:21:58 +00:00
debugger [promises/deoptimizer] Support "catching" builtin continuations 2018-04-04 07:30:59 +00:00
fuzzer Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
inspector DevTools: Runtime.callFunctionOn should allow evals 2018-04-04 00:50:41 +00:00
intl Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
js-perf-test Reland "[test] Add JSTest benchmark for object literal spread" 2018-04-03 22:03:00 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
mjsunit [promises/deoptimizer] Support "catching" builtin continuations 2018-04-04 07:30:59 +00:00
mkgrokdump Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
mozilla Revert "Implement a new spec for timezone offset calculation" 2018-04-03 22:07:32 +00:00
preparser Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
test262 Reland "Ship BigInts" 2018-03-30 02:01:42 +00:00
unittests Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-03-29 16:47:32 +00:00
webkit Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00
BUILD.gn Reland "[build] Remove legacy isolate configurations" 2018-03-28 12:36:55 +00:00