From bbaf214b13f857cf4ad594262870cd0c2378afe1 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 21 Feb 2024 07:36:57 +0000 Subject: Allocate JNI assembler labels with `ArenaAllocator`. Test: m test-art-host-gtests Test: testrunner.py --host --optimizing Bug: 181943478 Change-Id: I7b3c7b20ead48924c061ae465208bc90e9a10676 --- compiler/utils/jni_macro_assembler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/utils/jni_macro_assembler.h') 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 { // // It is only safe to use a label created // via JNIMacroAssembler::CreateLabel with that same macro assembler. -class JNIMacroLabel { +class JNIMacroLabel : public DeletableArenaObject { public: virtual ~JNIMacroLabel() = 0; -- cgit v1.2.3-59-g8ed1b