Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 6bc6d1dc2cfd2194edf82c04e7f1b28dbd5addd9..7b51f0d99ae0d32f93cccde47300548566562593 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3756,7 +3756,8 @@ Code::StubType Code::type() { |
int Code::arguments_count() { |
- ASSERT(is_call_stub() || is_keyed_call_stub() || kind() == STUB); |
+ ASSERT(is_call_stub() || is_keyed_call_stub() || |
+ kind() == STUB || is_handler()); |
return ExtractArgumentsCountFromFlags(flags()); |
} |