Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index ba7f0cc9e3e8fb2d6ef067ca0333bf0bb7ebcf90..8957570858a78b872e892a0fa393cd1de0b1834d 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4372,7 +4372,7 @@ class ScopeInfo : public FixedArray { |
// slot index if the function name is present and context-allocated (named |
// function expressions, only), otherwise returns a value < 0. The name |
// must be an internalized string. |
- int FunctionContextSlotIndex(String* name, VariableMode* mode); |
+ int FunctionContextSlotIndex(String* name); |
// Lookup support for serialized scope info. Returns the receiver context |
// slot index if scope has a "this" binding, and the binding is |
@@ -4484,10 +4484,8 @@ class ScopeInfo : public FixedArray { |
: public BitField<bool, ReceiverVariableField::kNext, 1> {}; |
class FunctionVariableField |
: public BitField<VariableAllocationInfo, HasNewTargetField::kNext, 2> {}; |
- class FunctionVariableMode |
- : public BitField<VariableMode, FunctionVariableField::kNext, 3> {}; |
- class AsmModuleField : public BitField<bool, FunctionVariableMode::kNext, 1> { |
- }; |
+ class AsmModuleField |
+ : public BitField<bool, FunctionVariableField::kNext, 1> {}; |
class AsmFunctionField : public BitField<bool, AsmModuleField::kNext, 1> {}; |
class HasSimpleParametersField |
: public BitField<bool, AsmFunctionField::kNext, 1> {}; |