v8/test/cctest/interpreter
Mythri A a9b7830d3a Ensure bytecode isn't flushed when allocating feedback vector
This is a followup of the cl [1] that fixes a bug where bytecode was
getting flushed when allocating feedback vector. The fix added
IsCompiledScope before allocating a new feedback vector. We now pass
IsCompiledScope to JSFunction::EnsureFeedbackVector. This makes it
explicit that EnsureFeedbackVector expects a function that is compiled
and the bytecode shouldn't be flushed during the allocation.Also adds
a test.


[1] https://chromium-review.googlesource.com/c/v8/v8/+/2218066

Bug: v8:10560
Change-Id: I552c449a57555dffa625b2e4efa04c2c276fc0b4
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2222347
Commit-Queue: Mythri Alle <mythria@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68142}
2020-06-03 13:50:17 +00:00
..
bytecode_expectations [class] mark private name load as immutable 2020-05-08 07:29:19 +00:00
bytecode-expectations-printer.cc [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
bytecode-expectations-printer.h [cleanup] Eliminate non-const reference parameters 2019-09-10 09:31:07 +00:00
generate-bytecode-expectations.cc [top-level-await] Add support for parsing top level await 2019-09-24 14:01:32 +00:00
interpreter-tester.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
interpreter-tester.h Ensure bytecode isn't flushed when allocating feedback vector 2020-06-03 13:50:17 +00:00
source-position-matcher.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
source-position-matcher.h Move remaining files in src/ 2019-05-24 18:24:36 +00:00
test-bytecode-generator.cc [class] mark private name load as immutable 2020-05-08 07:29:19 +00:00
test-interpreter-intrinsics.cc [runtime] Reverse JS arguments: fix tests and builtin arguments 2020-03-20 13:07:11 +00:00
test-interpreter.cc Reland "[turbofan] Improve equality on NumberOrOddball" 2020-05-28 11:33:46 +00:00
test-source-positions.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00