Searched refs:jumpTable (Results 1 - 6 of 6) sorted by relevance

/external/clang/test/CodeGenCXX/
H A D2003-12-08-ArrayOfPtrToMemberFunc.cpp8 static memfunptr jumpTable[] = { &Evil::fun }; variable
11 (this->*jumpTable[foo()]) ();
/external/webkit/Source/JavaScriptCore/jit/
H A DJIT.cpp525 ASSERT(record.jumpTable.simpleJumpTable->branchOffsets.size() == record.jumpTable.simpleJumpTable->ctiOffsets.size());
527 record.jumpTable.simpleJumpTable->ctiDefault = patchBuffer.locationOf(m_labels[bytecodeOffset + record.defaultOffset]);
529 for (unsigned j = 0; j < record.jumpTable.simpleJumpTable->branchOffsets.size(); ++j) {
530 unsigned offset = record.jumpTable.simpleJumpTable->branchOffsets[j];
531 record.jumpTable.simpleJumpTable->ctiOffsets[j] = offset ? patchBuffer.locationOf(m_labels[bytecodeOffset + offset]) : record.jumpTable.simpleJumpTable->ctiDefault;
536 record.jumpTable.stringJumpTable->ctiDefault = patchBuffer.locationOf(m_labels[bytecodeOffset + record.defaultOffset]);
538 StringJumpTable::StringOffsetTable::iterator end = record.jumpTable.stringJumpTable->offsetTable.end();
539 for (StringJumpTable::StringOffsetTable::iterator it = record.jumpTable
[all...]
H A DJIT.h120 } jumpTable; member in struct:JSC::SwitchRecord
125 SwitchRecord(SimpleJumpTable* jumpTable, unsigned bytecodeOffset, unsigned defaultOffset, Type type) argument
130 this->jumpTable.simpleJumpTable = jumpTable;
133 SwitchRecord(StringJumpTable* jumpTable, unsigned bytecodeOffset, unsigned defaultOffset) argument
138 this->jumpTable.stringJumpTable = jumpTable;
H A DJITOpcodes.cpp1089 SimpleJumpTable* jumpTable = &m_codeBlock->immediateSwitchJumpTable(tableIndex); local
1090 m_switches.append(SwitchRecord(jumpTable, m_bytecodeOffset, defaultOffset, SwitchRecord::Immediate));
1091 jumpTable->ctiOffsets.grow(jumpTable->branchOffsets.size());
1107 SimpleJumpTable* jumpTable = &m_codeBlock->characterSwitchJumpTable(tableIndex); local
1108 m_switches.append(SwitchRecord(jumpTable, m_bytecodeOffset, defaultOffset, SwitchRecord::Character));
1109 jumpTable->ctiOffsets.grow(jumpTable->branchOffsets.size());
1125 StringJumpTable* jumpTable = &m_codeBlock->stringSwitchJumpTable(tableIndex); local
1126 m_switches.append(SwitchRecord(jumpTable, m_bytecodeOffse
[all...]
H A DJITOpcodes32_64.cpp1464 SimpleJumpTable* jumpTable = &m_codeBlock->immediateSwitchJumpTable(tableIndex); local
1465 m_switches.append(SwitchRecord(jumpTable, m_bytecodeOffset, defaultOffset, SwitchRecord::Immediate));
1466 jumpTable->ctiOffsets.grow(jumpTable->branchOffsets.size());
1482 SimpleJumpTable* jumpTable = &m_codeBlock->characterSwitchJumpTable(tableIndex); local
1483 m_switches.append(SwitchRecord(jumpTable, m_bytecodeOffset, defaultOffset, SwitchRecord::Character));
1484 jumpTable->ctiOffsets.grow(jumpTable->branchOffsets.size());
1500 StringJumpTable* jumpTable = &m_codeBlock->stringSwitchJumpTable(tableIndex); local
1501 m_switches.append(SwitchRecord(jumpTable, m_bytecodeOffse
[all...]
/external/webkit/Source/JavaScriptCore/bytecompiler/
H A DBytecodeGenerator.cpp2137 static void prepareJumpTableForImmediateSwitch(SimpleJumpTable& jumpTable, int32_t switchAddress, uint32_t clauseCount, RefPtr<Label>* labels, ExpressionNode** nodes, int32_t min, int32_t max) argument
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) argument
2165 jumpTable.min = min;
2166 jumpTable.branchOffsets.resize(max - min + 1);
2167 jumpTable.branchOffsets.fill(0);
2172 jumpTable
2176 prepareJumpTableForStringSwitch(StringJumpTable& jumpTable, int32_t switchAddress, uint32_t clauseCount, RefPtr<Label>* labels, ExpressionNode** nodes) argument
2199 SimpleJumpTable& jumpTable = m_codeBlock->addImmediateSwitchJumpTable(); local
2205 SimpleJumpTable& jumpTable = m_codeBlock->addCharacterSwitchJumpTable(); local
2212 StringJumpTable& jumpTable = m_codeBlock->addStringSwitchJumpTable(); local
[all...]

Completed in 111 milliseconds