Lines Matching defs:iterator
46 BytecodeIterator iterator(this, 0, end);
51 iterator.GotoStart();
52 while (!iterator.Done()) {
53 auto index = iterator.Index();
60 ++iterator;
830 auto &iterator = bb.GetBytecodeIterator();
831 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo();
838 size_t pcOffset = GetPcOffset(iterator.Index());
841 numValueInputs, methodOffset, bytecodeInfo.GetOpcode(), pcOffset, iterator.Index(), writable, hasFrameState);
850 byteCodeToJSGates_[iterator.Index()].emplace_back(gate);
851 jsGatesToByteCode_[gate] = iterator.Index();
855 frameStateBuilder_.UpdateFrameValues(bytecodeInfo, iterator.Index(), gate);
857 MergeThrowGate(bb, iterator.Index());
862 MergeExceptionGete(bb, bytecodeInfo, iterator.Index());
873 auto &iterator = bb.GetBytecodeIterator();
874 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo();
879 size_t pcOffset = GetPcOffset(iterator.Index());
882 numValueInputs, methodOffset, bytecodeInfo.GetOpcode(), pcOffset, iterator.Index(), false, false);
888 frameStateBuilder_.UpdateFrameValues(bytecodeInfo, iterator.Index(), gate);
895 if (iterator.Index() + 1 == bbNext->start) {
898 bbNext->expandedPreds.push_back({bb.id, iterator.Index(), false});
902 bbNext->expandedPreds.push_back({bb.id, iterator.Index(), false});
905 byteCodeToJSGates_[iterator.Index()].emplace_back(gate);
906 jsGatesToByteCode_[gate] = iterator.Index();
911 bbNext->expandedPreds.push_back({bb.id, iterator.Index(), false});
922 auto &iterator = bb.GetBytecodeIterator();
923 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo();
931 byteCodeToJSGates_[iterator.Index()].emplace_back(gate);
932 jsGatesToByteCode_[gate] = iterator.Index();
940 byteCodeToJSGates_[iterator.Index()].emplace_back(gate);
941 jsGatesToByteCode_[gate] = iterator.Index();
948 auto &iterator = bb.GetBytecodeIterator();
949 const BytecodeInfo& bytecodeInfo = iterator.GetBytecodeInfo();
951 auto bcId = iterator.Index();
952 if (bcId != 0 && iterator.IsInRange(bcId - 1)) {
962 byteCodeToJSGates_[iterator.Index()].emplace_back(gate);
963 jsGatesToByteCode_[gate] = iterator.Index();
980 frameStateBuilder_.UpdateFrameValues(bytecodeInfo, iterator.Index(), gate);
1262 auto &iterator = bb.GetBytecodeIterator();
1264 log += std::string("\t\t< ") + std::to_string(iterator.Index()) + ": ";
1265 log += GetEcmaOpcodeStr(iterator.GetBytecodeInfo().GetOpcode()) + ", " + "In=[";
1284 auto gate = GetGateByBcIndex(iterator.Index());