Fix typo (missing memcmp in statement).

This commit is contained in:
Andreas Gal 2008-08-07 16:27:26 -07:00
parent 600b9c3e14
commit bbe7acfbaf

View File

@ -555,7 +555,7 @@ bool
TypeMap::matches(TypeMap& other)
{
JS_ASSERT(length() == other.length()); /* this should be called with compatible maps only */
return !(data(), other.data(), length());
return !memcmp(data(), other.data(), length());
}
TraceRecorder::TraceRecorder(JSContext* cx, GuardRecord* _anchor,