Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index 9a520b24bdce619240668700a82d4829b1b004f2..eeca2747ecb7b2cef3b5cc55bae4e4a987d29b4f 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -3869,8 +3869,9 @@ Code::Flags Code::ComputeFlags(Kind kind, |
| StubType type, |
| int argc, |
| InlineCacheHolderFlag holder) { |
| + ASSERT(argc < Code::kMaxArguments); |
|
danno
2013/03/18 13:03:59
Why not <= ?
|
| // Compute the bit mask. |
| - int bits = KindField::encode(kind) |
| + unsigned int bits = KindField::encode(kind) |
| | ICStateField::encode(ic_state) |
| | TypeField::encode(type) |
| | ExtraICStateField::encode(extra_ic_state) |