Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index a798d5e35010e21646886de17de70556188f235f..30624ea4aab18214ab2571eea01ebcb20d2082e9 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1013,11 +1013,6 @@ class CallICStub: public PlatformCodeStub { |
minor_key_ = state.GetExtraICState(); |
} |
- static int ExtractArgcFromMinorKey(int minor_key) { |
- CallICState state(static_cast<ExtraICState>(minor_key)); |
- return state.arg_count(); |
- } |
- |
Code::Kind GetCodeKind() const override { return Code::CALL_IC; } |
InlineCacheState GetICState() const override { return DEFAULT; } |
@@ -1913,10 +1908,6 @@ class CallFunctionStub: public PlatformCodeStub { |
minor_key_ = ArgcBits::encode(argc) | FlagBits::encode(flags); |
} |
- static int ExtractArgcFromMinorKey(int minor_key) { |
- return ArgcBits::decode(minor_key); |
- } |
- |
private: |
int argc() const { return ArgcBits::decode(minor_key_); } |
int flags() const { return FlagBits::decode(minor_key_); } |