summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes_vector.h
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-03-19 15:57:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-03-19 15:57:23 +0000
commita7c89102bda8e89fe085b7d2948cf9850b3829d9 (patch)
tree5da71b3f83df3b138e2d5a0a3b799a89f47b16e7 /compiler/optimizing/nodes_vector.h
parent0a3d5eb2ff9e70fa5785638da938439835d0337e (diff)
parent5a0eb0cbeeabda48bfef05df9f59a6fd607e1a1e (diff)
Merge "Minor DCHECK bug fix."
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 523bca8d25..9b114eb1f7 100644
--- a/compiler/optimizing/nodes_vector.h
+++ b/compiler/optimizing/nodes_vector.h
@@ -325,7 +325,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