diff --git a/js/src/vm/Iteration.h b/js/src/vm/Iteration.h index 42ed5ac74c1f..90d8ca57bde5 100644 --- a/js/src/vm/Iteration.h +++ b/js/src/vm/Iteration.h @@ -448,10 +448,6 @@ struct NativeIterator : public NativeIteratorListNode { } JSObject* iterObj() const { return iterObj_; } - GCPtr* currentProperty() const { - MOZ_ASSERT(propertyCursor_ < propertiesEnd()); - return propertyCursor_; - } void incCursor() { MOZ_ASSERT(isInitialized());