Lines Matching refs:jumpTable
2137 static void prepareJumpTableForImmediateSwitch(SimpleJumpTable& jumpTable, int32_t switchAddress, uint32_t clauseCount, RefPtr<Label>* labels, ExpressionNode** nodes, int32_t min, int32_t max)
2139 jumpTable.min = min;
2140 jumpTable.branchOffsets.resize(max - min + 1);
2141 jumpTable.branchOffsets.fill(0);
2146 jumpTable.add(keyForImmediateSwitch(nodes[i], min, max), labels[i]->bind(switchAddress, switchAddress + 3));
2163 static void prepareJumpTableForCharacterSwitch(SimpleJumpTable& jumpTable, int32_t switchAddress, uint32_t clauseCount, RefPtr<Label>* labels, ExpressionNode** nodes, int32_t min, int32_t max)
2165 jumpTable.min = min;
2166 jumpTable.branchOffsets.resize(max - min + 1);
2167 jumpTable.branchOffsets.fill(0);
2172 jumpTable.add(keyForCharacterSwitch(nodes[i], min, max), labels[i]->bind(switchAddress, switchAddress + 3));
2176 static void prepareJumpTableForStringSwitch(StringJumpTable& jumpTable, int32_t switchAddress, uint32_t clauseCount, RefPtr<Label>* labels, ExpressionNode** nodes)
2187 jumpTable.offsetTable.add(clause, location);
2199 SimpleJumpTable& jumpTable = m_codeBlock->addImmediateSwitchJumpTable();
2200 prepareJumpTableForImmediateSwitch(jumpTable, switchInfo.bytecodeOffset, clauseCount, labels, nodes, min, max);
2205 SimpleJumpTable& jumpTable = m_codeBlock->addCharacterSwitchJumpTable();
2206 prepareJumpTableForCharacterSwitch(jumpTable, switchInfo.bytecodeOffset, clauseCount, labels, nodes, min, max);
2212 StringJumpTable& jumpTable = m_codeBlock->addStringSwitchJumpTable();
2213 prepareJumpTableForStringSwitch(jumpTable, switchInfo.bytecodeOffset, clauseCount, labels, nodes);