From 83d46ef1eaa8fdecadfdb9564d80e50b42646c37 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 12 May 2015 18:27:20 +0100 Subject: Quick: Fix DCE to mark wide register overlaps correctly. Previously we missed some cases of overlap with registers coming from previous blocks. Bug: 20640451 Change-Id: I4b32a7aaea2dea1b0b9560ae3459a4d903683f20 --- runtime/base/bit_vector.cc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'runtime/base/bit_vector.cc') diff --git a/runtime/base/bit_vector.cc b/runtime/base/bit_vector.cc index 65cb02839a..39ce0d2cbe 100644 --- a/runtime/base/bit_vector.cc +++ b/runtime/base/bit_vector.cc @@ -24,11 +24,6 @@ namespace art { -// The number of words necessary to encode bits. -static constexpr uint32_t BitsToWords(uint32_t bits) { - return RoundUp(bits, 32) / 32; -} - // TODO: replace excessive argument defaulting when we are at gcc 4.7 // or later on host with delegating constructor support. Specifically, // starts_bits and storage_size/storage are mutually exclusive. -- cgit v1.2.3-59-g8ed1b