Index: src/objects-visiting.h |
=================================================================== |
--- src/objects-visiting.h (revision 6279) |
+++ src/objects-visiting.h (working copy) |
@@ -146,7 +146,7 @@ |
} |
void Register(StaticVisitorBase::VisitorId id, Callback callback) { |
- ASSERT((0 <= id) && (id < StaticVisitorBase::kVisitorIdCount)); |
+ ASSERT(id < StaticVisitorBase::kVisitorIdCount); // id is unsigned. |
callbacks_[id] = callback; |
} |