summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-06-22 10:58:32 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-22 10:58:32 +0000
commita948b1a0a917b9fd4bbd10a5ba4823594b78373d (patch)
treea0a488040883c14cc6cbec3186654137459d44ff /compiler/utils/assembler.h
parent8ec0e20347e13592539a8c0786b1db1735149800 (diff)
parenteb7b7399dbdb5e471b8ae00a567bf4f19edd3907 (diff)
Merge "Opt compiler: Add disassembly to the '.cfg' output."
Diffstat (limited to 'compiler/utils/assembler.h')
-rw-r--r--compiler/utils/assembler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/utils/assembler.h b/compiler/utils/assembler.h
index 0381af3956..ee2d594e6f 100644
--- a/compiler/utils/assembler.h
+++ b/compiler/utils/assembler.h
@@ -386,6 +386,7 @@ class Assembler {
// Size of generated code
virtual size_t CodeSize() const { return buffer_.Size(); }
+ virtual const uint8_t* CodeBufferBaseAddress() const { return buffer_.contents(); }
// Copy instructions out of assembly buffer into the given region of memory
virtual void FinalizeInstructions(const MemoryRegion& region) {