Commit cad71bef authored by Mu Tao's avatar Mu Tao Committed by Commit Bot

[mips][cleanup] Eliminate non-const reference parameters

Port ab0f9710

Original Commit Message:

    - Eliminates non-const reference parameters in test/cctest.

Change-Id: I038314e0cc2b28e70e7ebcbd2d076ef62893285e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1795646
Commit-Queue: Mu Tao <pamilty@gmail.com>
Commit-Queue: Bill Budge <bbudge@chromium.org>
Auto-Submit: Mu Tao <pamilty@gmail.com>
Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63664}
parent 952d14a3
...@@ -10549,11 +10549,11 @@ void run_msa_3rf(const struct TestCaseMsa3RF* input, ...@@ -10549,11 +10549,11 @@ void run_msa_3rf(const struct TestCaseMsa3RF* input,
msa_reg_t res; msa_reg_t res;
load_elements_of_vector( load_elements_of_vector(
assm, reinterpret_cast<const uint64_t*>(&input->ws_lo), w0, t0, t1); &assm, reinterpret_cast<const uint64_t*>(&input->ws_lo), w0, t0, t1);
load_elements_of_vector( load_elements_of_vector(
assm, reinterpret_cast<const uint64_t*>(&input->wt_lo), w1, t0, t1); &assm, reinterpret_cast<const uint64_t*>(&input->wt_lo), w1, t0, t1);
load_elements_of_vector( load_elements_of_vector(
assm, reinterpret_cast<const uint64_t*>(&input->wd_lo), w2, t0, t1); &assm, reinterpret_cast<const uint64_t*>(&input->wd_lo), w2, t0, t1);
Generate2RInstructionFunc(assm); Generate2RInstructionFunc(assm);
store_elements_of_vector(&assm, w2, a0); store_elements_of_vector(&assm, w2, a0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment