Add feature flag to test V8 mega dom ics

Depends on V8 CL: https://crrev.com/c/4188388

Bug: v8:11321
Change-Id: I97d9a8bae91e74b7b4cb43ecb650a928e31e9b7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4191277
Reviewed-by: Michael Lippautz <[email protected]>
Commit-Queue: Camillo Bruni <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1099827}
diff --git a/gin/gin_features.cc b/gin/gin_features.cc
index 87f99c22..6a659de 100644
--- a/gin/gin_features.cc
+++ b/gin/gin_features.cc
@@ -113,6 +113,9 @@
              "V8TurboFastApiCalls",
              base::FEATURE_ENABLED_BY_DEFAULT);
 
+// Enables faster DOM methods for megamorphic ICs
+BASE_FEATURE(kV8MegaDomIC, "V8MegaDomIC", base::FEATURE_DISABLED_BY_DEFAULT);
+
 // Enables slow histograms that provide detailed information at increased
 // runtime overheads.
 BASE_FEATURE(kV8SlowHistograms,