summaryrefslogtreecommitdiffstats
path: root/runtime/utils.cc
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2015-02-19 15:50:28 +0000
committerVladimir Marko <vmarko@google.com>2015-02-19 18:02:20 +0000
commit80b96d1a76790527f72a660ac03d9c215eed17ce (patch)
tree8af6fb3840c60c65887cd5de64d987058bb8986e /runtime/utils.cc
parent39109a06015c91188232e59fa9e60e0915d24cd7 (diff)
downloadart-80b96d1a76790527f72a660ac03d9c215eed17ce.tar.gz
art-80b96d1a76790527f72a660ac03d9c215eed17ce.tar.bz2
art-80b96d1a76790527f72a660ac03d9c215eed17ce.zip
Replace a few std::vector with ArenaVector in Mir2Lir.
Change-Id: I7867d60afc60f57cdbbfd312f02883854d65c805
Diffstat (limited to 'runtime/utils.cc')
-rw-r--r--runtime/utils.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc
index 3ec9561f4..85c9340d0 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -1554,13 +1554,6 @@ void EncodeSignedLeb128(int32_t data, std::vector<uint8_t>* dst) {
Leb128Encoder(dst).PushBackSigned(data);
}
-void PushWord(std::vector<uint8_t>* buf, int data) {
- buf->push_back(data & 0xff);
- buf->push_back((data >> 8) & 0xff);
- buf->push_back((data >> 16) & 0xff);
- buf->push_back((data >> 24) & 0xff);
-}
-
std::string PrettyDescriptor(Primitive::Type type) {
return PrettyDescriptor(Primitive::Descriptor(type));
}