Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: runtime/vm/code_patcher_ia32.cc

Issue 9460012: StepOver, StepInto, StepOut (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698