diff options
| author | 2015-11-04 14:36:55 +0000 | |
|---|---|---|
| committer | 2015-11-05 10:37:48 +0000 | |
| commit | d28b969c273ab777ca9b147b87fcef671b4f695f (patch) | |
| tree | ca66ecfd809afdcd31443bbe50bf38a836302cc5 /runtime/jit/jit_code_cache.h | |
| parent | 6bf6e438cd4746effce0b26d504c54100191c988 (diff) | |
Code cleanup to avoid CompilerDriver abstractions in JIT.
Avoids allocating a CompiledMethod.
Change-Id: I35b4aa0d7c74daba68e827a01e71c300fce3b3bf
Diffstat (limited to 'runtime/jit/jit_code_cache.h')
| -rw-r--r-- | runtime/jit/jit_code_cache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/jit/jit_code_cache.h b/runtime/jit/jit_code_cache.h index e10f9629ae..afff657880 100644 --- a/runtime/jit/jit_code_cache.h +++ b/runtime/jit/jit_code_cache.h @@ -88,6 +88,11 @@ class JitCodeCache { SHARED_REQUIRES(Locks::mutator_lock_) REQUIRES(!lock_); + // Clear data from the data portion of the code cache. + void ClearData(Thread* self, void* data) + SHARED_REQUIRES(Locks::mutator_lock_) + REQUIRES(!lock_); + // Add a data array of size (end - begin) with the associated contents, returns null if there // is no more room. uint8_t* AddDataArray(Thread* self, const uint8_t* begin, const uint8_t* end) |