summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_vector.h
diff options
context:
space:
mode:
author Aart Bik <ajcbik@google.com> 2018-06-01 16:46:04 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-06-01 16:46:04 +0000
commitb71a6853524fd0cb985b8126b8dbc96e3a7d918b (patch)
tree06d97b0614ac71e5667d0c65948372c4848272c7 /compiler/optimizing/nodes_vector.h
parent5043a9a03e719efaa12d085eb20bbb10ec76b561 (diff)
parentb97fbe5a636745110529aced389b251d59ab2fd6 (diff)
Merge "Minor DCHECK bug fix." into pi-dev
Diffstat (limited to 'compiler/optimizing/nodes_vector.h')
-rw-r--r--compiler/optimizing/nodes_vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/nodes_vector.h b/compiler/optimizing/nodes_vector.h
index d1eaf5c366..20f6cf01ed 100644
--- a/compiler/optimizing/nodes_vector.h
+++ b/compiler/optimizing/nodes_vector.h
@@ -328,7 +328,7 @@ class HVecReplicateScalar FINAL : public HVecUnaryOperation {
uint32_t dex_pc)
: HVecUnaryOperation(
kVecReplicateScalar, allocator, scalar, packed_type, vector_length, dex_pc) {
- DCHECK(!scalar->IsVecOperation());
+ DCHECK(!ReturnsSIMDValue(scalar));
}
// A replicate needs to stay in place, since SIMD registers are not