summaryrefslogtreecommitdiffstats
path: root/compiler/utils
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2015-02-19 19:03:44 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-19 19:03:45 +0000
commit6aa7fe620a95b4404a4fed451e46ebf0cdd66204 (patch)
treeb4f9de3fc83fa377813e1d9bca01dcd97e285030 /compiler/utils
parent04c1acf428d5a35948be06a6ae857abb7b32dc6f (diff)
parent80b96d1a76790527f72a660ac03d9c215eed17ce (diff)
downloadart-6aa7fe620a95b4404a4fed451e46ebf0cdd66204.zip
art-6aa7fe620a95b4404a4fed451e46ebf0cdd66204.tar.gz
art-6aa7fe620a95b4404a4fed451e46ebf0cdd66204.tar.bz2
Merge "Replace a few std::vector with ArenaVector in Mir2Lir."
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/dwarf_cfi.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/compiler/utils/dwarf_cfi.cc b/compiler/utils/dwarf_cfi.cc
index 83e5f5a..a7e09c6 100644
--- a/compiler/utils/dwarf_cfi.cc
+++ b/compiler/utils/dwarf_cfi.cc
@@ -37,7 +37,7 @@ void DW_CFA_advance_loc(std::vector<uint8_t>* buf, uint32_t increment) {
} else {
// Four byte delta.
buf->push_back(0x04);
- PushWord(buf, increment);
+ Push32(buf, increment);
}
}
@@ -68,35 +68,35 @@ void DW_CFA_restore_state(std::vector<uint8_t>* buf) {
void WriteFDEHeader(std::vector<uint8_t>* buf, bool is_64bit) {
// 'length' (filled in by other functions).
if (is_64bit) {
- PushWord(buf, 0xffffffff); // Indicates 64bit
- PushWord(buf, 0);
- PushWord(buf, 0);
+ Push32(buf, 0xffffffff); // Indicates 64bit
+ Push32(buf, 0);
+ Push32(buf, 0);
} else {
- PushWord(buf, 0);
+ Push32(buf, 0);
}
// 'CIE_pointer' (filled in by linker).
if (is_64bit) {
- PushWord(buf, 0);
- PushWord(buf, 0);
+ Push32(buf, 0);
+ Push32(buf, 0);
} else {
- PushWord(buf, 0);
+ Push32(buf, 0);
}
// 'initial_location' (filled in by linker).
if (is_64bit) {
- PushWord(buf, 0);
- PushWord(buf, 0);
+ Push32(buf, 0);
+ Push32(buf, 0);
} else {
- PushWord(buf, 0);
+ Push32(buf, 0);
}
// 'address_range' (filled in by other functions).
if (is_64bit) {
- PushWord(buf, 0);
- PushWord(buf, 0);
+ Push32(buf, 0);
+ Push32(buf, 0);
} else {
- PushWord(buf, 0);
+ Push32(buf, 0);
}
// Augmentation length: 0