v8/src/interpreter
Mythri a36f2593ed Don't use feedback vector to infer IC kind and language mode
Currently, the runtime IC functions deduce the IC kind and the language
mode from the feedback slot kind. To support feedback free execution
(for V8 lite mode and lazy allocation of feedback vectors) we need to
infer the IC kind even when feedback vectors are not present.

To be able to infer the language mode without feedback vectors, this cl
forces context allocation in cases where we raise the language mode in
the middle of a function. The language mode is the stricter of the
language mode on the SFI and the language mode of the current context.

This cl updates the bytecode handlers to check for valid feedback vectors
and to call into runtime if the feedback vector is not allocated. It also
adds new runtime functions to be able to infer the IC kind when there is no
feedback vector. Most of the builtins and handlers remain unchanged because
they are only used when feedback vector is present.

Bug: v8:8394
Change-Id: I1f77740c0d68ddaa0de076597f5f6bcb2e966d70
Reviewed-on: https://chromium-review.googlesource.com/c/1358516
Commit-Queue: Mythri Alle <mythria@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58191}
2018-12-12 14:50:21 +00:00
..
block-coverage-builder.h
bytecode-array-accessor.cc [ubsan] Port Smi to the new design 2018-11-05 20:52:51 +00:00
bytecode-array-accessor.h [ubsan] Port Smi to the new design 2018-11-05 20:52:51 +00:00
bytecode-array-builder.cc [ignition] More accurate dead statement elision 2018-11-08 10:48:09 +00:00
bytecode-array-builder.h [ignition] More accurate dead statement elision 2018-11-08 10:48:09 +00:00
bytecode-array-iterator.cc
bytecode-array-iterator.h
bytecode-array-random-iterator.cc
bytecode-array-random-iterator.h
bytecode-array-writer.cc
bytecode-array-writer.h [ignition] More accurate dead statement elision 2018-11-08 10:48:09 +00:00
bytecode-decoder.cc [cleanup] Don't declare inline runtime functions by default 2018-10-05 13:10:56 +00:00
bytecode-decoder.h
bytecode-flags.cc Reland "[nojit] Remove code stubs" 2018-12-07 15:46:17 +00:00
bytecode-flags.h
bytecode-generator.cc Reland "[nojit] Remove code stubs" 2018-12-07 15:46:17 +00:00
bytecode-generator.h [ignition] use std::vector for eager inner literals list 2018-11-08 15:04:15 +00:00
bytecode-jump-table.h
bytecode-label.cc
bytecode-label.h
bytecode-node.cc
bytecode-node.h
bytecode-operands.cc
bytecode-operands.h [embed handlers] Initialize dispatch table 2018-09-03 08:18:10 +00:00
bytecode-register-allocator.h [cleanup] Refactor interpreter to use default members. 2018-09-14 16:50:34 +00:00
bytecode-register-optimizer.cc
bytecode-register-optimizer.h [cleanup] Mark interpreter methods in subclasses with override. 2018-09-17 07:48:56 +00:00
bytecode-register.cc
bytecode-register.h
bytecode-source-info.cc
bytecode-source-info.h
bytecode-traits.h
bytecodes.cc [Interpreter] Create and use CallNoFeedback bytecode for one-shot code 2018-09-17 11:28:25 +00:00
bytecodes.h [interpreter] Store CreateObjectLiteral's result into the accumulator. 2018-11-08 10:31:45 +00:00
constant-array-builder.cc [ubsan] Port Smi to the new design 2018-11-05 20:52:51 +00:00
constant-array-builder.h Fix cpplint errors that were not found so far 2018-12-11 08:31:10 +00:00
control-flow-builders.cc
control-flow-builders.h [cleanup] Fix leftover clang-tidy warnings. 2018-09-21 11:12:13 +00:00
handler-table-builder.cc
handler-table-builder.h [cleanup] Remove empty and deprecated BASE_EMBEDDED macro 2018-09-11 09:33:18 +00:00
interpreter-assembler.cc Update construct bytecode handlers to work without feedback vectors 2018-12-06 13:32:27 +00:00
interpreter-assembler.h Update bytecode handlers to work without feedback vectors 2018-11-16 16:22:55 +00:00
interpreter-generator.cc Don't use feedback vector to infer IC kind and language mode 2018-12-12 14:50:21 +00:00
interpreter-generator.h [interpreter] Always put bytecode handlers in builtins table 2018-09-20 09:58:15 +00:00
interpreter-intrinsics-generator.cc [async] Introduce dedicated JSAsyncFunctionObject. 2018-10-11 09:22:58 +00:00
interpreter-intrinsics-generator.h
interpreter-intrinsics.cc
interpreter-intrinsics.h [async] Introduce dedicated JSAsyncFunctionObject. 2018-10-11 09:22:58 +00:00
interpreter.cc [ptr-compr] Use FullObjectSlot for off-heap slots 2018-12-07 12:35:27 +00:00
interpreter.h [nojit] Embed InterpreterEntryTrampoline 2018-11-16 09:36:05 +00:00
OWNERS