Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index 8bc0a9a503440441b9ac99ffe2ae60d452c3a5cb..f77ef96ebac4cd8da6bd33f1bd58936a021f354f 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -89,7 +89,6 @@ Handle<ScopeInfo> ScopeInfo::Create(Isolate* isolate, Zone* zone, |
AsmModuleField::encode(scope->asm_module()) | |
AsmFunctionField::encode(scope->asm_function()) | |
IsSimpleParameterListField::encode(simple_parameter_list) | |
- BlockScopeIsClassScopeField::encode(scope->is_class_scope()) | |
FunctionKindField::encode(scope->function_kind()); |
scope_info->SetFlags(flags); |
scope_info->SetParameterCount(parameter_count); |
@@ -223,7 +222,6 @@ Handle<ScopeInfo> ScopeInfo::CreateGlobalThisBinding(Isolate* isolate) { |
FunctionVariableMode::encode(function_variable_mode) | |
AsmModuleField::encode(false) | AsmFunctionField::encode(false) | |
IsSimpleParameterListField::encode(simple_parameter_list) | |
- BlockScopeIsClassScopeField::encode(false) | |
FunctionKindField::encode(FunctionKind::kNormalFunction); |
scope_info->SetFlags(flags); |
scope_info->SetParameterCount(parameter_count); |
@@ -567,11 +565,6 @@ int ScopeInfo::FunctionContextSlotIndex(String* name, VariableMode* mode) { |
} |
-bool ScopeInfo::block_scope_is_class_scope() { |
- return BlockScopeIsClassScopeField::decode(Flags()); |
-} |
- |
- |
FunctionKind ScopeInfo::function_kind() { |
return FunctionKindField::decode(Flags()); |
} |