[mips32] Fix `unused-but-set-variable` check failures

Some variables are only used in DCHECKs, which leading to the
`unused-but-set-variable` check fail in release mode.
So we need to explicitly mark them as used.

Change-Id: I18dc8ec97ea5fbbaa081a52629b9572b863d901e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3237558
Reviewed-by: Liu yu <liuyu@loongson.cn>
Commit-Queue: Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
Cr-Commit-Position: refs/heads/main@{#77507}
2 files changed
tree: b960dd37788ed84d3e824856fd2632f9dbf6906b
  1. .bazelrc
  2. .clang-format
  3. .clang-tidy
  4. .editorconfig
  5. .flake8
  6. .git-blame-ignore-revs
  7. .gitattributes
  8. .github/
  9. .gitignore
  10. .gn
  11. .mailmap
  12. .vpython
  13. .ycm_extra_conf.py
  14. AUTHORS
  15. BUILD.bazel
  16. BUILD.gn
  17. CODE_OF_CONDUCT.md
  18. COMMON_OWNERS
  19. DEPS
  20. DIR_METADATA
  21. ENG_REVIEW_OWNERS
  22. INFRA_OWNERS
  23. INTL_OWNERS
  24. LICENSE
  25. LICENSE.fdlibm
  26. LICENSE.strongtalk
  27. LICENSE.v8
  28. LOONG_OWNERS
  29. MIPS_OWNERS
  30. OWNERS
  31. PPC_OWNERS
  32. PRESUBMIT.py
  33. README.md
  34. RISCV_OWNERS
  35. S390_OWNERS
  36. WATCHLISTS
  37. WORKSPACE
  38. bazel/
  39. build_overrides/
  40. codereview.settings
  41. custom_deps/
  42. docs/
  43. gni/
  44. include/
  45. infra/
  46. samples/
  47. src/
  48. test/
  49. testing/
  50. third_party/
  51. tools/
README.md

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://v8.dev/docs

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned at v8.dev/docs/contribute.