Change-Id: I0f4ac76376028081b13b1cdeaadc4c9b09c1556d
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
#if !defined(QMLJS_LLVM_RUNTIME) && 1 //CPU(X86_64)
+namespace QQmlJS {
+namespace VM {
+
static inline Value add_int32(int a, int b)
{
quint8 overflow = 0;
}
#endif
+} // namespace VM
+} // namespace QQmlJS
+
#endif
#define QMLJS_RUNTIME_H
#include <qmljs_value.h>
+#include <qmljs_math.h>
#include <QtCore/QString>
#include <QtCore/qnumeric.h>
Bool __qmljs_cmp_instanceof(Value left, Value right, ExecutionContext *ctx);
Bool __qmljs_cmp_in(Value left, Value right, ExecutionContext *ctx);
-} // extern "C"
-
-
-#include <qmljs_math.h>
-
-
-extern "C" {
-
// type conversion and testing
inline Value __qmljs_to_primitive(Value value, ExecutionContext *ctx, int typeHint)
{