aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@gmail.com>2018-03-15 11:52:38 +1000
committerLorn Potter <lorn.potter@gmail.com>2018-03-21 23:31:03 +0000
commite1443d4e186b8fecfb6ffb890c8780fd0552dceb (patch)
treef3fc946dd97e969492126ed3dd657b51274df34d /src/qml/jsruntime
parentd9ea4917ca97aeee050a86151fbfa069771b498d (diff)
webassembly: make Date work again
This needs the webassembly change which adds BINARYEN_TRAP_MODE of clamp Task-number: QTBUG-66618 Change-Id: Id33c9b261f7b1f2d740180a5d44245618184d206 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/qml/jsruntime')
-rw-r--r--src/qml/jsruntime/qv4vme_moth.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4vme_moth.cpp b/src/qml/jsruntime/qv4vme_moth.cpp
index bd07473176..de86a3be5e 100644
--- a/src/qml/jsruntime/qv4vme_moth.cpp
+++ b/src/qml/jsruntime/qv4vme_moth.cpp
@@ -995,10 +995,7 @@ QV4::ReturnedValue VME::exec(const FunctionObject *fo, const Value *thisObject,
MOTH_BEGIN_INSTR(Construct)
STORE_IP();
-#ifndef Q_OS_HTML5
- // this causes exception on webassembly
acc = Runtime::method_construct(engine, STACK_VALUE(func), stack + argv, argc);
-#endif
CHECK_EXCEPTION;
MOTH_END_INSTR(Construct)