diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2015-04-15 10:08:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-15 10:08:07 +0000 |
commit | 3b75943bfdd22adf4833d148aed89856879c01c6 (patch) | |
tree | 7cf97d885e5d2a615aa084bdc951ab95d0068ce7 /compiler/optimizing/locations.h | |
parent | 9bb3e8e10d7d9230a323511094a9e260062a1473 (diff) | |
parent | a978d43fc40984e0cef0c4d42076263f5a20b5b5 (diff) | |
download | art-3b75943bfdd22adf4833d148aed89856879c01c6.tar.gz art-3b75943bfdd22adf4833d148aed89856879c01c6.tar.bz2 art-3b75943bfdd22adf4833d148aed89856879c01c6.zip |
Merge "Revert "Add a check in the location summary.""
Diffstat (limited to 'compiler/optimizing/locations.h')
-rw-r--r-- | compiler/optimizing/locations.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/optimizing/locations.h b/compiler/optimizing/locations.h index b36e574db7..de876be9ab 100644 --- a/compiler/optimizing/locations.h +++ b/compiler/optimizing/locations.h @@ -486,17 +486,11 @@ class LocationSummary : public ArenaObject<kArenaAllocMisc> { void SetOut(Location location, Location::OutputOverlap overlaps = Location::kOutputOverlap) { DCHECK(output_.IsInvalid()); - if (kIsDebugBuild && location.IsUnallocated()) { - if ((location.GetPolicy() == Location::kSameAsFirstInput) && InAt(0).IsUnallocated()) { - DCHECK_NE(InAt(0).GetPolicy(), Location::kAny); - } - } output_overlaps_ = overlaps; output_ = location; } void UpdateOut(Location location) { - DCHECK(!location.IsUnallocated()); // There are two reasons for updating an output: // 1) Parameters, where we only know the exact stack slot after // doing full register allocation. |