diff options
| author | 2022-09-21 01:52:56 +0000 | |
|---|---|---|
| committer | 2022-09-23 19:10:18 +0000 | |
| commit | 58b1b82dc2ee262da6f10399b82a1687af5ad819 (patch) | |
| tree | a3be9c8971d09d6059bed656b3f9a4801de835fd /compiler/optimizing/loop_optimization_test.cc | |
| parent | 8ecb53a4eeb025f5f0f858838b7f7466c9f28d2e (diff) | |
Fix unused variable warning in runtime/gc/heap.cc.
The variable volatile_sum is used to prevent the compiler from
optimizing away the loads, but it's flagged as an unused variable.
Remove it and instead use an utility function that uses static_cast
to void to emit the load instructions.
Bug: 197240255
Test: presubmit
Change-Id: Ibf0110654a5100ccd0a182b7acfbd81647b2e902
Diffstat (limited to 'compiler/optimizing/loop_optimization_test.cc')
0 files changed, 0 insertions, 0 deletions