commit | f5958f8881e299c42ac923e4751f8f34d72db7f0 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Wed Jun 02 14:48:14 2021 +0100 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Thu Jun 24 07:54:05 2021 +0000 |
tree | db15e90ad9152c5cbd9515209841c7e71764a67f | |
parent | 1282f3805b1b6f50761f3e136d569e85dbda7090 [diff] [blame] |
Add x86 implementation for nterp. Bug: 112676029 Test: test.py, run-libcore-tests, run-libjdwp-tests Change-Id: I06bd2c9dde6834f371f042fadda2ced23e02b7ed
diff --git a/runtime/interpreter/mterp/nterp.cc b/runtime/interpreter/mterp/nterp.cc index f45e45c..5fc3609 100644 --- a/runtime/interpreter/mterp/nterp.cc +++ b/runtime/interpreter/mterp/nterp.cc
@@ -754,5 +754,9 @@ return MterpDoSparseSwitch(switchData, testVal); } +extern "C" void NterpFree(void* val) { + free(val); +} + } // namespace interpreter } // namespace art