Change-Id: I263e9826c513f8edaaf510ff1206b588dfe92f7b
Reviewed-on: http://codereview.qt-project.org/5725
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
return static_cast<V4Instr::Type>(0);
# undef CHECK_V4_INSTR_CODE
#else
- return static_cast<V4Instr::Type>(instr.common.type);
+ return static_cast<V4Instr::Type>(instr->common.type);
#endif
}
# define QML_V4_END_INSTR(I,FMT) code += QML_V4_INSTR_SIZE(I, FMT); instr = (const V4Instr *) code; goto *instr->common.code;
# define QML_V4_INSTR_HEADER void *code;
#else
-# define QML_V4_BEGIN_INSTR(I,FMT) case Instr::I:
+# define QML_V4_BEGIN_INSTR(I,FMT) case V4Instr::I:
# define QML_V4_END_INSTR(I,FMT) code += QML_V4_INSTR_SIZE(I, FMT); instr = (const V4Instr *) code; break;
# define QML_V4_INSTR_HEADER quint8 type;
#endif