comparison modules/javafx.web/src/main/native/Source/JavaScriptCore/dfg/DFGSSALoweringPhase.cpp @ 11208:db2c977a840b

8220147: Cherry pick GTK WebKit 2.22.7 changes Reviewed-by: mbilla, kcr
author arajkumar
date Fri, 08 Mar 2019 14:03:47 +0530
parents ab4db0272524
children a1fb556cdd7d
comparison
equal deleted inserted replaced
4:a770cc28ab0d 5:d7ac5576bfb6
128 break; 128 break;
129 } 129 }
130 130
131 Node* length = m_insertionSet.insertNode( 131 Node* length = m_insertionSet.insertNode(
132 m_nodeIndex, SpecInt32Only, op, m_node->origin, 132 m_nodeIndex, SpecInt32Only, op, m_node->origin,
133 OpInfo(m_node->arrayMode().asWord()), base, storage); 133 OpInfo(m_node->arrayMode().asWord()), Edge(base.node(), KnownCellUse), storage);
134 m_insertionSet.insertNode( 134 Node* checkInBounds = m_insertionSet.insertNode(
135 m_nodeIndex, SpecInt32Only, CheckInBounds, m_node->origin, 135 m_nodeIndex, SpecInt32Only, CheckInBounds, m_node->origin,
136 index, Edge(length, KnownInt32Use)); 136 index, Edge(length, KnownInt32Use));
137
138 AdjacencyList adjacencyList = m_graph.copyVarargChildren(m_node);
139 m_graph.m_varArgChildren.append(Edge(checkInBounds, UntypedUse));
140 adjacencyList.setNumChildren(adjacencyList.numChildren() + 1);
141 m_node->children = adjacencyList;
137 return true; 142 return true;
138 } 143 }
139 144
140 InsertionSet m_insertionSet; 145 InsertionSet m_insertionSet;
141 BasicBlock* m_block; 146 BasicBlock* m_block;