Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 14c9a65ee0ccf8a752c9dda4f49b1c68da5db8da..2b521b62c9a87dc8552c41ef83fe7d8bd92fda72 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1082,19 +1082,10 @@ class FastNewClosureStub : public TurboFanCodeStub { |
class FastNewFunctionContextStub final : public TurboFanCodeStub { |
public: |
- static const int kMaximumSlots = 64; |
- |
- FastNewFunctionContextStub(Isolate* isolate, int slots) |
- : TurboFanCodeStub(isolate) { |
- DCHECK(slots >= 0 && slots <= kMaximumSlots); |
- minor_key_ = SlotsBits::encode(slots); |
- } |
- |
- int slots() const { return SlotsBits::decode(minor_key_); } |
+ explicit FastNewFunctionContextStub(Isolate* isolate) |
+ : TurboFanCodeStub(isolate) {} |
private: |
- class SlotsBits : public BitField<int, 0, 8> {}; |
- |
DEFINE_CALL_INTERFACE_DESCRIPTOR(FastNewFunctionContext); |
DEFINE_TURBOFAN_CODE_STUB(FastNewFunctionContext, TurboFanCodeStub); |
}; |