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

Unified Diff: src/objects.h

Issue 2387593002: Revert of Reland: [modules] Properly initialize declared variables. (Closed)
Patch Set: 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
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index ea086931a4d53768ab85c93eeb9a98d5669e4aa8..d8c04247577f6a44f9b2db560dd88e4da31057ff 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4542,7 +4542,7 @@
class HasSimpleParametersField
: public BitField<bool, AsmFunctionField::kNext, 1> {};
class FunctionKindField
- : public BitField<FunctionKind, HasSimpleParametersField::kNext, 10> {};
+ : public BitField<FunctionKind, HasSimpleParametersField::kNext, 9> {};
class HasOuterScopeInfoField
: public BitField<bool, FunctionKindField::kNext, 1> {};
class IsDebugEvaluateScopeField
@@ -7707,7 +7707,6 @@
kIsSetterFunction,
// byte 3
kIsAsyncFunction,
- kIsModule,
kDeserialized,
kIsDeclaration,
kIsAsmWasmBroken,
@@ -7729,11 +7728,9 @@
ASSERT_FUNCTION_KIND_ORDER(kBaseConstructor, kIsBaseConstructor);
ASSERT_FUNCTION_KIND_ORDER(kGetterFunction, kIsGetterFunction);
ASSERT_FUNCTION_KIND_ORDER(kSetterFunction, kIsSetterFunction);
- ASSERT_FUNCTION_KIND_ORDER(kAsyncFunction, kIsAsyncFunction);
- ASSERT_FUNCTION_KIND_ORDER(kModule, kIsModule);
#undef ASSERT_FUNCTION_KIND_ORDER
- class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 10> {};
+ class FunctionKindBits : public BitField<FunctionKind, kIsArrow, 9> {};
class DeoptCountBits : public BitField<int, 0, 4> {};
class OptReenableTriesBits : public BitField<int, 4, 18> {};
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698