Index: runtime/vm/code_patcher_ia32.cc |
=================================================================== |
--- runtime/vm/code_patcher_ia32.cc (revision 4191) |
+++ runtime/vm/code_patcher_ia32.cc (working copy) |
@@ -240,7 +240,6 @@ |
int* num_arguments, |
int* num_named_arguments, |
uword* target) { |
- ASSERT(function_name != NULL); |
ASSERT(num_arguments != NULL); |
ASSERT(num_named_arguments != NULL); |
ASSERT(target != NULL); |
@@ -249,7 +248,9 @@ |
*num_named_arguments = call.named_argument_count(); |
*target = call.target(); |
ICData ic_data(Array::ZoneHandle(call.ic_data())); |
- *function_name = ic_data.FunctionName(); |
+ if (function_name != NULL) { |
+ *function_name = ic_data.FunctionName(); |
+ } |
} |