Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 515f2e578e613470e9a228826df201f7bba6d116..e6a3e3a2b9feb48a658b86338e8496c5a8d7959e 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1785,13 +1785,8 @@ class ArgumentsAccessStub: public PlatformCodeStub { |
NEW_STRICT |
}; |
- enum HasNewTarget { NO_NEW_TARGET, HAS_NEW_TARGET }; |
- |
- ArgumentsAccessStub(Isolate* isolate, Type type, |
- HasNewTarget has_new_target = NO_NEW_TARGET) |
- : PlatformCodeStub(isolate) { |
- minor_key_ = |
- TypeBits::encode(type) | HasNewTargetBits::encode(has_new_target); |
+ ArgumentsAccessStub(Isolate* isolate, Type type) : PlatformCodeStub(isolate) { |
+ minor_key_ = TypeBits::encode(type); |
} |
CallInterfaceDescriptor GetCallInterfaceDescriptor() override { |
@@ -1803,9 +1798,6 @@ class ArgumentsAccessStub: public PlatformCodeStub { |
private: |
Type type() const { return TypeBits::decode(minor_key_); } |
- bool has_new_target() const { |
- return HasNewTargetBits::decode(minor_key_) == HAS_NEW_TARGET; |
- } |
void GenerateReadElement(MacroAssembler* masm); |
void GenerateNewStrict(MacroAssembler* masm); |
@@ -1815,7 +1807,6 @@ class ArgumentsAccessStub: public PlatformCodeStub { |
void PrintName(std::ostream& os) const override; // NOLINT |
class TypeBits : public BitField<Type, 0, 2> {}; |
- class HasNewTargetBits : public BitField<HasNewTarget, 2, 1> {}; |
DEFINE_PLATFORM_CODE_STUB(ArgumentsAccess, PlatformCodeStub); |
}; |