OSDN Git Service

Fix AssemblerMIPS64Test.LongBalc() running out of memory.
authorVladimir Marko <vmarko@google.com>
Wed, 14 Dec 2016 14:18:22 +0000 (14:18 +0000)
committerVladimir Marko <vmarko@google.com>
Wed, 14 Dec 2016 14:18:22 +0000 (14:18 +0000)
commit36073947d2edb04e69ad0b20ec9de8c0712b8fd2
tree25efd31118c4502f6e35e72cbaa266299af01370
parent3f92bdea524fb1f1c70dab07bba082b4b1ac4699
Fix AssemblerMIPS64Test.LongBalc() running out of memory.

Pre-allocate the necessary buffer because the reallocation
strategy doesn't work well for a test of this size.

Test: m test-art-host-gtest-assembler_mips64_test
Change-Id: I16bc75f0ae83a62e5f3ed2cd8228dd40f0eb9524
compiler/utils/mips64/assembler_mips64_test.cc