Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Unified Diff: src/objects-inl.h

Issue 2315733003: Class fields, part 1 (parsing and infrastructure) (Closed)
Patch Set: dan's comments pt2: tests Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index e55c759f2216aca58f562943aa1b9ddd5a7662e0..74777112296e4a1fc4a57f3e69f2daf6ec8f8d3f 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -6100,6 +6100,10 @@ BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_default_constructor,
kIsDefaultConstructor)
BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_asm_wasm_broken,
kIsAsmWasmBroken)
+BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, requires_class_field_init,
+ kRequiresClassFieldInit)
+BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_class_field_initializer,
+ kIsClassFieldInitializer)
inline bool SharedFunctionInfo::is_resumable() const {
return is_generator() || is_async();

Powered by Google App Engine
This is Rietveld 408576698