Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index bc4c5cdd18648f5900043079c76df8c9afe323e3..c567e7544b83e48fb88458b93aa97b1b3d2a6801 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -1087,13 +1087,9 @@ class KeyedArrayCallStub: public HICStub { |
return GetExtraICState() | ArgcBits::encode(argc_); |
} |
- // We have to start storing extra ic bits at 1, because calls use bit zero |
- // for string stub state. |
- STATIC_ASSERT(CallICBase::StringStubState::kShift == 0); |
- STATIC_ASSERT(CallICBase::StringStubState::kSize == 1); |
- class HoleyBits: public BitField<bool, 1, 1> {}; |
- STATIC_ASSERT(Code::kArgumentsBits <= kStubMinorKeyBits - 2); |
- class ArgcBits: public BitField<int, 2, Code::kArgumentsBits> {}; |
+ class HoleyBits: public BitField<bool, 0, 1> {}; |
+ STATIC_ASSERT(Code::kArgumentsBits <= kStubMinorKeyBits - 1); |
+ class ArgcBits: public BitField<int, 1, Code::kArgumentsBits> {}; |
virtual CodeStub::Major MajorKey() { return KeyedArrayCall; } |
int bit_field_; |
int argc_; |