| Index: runtime/vm/native_entry.cc
|
| ===================================================================
|
| --- runtime/vm/native_entry.cc (revision 27164)
|
| +++ runtime/vm/native_entry.cc (working copy)
|
| @@ -11,7 +11,8 @@
|
|
|
| namespace dart {
|
|
|
| -DEFINE_FLAG(bool, trace_natives, false, "Trace invocation of natives");
|
| +DEFINE_FLAG(bool, trace_natives, false,
|
| + "Trace invocation of natives (debug mode only)");
|
|
|
|
|
| static ExternalLabel native_call_label(
|
| @@ -53,6 +54,7 @@
|
| ASSERT(state != NULL);
|
| ApiLocalScope* current_top_scope = state->top_scope();
|
| ApiLocalScope* scope = state->reusable_scope();
|
| + TRACE_NATIVE_CALL("0x%" Px "", reinterpret_cast<uintptr_t>(func));
|
| if (scope == NULL) {
|
| scope = new ApiLocalScope(current_top_scope,
|
| isolate->top_exit_frame_info());
|
|
|