def validate(self):
for function in compat_itervalues(self.functions):<EOL><INDENT>for callee_id in compat_keys(function.calls):<EOL><INDENT>assert function.calls[callee_id].callee_id == callee_id<EOL>if callee_id not in self.functions:<EOL><INDENT>sys.stderr.write('<STR_LIT>' % (str(callee_id), function.name))<EOL>del function.calls[callee_id]<EOL><DEDENT><DEDENT><DEDENT>
Validate the edges.