From ed8dd492e43cbaaa435c4892447072c84dbaf2dc Mon Sep 17 00:00:00 2001 From: Serban Constantinescu Date: Tue, 11 Feb 2014 14:15:10 +0000 Subject: AArch64: Add ARM64 Assembler This patch adds the ARM64 Assembler and ManagedRegister backend. The implementation of the Arm64Assembler class is based on VIXL (a programmatic A64 Assembler - see external/vixl ). Change-Id: I842fd574637a953c19631eedf26f6c70d9ed7f9e Signed-off-by: Serban Constantinescu --- compiler/utils/assembler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compiler/utils/assembler.h') diff --git a/compiler/utils/assembler.h b/compiler/utils/assembler.h index 53f3375073..f02c20f208 100644 --- a/compiler/utils/assembler.h +++ b/compiler/utils/assembler.h @@ -316,13 +316,13 @@ class Assembler { static Assembler* Create(InstructionSet instruction_set); // Emit slow paths queued during assembly - void EmitSlowPaths() { buffer_.EmitSlowPaths(this); } + virtual void EmitSlowPaths() { buffer_.EmitSlowPaths(this); } // Size of generated code - size_t CodeSize() const { return buffer_.Size(); } + virtual size_t CodeSize() const { return buffer_.Size(); } // Copy instructions out of assembly buffer into the given region of memory - void FinalizeInstructions(const MemoryRegion& region) { + virtual void FinalizeInstructions(const MemoryRegion& region) { buffer_.FinalizeInstructions(region); } -- cgit v1.2.3