| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 05d4a0be792aab3c8121f15faf97e20f47543495..4846ba6a0ed4ceb08db964c7c13becab75c62b4b 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1060,17 +1060,10 @@ 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);
|
| };
|
|
|