From 4f7aaa00549c10ab09c2603f164b3dc81157dd5e Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 20 Jun 2023 20:26:10 +0100 Subject: Move GcRoot JIT patching logic to its own file for arm64. To re-use it for other compilers. Test: test.py Change-Id: I56ab018364c94f394bb406c51f1e54dc72252dd8 --- compiler/optimizing/code_generator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/optimizing/code_generator.h') diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h index bcbffe49fe..a171b743cb 100644 --- a/compiler/optimizing/code_generator.h +++ b/compiler/optimizing/code_generator.h @@ -812,6 +812,10 @@ class CodeGenerator : public DeletableArenaObject { StackMapStream* GetStackMapStream(); + CodeGenerationData* GetCodeGenerationData() { + return code_generation_data_.get(); + } + void ReserveJitStringRoot(StringReference string_reference, Handle string); uint64_t GetJitStringRootIndex(StringReference string_reference); void ReserveJitClassRoot(TypeReference type_reference, Handle klass); -- cgit v1.2.3-59-g8ed1b