From 80b96d1a76790527f72a660ac03d9c215eed17ce Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 19 Feb 2015 15:50:28 +0000 Subject: Replace a few std::vector with ArenaVector in Mir2Lir. Change-Id: I7867d60afc60f57cdbbfd312f02883854d65c805 --- runtime/utils.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'runtime/utils.cc') diff --git a/runtime/utils.cc b/runtime/utils.cc index 3ec9561f4d..85c9340d02 100644 --- a/runtime/utils.cc +++ b/runtime/utils.cc @@ -1554,13 +1554,6 @@ void EncodeSignedLeb128(int32_t data, std::vector* dst) { Leb128Encoder(dst).PushBackSigned(data); } -void PushWord(std::vector* 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)); } -- cgit v1.2.3-59-g8ed1b