summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index a44e349b4d..3f60ec5241 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -2199,8 +2199,8 @@ class HEnvironmentIterator : public ValueObject {
using iterator_category = std::forward_iterator_tag;
using value_type = HEnvironment*;
using difference_type = ptrdiff_t;
- using pointer = value_type*;
- using reference = value_type&;
+ using pointer = void;
+ using reference = void;
explicit HEnvironmentIterator(HEnvironment* cur) : cur_(cur) {}
@@ -2925,8 +2925,8 @@ struct HSTLInstructionIterator : public ValueObject {
using iterator_category = std::forward_iterator_tag;
using value_type = HInstruction*;
using difference_type = ptrdiff_t;
- using pointer = value_type*;
- using reference = value_type&;
+ using pointer = void;
+ using reference = void;
static_assert(std::is_same_v<InnerIter, HBackwardInstructionIterator> ||
std::is_same_v<InnerIter, HInstructionIterator> ||