Revert "[class] Ship private methods and accessors"
This reverts commit 77b24c063ac85b1bb017afb002d676258427336a.
Reason for revert: Broke M83 feature freeze. Reland after the M83 branch cut.
Original change's description:
> [class] Ship private methods and accessors
>
> Turns --harmony-private-methods on by default.
>
> Intent to ship: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/HLpO-HC8aKc/TT32fUNPBAAJ
> ChromeStatus page: https://www.chromestatus.com/feature/5700509656678400
>
> Bug: v8:8330
> Change-Id: I0d9b21cddd5418be8e7059c24fa05ab98de667b9
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2110890
> Reviewed-by: Shu-yu Guo <syg@chromium.org>
> Commit-Queue: Joyee Cheung <joyee@igalia.com>
> Cr-Commit-Position: refs/heads/master@{#66933}
TBR=syg@chromium.org
Change-Id: Idbcb09fadd4779e5c2ee9b1ae52b7fba5bcb236e
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:8330
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2130450
Reviewed-by: Joyee Cheung <joyee@igalia.com>
Commit-Queue: Joyee Cheung <joyee@igalia.com>
Cr-Commit-Position: refs/heads/master@{#66934}
diff --git a/src/flags/flag-definitions.h b/src/flags/flag-definitions.h
index 4af3427..c3f360c 100644
--- a/src/flags/flag-definitions.h
+++ b/src/flags/flag-definitions.h
@@ -227,7 +227,8 @@
#endif
// Features that are complete (but still behind --harmony/es-staging flag).
-#define HARMONY_STAGED_BASE(V)
+#define HARMONY_STAGED_BASE(V) \
+ V(harmony_private_methods, "harmony private methods in class literals")
#ifdef V8_INTL_SUPPORT
#define HARMONY_STAGED(V) \
@@ -242,16 +243,15 @@
#endif
// Features that are shipping (turned on by default, but internal flag remains).
-#define HARMONY_SHIPPING_BASE(V) \
- V(harmony_namespace_exports, \
- "harmony namespace exports (export * as foo from 'bar')") \
- V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \
- V(harmony_import_meta, "harmony import.meta property") \
- V(harmony_dynamic_import, "harmony dynamic import") \
- V(harmony_promise_all_settled, "harmony Promise.allSettled") \
- V(harmony_nullish, "harmony nullish operator") \
- V(harmony_optional_chaining, "harmony optional chaining syntax") \
- V(harmony_private_methods, "harmony private methods in class literals")
+#define HARMONY_SHIPPING_BASE(V) \
+ V(harmony_namespace_exports, \
+ "harmony namespace exports (export * as foo from 'bar')") \
+ V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \
+ V(harmony_import_meta, "harmony import.meta property") \
+ V(harmony_dynamic_import, "harmony dynamic import") \
+ V(harmony_promise_all_settled, "harmony Promise.allSettled") \
+ V(harmony_nullish, "harmony nullish operator") \
+ V(harmony_optional_chaining, "harmony optional chaining syntax")
#ifdef V8_INTL_SUPPORT
#define HARMONY_SHIPPING(V) \