From 7f6a9257f5ce9f6f6d3cceea3d1ac7e60a01c59c Mon Sep 17 00:00:00 2001 From: Andi-Bogdan Postelnicu Date: Mon, 6 Jun 2016 17:07:54 +0300 Subject: [PATCH] Bug 1278251 - corrected assign instead of compare. r=bbouvier MozReview-Commit-ID: 4QrWu0MOzJB --HG-- extra : rebase_source : a199cd5c0b3f06716df6c85167f444b5ff49e853 --- js/src/jit/x64/CodeGenerator-x64.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jit/x64/CodeGenerator-x64.cpp b/js/src/jit/x64/CodeGenerator-x64.cpp index af9b91c179d5..9b1bc8edb228 100644 --- a/js/src/jit/x64/CodeGenerator-x64.cpp +++ b/js/src/jit/x64/CodeGenerator-x64.cpp @@ -599,11 +599,11 @@ CodeGeneratorX64::loadSimd(Scalar::Type type, unsigned numElems, const Operand& break; } case Scalar::Int8x16: - MOZ_ASSERT(numElems = 16, "unexpected partial load"); + MOZ_ASSERT(numElems == 16, "unexpected partial load"); masm.loadUnalignedSimd128Int(srcAddr, out); break; case Scalar::Int16x8: - MOZ_ASSERT(numElems = 8, "unexpected partial load"); + MOZ_ASSERT(numElems == 8, "unexpected partial load"); masm.loadUnalignedSimd128Int(srcAddr, out); break; case Scalar::Int8: