diff options
author | 2015-10-30 18:17:00 +0000 | |
---|---|---|
committer | 2015-10-30 18:17:00 +0000 | |
commit | c74e69f831608964f89ac7a641fbcc09156eefaa (patch) | |
tree | 284112345185cd3ef21feaeaa6060606cfbbbda8 /compiler/utils/assembler.h | |
parent | 564420bc5b37572d45067fd71ed64d818ef3030d (diff) | |
parent | 7cffc3b0004d32faffc552c0a59286f369b21504 (diff) |
Merge "ART: Arm32 packed-switch jump tables"
Diffstat (limited to 'compiler/utils/assembler.h')
-rw-r--r-- | compiler/utils/assembler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/utils/assembler.h b/compiler/utils/assembler.h index d97a2a40b2..dfe6babb25 100644 --- a/compiler/utils/assembler.h +++ b/compiler/utils/assembler.h @@ -227,6 +227,8 @@ class AssemblerBuffer { // Returns the position in the instruction stream. int GetPosition() { return cursor_ - contents_; } + void ExtendCapacity(size_t min_capacity = 0u); + private: // The limit is set to kMinimumGap bytes before the end of the data area. // This leaves enough space for the longest possible instruction and allows @@ -261,8 +263,6 @@ class AssemblerBuffer { return data + capacity - kMinimumGap; } - void ExtendCapacity(size_t min_capacity = 0u); - friend class AssemblerFixup; }; |