summaryrefslogtreecommitdiff
path: root/compiler/utils/jni_macro_assembler.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-02-21 07:36:57 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2024-02-21 10:30:00 +0000
commitbbaf214b13f857cf4ad594262870cd0c2378afe1 (patch)
treeb0cc4275f8311b7aac8799703f8b99b4b4daea57 /compiler/utils/jni_macro_assembler.h
parent0537cf46968c3d6d651047d458c672cd8dcacf76 (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.h2
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;