diff options
author | Lorn Potter <lorn.potter@gmail.com> | 2018-03-15 11:52:38 +1000 |
---|---|---|
committer | Lorn Potter <lorn.potter@gmail.com> | 2018-03-21 23:31:03 +0000 |
commit | e1443d4e186b8fecfb6ffb890c8780fd0552dceb (patch) | |
tree | f3fc946dd97e969492126ed3dd657b51274df34d /src/qml/jsruntime | |
parent | d9ea4917ca97aeee050a86151fbfa069771b498d (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.cpp | 3 |
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) |