diff options
author | David Brazdil <dbrazdil@google.com> | 2015-04-21 16:36:35 +0100 |
---|---|---|
committer | David Brazdil <dbrazdil@google.com> | 2015-04-21 17:17:11 +0100 |
commit | 7d275379bf490a87805852129e3fe2e8afe961e7 (patch) | |
tree | d0bbe856872c92773931c62e6881b0305a916236 /runtime/base/bit_vector.h | |
parent | 223f2f5b2a20ca8246da1523494900a2424d5956 (diff) | |
download | art-7d275379bf490a87805852129e3fe2e8afe961e7.tar.gz art-7d275379bf490a87805852129e3fe2e8afe961e7.tar.bz2 art-7d275379bf490a87805852129e3fe2e8afe961e7.zip |
ART: Update loop info of all nested loops when inlining
When inlining into a nested loop, the inliner would only add the new
blocks into the innermost loop info object. This patch fixes that and
modifies SsaChecker to verify the property.
Change-Id: I21d343a6f7d972f5b7420701f816c65ab3f20566
Diffstat (limited to 'runtime/base/bit_vector.h')
-rw-r--r-- | runtime/base/bit_vector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/base/bit_vector.h b/runtime/base/bit_vector.h index 557a2ec110..be4d363bf5 100644 --- a/runtime/base/bit_vector.h +++ b/runtime/base/bit_vector.h @@ -173,6 +173,8 @@ class BitVector { */ bool SameBitsSet(const BitVector *src) const; + bool IsSubsetOf(const BitVector *other) const; + // Count the number of bits that are set. uint32_t NumSetBits() const; |