From 705809a6019ae118a8e4ec1efd40d62fd6844439 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 13 Jun 2023 18:11:45 +0100 Subject: Add a one-pass baseline compiler for arm64. Currently handles 50% of methods by supporting methods that: - don't branch - don't have try/catch - don't have float/double - <= 8 registers - opcodes are const/invokes/iget/iput/const-string/new-instance/checkcast. Cost of compilation is 10 times less than current baseline compiler. Performance of generated code: jit-baseline-cc configuration shows no impact on go/lem Test: test.py Change-Id: I8c99b8a8a7552c09c900c5c3e831e8897aef73e5 --- compiler/utils/assembler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/utils') diff --git a/compiler/utils/assembler.h b/compiler/utils/assembler.h index 0548cf8325..d1e4675492 100644 --- a/compiler/utils/assembler.h +++ b/compiler/utils/assembler.h @@ -396,6 +396,7 @@ class Assembler : public DeletableArenaObject { * @details It is used by debuggers and other tools to unwind the call stack. */ DebugFrameOpCodeWriterForAssembler& cfi() { return cfi_; } + const DebugFrameOpCodeWriterForAssembler& cfi() const { return cfi_; } ArenaAllocator* GetAllocator() { return buffer_.GetAllocator(); -- cgit v1.2.3-59-g8ed1b