diff options
| author | 2023-07-27 00:26:46 -0700 | |
|---|---|---|
| committer | 2023-07-28 12:46:16 +0000 | |
| commit | 2c0caed9e0b39bd934e469da84e86a63b1148412 (patch) | |
| tree | 68cb53a8fcf7bc5a23296d76ce36c2a4de403b27 /compiler/export/jit_create.h | |
| parent | 771134ce6e8120c302c3656b8d57b1cc88cdd794 (diff) | |
InvokeStatic: pass (nullptr, 0) when there are no args
Previously, the behavior depended on how the STL implemented a
std::array of zero length. libc++'s behavior changed in D80821 from a
non-null data() to a null data().
In InvokeInstance, vregs will always have at least the receiver, so
data() will never be null.
Bug: b/293402944
Test: treehugger
Change-Id: Ibd2c772baa14993b2fbdd2abdb6b58621dca0c5c
Diffstat (limited to 'compiler/export/jit_create.h')
0 files changed, 0 insertions, 0 deletions