diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-01-26 14:34:04 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-01-31 13:40:21 +0000 |
commit | ea06fdf810759c21f8b9af4f639ea23e40c6ba2c (patch) | |
tree | 1c2d788b775e869998e7d7132a61d6f310459ea9 /src/qml/jit/qv4unop.cpp | |
parent | 956002f83555da7f9a51a1f83b188c1a8fd37f8b (diff) |
Move generateRuntimeCall macro
Move it into JITAssembler for future use there. All it requires is
making the assembler to use a macro parameter.
Change-Id: I204e91d1b24eb02e476d8f4a43f3cd1665df0560
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jit/qv4unop.cpp')
-rw-r--r-- | src/qml/jit/qv4unop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/jit/qv4unop.cpp b/src/qml/jit/qv4unop.cpp index a27a3d1be2..739bd97010 100644 --- a/src/qml/jit/qv4unop.cpp +++ b/src/qml/jit/qv4unop.cpp @@ -95,7 +95,7 @@ void Unop<JITAssembler>::generateUMinus(IR::Expr *source, IR::Expr *target) return; } - generateRuntimeCall(target, uMinus, PointerToValue(source)); + generateRuntimeCall(_as, target, uMinus, PointerToValue(source)); } template <typename JITAssembler> @@ -125,7 +125,7 @@ void Unop<JITAssembler>::generateNot(IR::Expr *source, IR::Expr *target) } // ## generic implementation testing for int/bool - generateRuntimeCall(target, uNot, PointerToValue(source)); + generateRuntimeCall(_as, target, uNot, PointerToValue(source)); } template <typename JITAssembler> @@ -141,7 +141,7 @@ void Unop<JITAssembler>::generateCompl(IR::Expr *source, IR::Expr *target) _as->storeInt32(tReg, target); return; } - generateRuntimeCall(target, complement, PointerToValue(source)); + generateRuntimeCall(_as, target, complement, PointerToValue(source)); } template struct QV4::JIT::Unop<QV4::JIT::Assembler<AssemblerTargetConfiguration<DefaultPlatformMacroAssembler>>>; |