diff options
author | 2017-09-21 16:31:32 +0000 | |
---|---|---|
committer | 2017-09-21 16:31:32 +0000 | |
commit | 2406bf17998e15bd40677a907beb3e9c41facce4 (patch) | |
tree | 0a62f581bf65b4eaac2f18d4ade0b3050f0b3c5d /compiler/optimizing/nodes_vector.h | |
parent | 1c8ac50fa9f62c7b78fc04faacbd854eac75c75a (diff) | |
parent | 5e3afa950f05bca470ef6b92460940f37831c27f (diff) |
Merge "Ensure extract is seen as having scalar result."
Diffstat (limited to 'compiler/optimizing/nodes_vector.h')
-rw-r--r-- | compiler/optimizing/nodes_vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes_vector.h b/compiler/optimizing/nodes_vector.h index 886d75e5c7..c5e75a7ca4 100644 --- a/compiler/optimizing/nodes_vector.h +++ b/compiler/optimizing/nodes_vector.h @@ -815,7 +815,7 @@ class HVecUShr FINAL : public HVecBinaryOperation { class HVecSetScalars FINAL : public HVecOperation { public: HVecSetScalars(ArenaAllocator* arena, - HInstruction** scalars, // array + HInstruction* scalars[], Primitive::Type packed_type, size_t vector_length, size_t number_of_scalars, @@ -827,7 +827,7 @@ class HVecSetScalars FINAL : public HVecOperation { vector_length, dex_pc) { for (size_t i = 0; i < number_of_scalars; i++) { - DCHECK(!scalars[i]->IsVecOperation()); + DCHECK(!scalars[i]->IsVecOperation() || scalars[i]->IsVecExtractScalar()); SetRawInputAt(0, scalars[i]); } } |