• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/

Lines Matching refs:variable

132     ALWAYS_INLINE Node* addPhiSilently(BasicBlock* block, const NodeOrigin& origin, VariableAccessData* variable)
134 Node* result = m_graph.addNode(SpecNone, Phi, origin, OpInfo(variable));
140 ALWAYS_INLINE Node* addPhi(BasicBlock* block, const NodeOrigin& origin, VariableAccessData* variable, size_t index)
142 Node* result = addPhiSilently(block, origin, variable);
148 ALWAYS_INLINE Node* addPhi(const NodeOrigin& origin, VariableAccessData* variable, size_t index)
150 return addPhi<operandKind>(m_block, origin, variable, index);
154 void canonicalizeGetLocalFor(Node* node, VariableAccessData* variable, size_t idx)
159 ASSERT(otherNode->variableAccessData() == variable);
178 ASSERT(otherNode->variableAccessData() == variable);
181 variable->setIsLoadedFrom(true);
187 if (variable->isCaptured()) {
188 variable->setIsLoadedFrom(true);
213 variable->setIsLoadedFrom(true);
214 Node* phi = addPhi<operandKind>(node->origin, variable, idx);
222 VariableAccessData* variable = node->variableAccessData();
223 if (variable->local().isArgument())
224 canonicalizeGetLocalFor<ArgumentOperand>(node, variable, variable->local().toArgument());
226 canonicalizeGetLocalFor<LocalOperand>(node, variable, variable->local().toLocal());
235 void canonicalizeFlushOrPhantomLocalFor(Node* node, VariableAccessData* variable, size_t idx)
240 ASSERT(otherNode->variableAccessData() == variable);
256 // point I know I would have been interested in the value of this variable
270 variable->setIsLoadedFrom(true);
281 variable->setIsLoadedFrom(true);
282 node->children.setChild1(Edge(addPhi<operandKind>(node->origin, variable, idx)));
290 VariableAccessData* variable = node->variableAccessData();
291 if (variable->local().isArgument())
292 canonicalizeFlushOrPhantomLocalFor<nodeType, ArgumentOperand>(node, variable, variable->local().toArgument());
294 canonicalizeFlushOrPhantomLocalFor<nodeType, LocalOperand>(node, variable, variable->local().toLocal());
328 // Head variable: describes what is live at the head of the basic block.
329 // Head variable links may refer to Flush, PhantomLocal, Phi, or SetArgument.
332 // Tail variable: the last thing that happened to the variable in the block.
335 // was a GetLocal to the variable, and it was followed by PhantomLocals and
336 // Flushes but not SetLocals, then the tail variable will be the GetLocal.
337 // This reflects the fact that you only care that the tail variable is a
340 // variable will be a SetLocal and not those subsequent Flushes.
416 VariableAccessData* variable = currentPhi->variableAccessData();
424 variableInPrevious = addPhi<operandKind>(predecessorBlock, currentPhi->origin, variable, index);
458 Node* newPhi = addPhiSilently(block, currentPhi->origin, variable);