[super property speed] Switch --super-ic on under --future

This enables correctness fuzzing.

Bug: v8:9237
Change-Id: I9b8e5506cf22a482cf39e92d3d67629382ac4b39
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2436539
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70237}
This commit is contained in:
Marja Hölttä 2020-09-30 14:13:29 +02:00 committed by Commit Bot
parent abab49d930
commit b2c4fec576
2 changed files with 5 additions and 0 deletions

View File

@ -425,6 +425,7 @@ DEFINE_BOOL(future, FUTURE_BOOL,
DEFINE_WEAK_IMPLICATION(future, write_protect_code_memory)
DEFINE_WEAK_IMPLICATION(future, finalize_streaming_on_background)
DEFINE_WEAK_IMPLICATION(future, super_ic)
// Flags for jitless
DEFINE_BOOL(jitless, V8_LITE_BOOL,

View File

@ -2591,6 +2591,10 @@ TEST(ClassDeclarations) {
}
TEST(ClassAndSuperClass) {
// Different bytecodes are generated with and without --future temporarily,
// see crbug.com/v8/9237 . TODO(marja): remove this hack once --super-ic is on
// by default.
FLAG_super_ic = false;
InitializedIgnitionHandleScope scope;
BytecodeExpectationsPrinter printer(CcTest::isolate());
printer.set_wrap(false);