OSDN Git Service

Clear the right data pointer.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 22 Nov 2016 13:45:36 +0000 (13:45 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 22 Nov 2016 14:21:31 +0000 (14:21 +0000)
commitf46501c6ad11025843682267c10f221323a206b1
treea5b77de81f5ab31e66082b02b225e7fe56877f98
parent71d15102b52af67e8fe1193192aa2b4cd1956ae0
Clear the right data pointer.

Internally, stack_map_data is an offset of the roots_data allocation.
Pass both to the ClearData method, which will use the right pointer
to deallocate.

Test: test-art-host in debug mode
Change-Id: Ibfe38e7f1853870076048427f2efe7121c11c136
compiler/optimizing/optimizing_compiler.cc
runtime/jit/jit_code_cache.cc
runtime/jit/jit_code_cache.h