From 3f0d02089904d633e6ca272ce811d8240e1a476f Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sat, 12 Oct 2019 14:49:21 -0700 Subject: [PATCH] Add support for an Invalid NodeWrapperIterator --- include/FEXCore/IR/IR.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/FEXCore/IR/IR.h b/include/FEXCore/IR/IR.h index 04dc97de9..eb710ccfd 100644 --- a/include/FEXCore/IR/IR.h +++ b/include/FEXCore/IR/IR.h @@ -136,6 +136,10 @@ public: return &Node; } + static NodeWrapperIterator Invalid() { + return NodeWrapperIterator(0); + } + private: uintptr_t BaseList{}; NodeType Node{};