diff options
author | 2024-02-21 07:36:57 +0000 | |
---|---|---|
committer | 2024-02-21 10:30:00 +0000 | |
commit | bbaf214b13f857cf4ad594262870cd0c2378afe1 (patch) | |
tree | b0cc4275f8311b7aac8799703f8b99b4b4daea57 /compiler/utils/jni_macro_assembler.h | |
parent | 0537cf46968c3d6d651047d458c672cd8dcacf76 (diff) |
Allocate JNI assembler labels with `ArenaAllocator`.
Test: m test-art-host-gtests
Test: testrunner.py --host --optimizing
Bug: 181943478
Change-Id: I7b3c7b20ead48924c061ae465208bc90e9a10676
Diffstat (limited to 'compiler/utils/jni_macro_assembler.h')
-rw-r--r-- | compiler/utils/jni_macro_assembler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/jni_macro_assembler.h b/compiler/utils/jni_macro_assembler.h index 9d32071285..0ffa50a53b 100644 --- a/compiler/utils/jni_macro_assembler.h +++ b/compiler/utils/jni_macro_assembler.h @@ -261,7 +261,7 @@ class JNIMacroAssembler : public DeletableArenaObject<kArenaAllocAssembler> { // // It is only safe to use a label created // via JNIMacroAssembler::CreateLabel with that same macro assembler. -class JNIMacroLabel { +class JNIMacroLabel : public DeletableArenaObject<kArenaAllocAssembler> { public: virtual ~JNIMacroLabel() = 0; |