QQmlInstruction::Type QQmlCompiledData::instructionType(const QQmlInstruction *instr)
{
#ifdef QML_THREADED_VME_INTERPRETER
- void **jumpTable = QQmlVME::instructionJumpTable();
+ void *const *jumpTable = QQmlVME::instructionJumpTable();
void *code = instr->common.code;
# define QML_CHECK_INSTR_CODE(I, FMT) \
QObject *QQmlVME::run(QList<QQmlError> *errors,
const Interrupt &interrupt
#ifdef QML_THREADED_VME_INTERPRETER
- , void ***storeJumpTable
+ , void * const **storeJumpTable
#endif
)
{
#ifdef QML_THREADED_VME_INTERPRETER
if (storeJumpTable) {
#define QML_INSTR_ADDR(I, FMT) &&op_##I,
- static void *jumpTable[] = {
+ static void *const jumpTable[] = {
FOR_EACH_QML_INSTR(QML_INSTR_ADDR)
};
#undef QML_INSTR_ADDR
}
#ifdef QML_THREADED_VME_INTERPRETER
-void **QQmlVME::instructionJumpTable()
+void *const *QQmlVME::instructionJumpTable()
{
- static void **jumpTable = 0;
+ static void * const *jumpTable = 0;
if (!jumpTable) {
QQmlVME dummy;
QQmlVME::Interrupt i;
QObject *run(QList<QQmlError> *errors, const Interrupt &
#ifdef QML_THREADED_VME_INTERPRETER
- , void ***storeJumpTable = 0
+ , void *const**storeJumpTable = 0
#endif
);
v8::Persistent<v8::Object> run(QQmlContextData *, QQmlScriptData *);
#ifdef QML_THREADED_VME_INTERPRETER
- static void **instructionJumpTable();
+ static void *const*instructionJumpTable();
friend class QQmlCompiledData;
#endif