diff options
| author | 2015-02-19 19:03:44 +0000 | |
|---|---|---|
| committer | 2015-02-19 19:03:45 +0000 | |
| commit | 6aa7fe620a95b4404a4fed451e46ebf0cdd66204 (patch) | |
| tree | b4f9de3fc83fa377813e1d9bca01dcd97e285030 /runtime/utils.cc | |
| parent | 04c1acf428d5a35948be06a6ae857abb7b32dc6f (diff) | |
| parent | 80b96d1a76790527f72a660ac03d9c215eed17ce (diff) | |
Merge "Replace a few std::vector with ArenaVector in Mir2Lir."
Diffstat (limited to 'runtime/utils.cc')
| -rw-r--r-- | runtime/utils.cc | 7 |
1 files changed, 0 insertions, 7 deletions
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<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)); } |