Details
-
Technical task
-
Resolution: Done
-
P2: Important
Description
We can avoid QJSPrimitiveValue in many places where we're only operating on doubles anyway. For example, if we got an in-place increment or decrement and the operand as well as the result are double, we can just write:
result = operand - 1.0
No need to do any overflow handling or number coercion in that case.
Attachments
Issue Links
- resulted from
-
QTBUG-104512 Invalid code generated
- Closed