function enqueueNode(distance, node)
        {
            var ordinal = node.ordinal();
            if (distances[ordinal] !== noDistance)
                return;
            distances[ordinal] = distance;
            nodesToVisit[nodesToVisitLength++] = node.nodeIndex;
        }
@param {number} distance
@param {!WebInspector.HeapSnapshotNode} node