Mojo: Show only field index in mojo ValidateNonNull() errors
Used to show object_name and field_name. However, object_name
can be found by looking at stack trace, and field_index is
enough that you can look up which field it is.
Shrinks android binary by 160kb: .text=-56.1kb .rodata=-106kb
The .text reduction comes from more functions being
identical-code-folded.
Bug: 689690,778067
Change-Id: I9090e486935ad391d6c258d67278c352e36ea5c0
Reviewed-on: https://chromium-review.googlesource.com/738398
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: agrieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512253}
CrOS-Libchrome-Original-Commit: 9b4ca2e65d1efc2a7f4168dadb3f207c0cfc0513
7 files changed