Index: runtime/lib/function.cc |
=================================================================== |
--- runtime/lib/function.cc (revision 28079) |
+++ runtime/lib/function.cc (working copy) |
@@ -33,6 +33,7 @@ |
isolate, arguments->NativeArgAt(0)); |
ASSERT(receiver.IsClosure()); |
GET_NATIVE_ARGUMENT(Instance, other, arguments->NativeArgAt(1)); |
+ ASSERT(!other.IsNull()); |
if (receiver.raw() == other.raw()) return Bool::True().raw(); |
if (other.IsClosure()) { |
const Function& func_a = Function::Handle(Closure::function(receiver)); |