aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jit/qv4isel_masm.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-01-10 16:48:43 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2017-01-28 19:04:37 +0000
commita11278570d6eb3766da6277ccbce0aa96e820d0c (patch)
treece054b0b58bfa78f1d772abb8d2ad9f4c19b43b7 /src/qml/jit/qv4isel_masm.cpp
parent39bdb9d6f30151ee24614df1dbcd2d44ec342e59 (diff)
Make binop and unop a template
Change-Id: I220505e6dc7f1401875b13a280a1b96ab8997783 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jit/qv4isel_masm.cpp')
-rw-r--r--src/qml/jit/qv4isel_masm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jit/qv4isel_masm.cpp b/src/qml/jit/qv4isel_masm.cpp
index 7a570d0b6b..a5c3d94648 100644
--- a/src/qml/jit/qv4isel_masm.cpp
+++ b/src/qml/jit/qv4isel_masm.cpp
@@ -794,14 +794,14 @@ void InstructionSelection::swapValues(IR::Expr *source, IR::Expr *target)
void InstructionSelection::unop(IR::AluOp oper, IR::Expr *source, IR::Expr *target)
{
- QV4::JIT::Unop unop(_as, oper);
+ QV4::JIT::Unop<Assembler> unop(_as, oper);
unop.generate(source, target);
}
void InstructionSelection::binop(IR::AluOp oper, IR::Expr *leftSource, IR::Expr *rightSource, IR::Expr *target)
{
- QV4::JIT::Binop binop(_as, oper);
+ QV4::JIT::Binop<Assembler> binop(_as, oper);
binop.generate(leftSource, rightSource, target);
}