Lines Matching refs:state
88 HCapturedObject* state =
90 state->InsertAfter(previous);
91 return state;
95 // Create a new state for replacing HAllocate instructions.
99 HCapturedObject* state = NewState(previous);
101 state->SetOperandAt(index, undefined);
103 return state;
107 // Create a new state full of phis for loop header entries.
112 HCapturedObject* state = NewState(previous);
116 state->SetOperandAt(index, phi);
118 return state;
122 // Create a new state by copying an existing one.
126 HCapturedObject* state = NewState(previous);
129 state->SetOperandAt(index, operand);
131 return state;
151 HValue* HEscapeAnalysisPhase::NewMapCheckAndInsert(HCapturedObject* state,
154 HValue* value = state->map_value();
177 HCapturedObject* state = StateAt(block);
191 state = NewStateForAllocation(allocate);
199 HValue* replacement = state->OperandAt(index);
212 state = NewStateCopy(store->previous(), state);
213 state->SetOperandAt(index, store->value());
215 state->SetOperandAt(0, store->transition());
218 state->ReuseSideEffectsFromStore(store);
232 instr->SetOperandAt(i, state);
245 NewMapCheckAndInsert(state, mapcheck);
255 // Propagate the block state forward to all successor blocks.
260 // Case 1: This is the only predecessor, just reuse state.
261 SetStateAt(succ, state);
263 // Case 2: This is a state that enters a loop header, be
265 SetStateAt(succ, NewStateForLoopHeader(succ->first(), state));
267 // Case 3: This is the first state propagated forward to the
268 // successor, leave a copy of the current state.
269 SetStateAt(succ, NewStateCopy(succ->first(), state));
271 // Case 4: This is a state that needs merging with previously
276 HValue* operand = state->OperandAt(index);