#ifndef DFGAdjacencyList_h
#define DFGAdjacencyList_h
-#include <wtf/Platform.h>
-
#if ENABLE(DFG_JIT)
#include "DFGCommon.h"
Edge child1Unchecked() const { return m_words[0]; }
+ Edge justOneChild() const
+ {
+ if (!!child1() && !child2()) {
+ ASSERT(!child3());
+ return child1();
+ }
+ return Edge();
+ }
+
void initialize(Edge child1, Edge child2, Edge child3)
{
child(0) = child1;