done.link(this);
#else
Q_ASSERT(!"Not tested on this platform!");
+ Q_UNUSED(reg)
+ Q_UNUSED(addr)
#endif
}
Assembler::ScratchRegister);
#else
Q_ASSERT(!"Not supported on this platform!");
+ Q_UNUSED(source)
+ Q_UNUSED(target)
#endif
} else if (target->kind == V4IR::Temp::StackSlot) {
#if CPU(X86_64) || CPU(X86)
_as->storeDouble(Assembler::FPGpr0, _as->stackSlotPointer(target));
#else
Q_ASSERT(!"Not supported on this platform!");
+ Q_UNUSED(source)
+ Q_UNUSED(target)
#endif
} else {
Q_UNIMPLEMENTED();
namespace QV4 {
struct Q_QML_EXPORT Exception {
- static void throwException(ExecutionContext *throwingContext, const Value &exceptionValue);
+ static void Q_NORETURN throwException(ExecutionContext *throwingContext, const Value &exceptionValue);
~Exception();
ExecutionContext *throwingContext;
bool accepted;
ExecutionEngine::StackTrace m_stackTrace;
- static void throwInternal(ExecutionContext *throwingContext, const Value &exceptionValue);
+ static void Q_NORETURN throwInternal(ExecutionContext *throwingContext, const Value &exceptionValue);
};
} // namespace QV4
FOREACH_QML_SEQUENCE_TYPE(SEQUENCE_TO_VARIANT) { /* else */ return QVariant(); }
}
+#undef SEQUENCE_TO_VARIANT
#define SEQUENCE_TO_VARIANT(ElementType, ElementTypeName, SequenceType, unused) \
if (typeHint == qMetaTypeId<SequenceType>()) { \
return QQml##ElementTypeName##List::toVariant(a); \
pop r0, r1, r2, r3
*/
-#define REG_TO_SP 0b10010000
-#define VSP_MINUS 0b01000000
-#define POP_REG_MULTI 0b10000000
-#define POP_R4_MULTI 0b10100000
-#define POP_R4_R14_MULTI 0b10101000
-#define POP_R0_TO_R3 0b10110001
-#define FINISH 0b10110000
+#define REG_TO_SP ((unsigned int) 0b10010000)
+#define VSP_MINUS ((unsigned int) 0b01000000)
+#define POP_REG_MULTI ((unsigned int) 0b10000000)
+#define POP_R4_MULTI ((unsigned int) 0b10100000)
+#define POP_R4_R14_MULTI ((unsigned int) 0b10101000)
+#define POP_R0_TO_R3 ((unsigned int) 0b10110001)
+#define FINISH ((unsigned int) 0b10110000)
#define MK_UW_WORD(first, second, third, fourth) \
(((first) << 24) | \
static int qt_debug_texture_count = 0;
-#if defined(Q_OS_LINUX) || defined (Q_OS_MAC)
+#if (defined(Q_OS_LINUX) || defined (Q_OS_MAC)) && !defined(Q_OS_ANDROID)
DEFINE_BOOL_CONFIG_OPTION(qmlDebugLeakBacktrace, QML_DEBUG_LEAK_BACKTRACE)
#define BACKTRACE_SIZE 20