Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 9a520b24bdce619240668700a82d4829b1b004f2..e07d384ac1c80b0a5864011689518789fb5b62ac 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); |
// 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) |