summaryrefslogtreecommitdiffstats
path: root/compiler/utils/assembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/assembler.h')
-rw-r--r--compiler/utils/assembler.h6
1 files changed, 3 insertions, 3 deletions
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);
}