diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2017-02-06 10:57:36 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2017-02-06 18:09:26 +0000 |
commit | 9e926ddbf985f8d41747ae8a89ee3752a11011e4 (patch) | |
tree | 61864cc3a79e046b220040bfb264d79bfc4a0024 /src/qml/jit/qv4targetplatform_p.h | |
parent | f89e7596b76ea4d3444f187e425ce7fec9d3a635 (diff) |
Eliminate VALUE_FITS_IN_REGISTER #ifdef
These macros do not apply anymore when cross-compiling. This patch
replaces the macro use for locals JS stack initialization with register
size dependent operations as well as when loading the this object into a
stack slot.
Change-Id: Ia986f6dbfa37c6d6ce2f1de6253e7008e4aa87dd
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jit/qv4targetplatform_p.h')
-rw-r--r-- | src/qml/jit/qv4targetplatform_p.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qml/jit/qv4targetplatform_p.h b/src/qml/jit/qv4targetplatform_p.h index 1c29aa2a70..46a618d733 100644 --- a/src/qml/jit/qv4targetplatform_p.h +++ b/src/qml/jit/qv4targetplatform_p.h @@ -130,7 +130,6 @@ public: } # define HAVE_ALU_OPS_WITH_MEM_OPERAND 1 -# undef VALUE_FITS_IN_REGISTER static const int RegisterSize = 4; # undef ARGUMENTS_IN_REGISTERS @@ -216,7 +215,6 @@ public: } #define HAVE_ALU_OPS_WITH_MEM_OPERAND 1 -#define VALUE_FITS_IN_REGISTER static const int RegisterSize = 8; #define ARGUMENTS_IN_REGISTERS @@ -285,7 +283,6 @@ public: } #define HAVE_ALU_OPS_WITH_MEM_OPERAND 1 -#define VALUE_FITS_IN_REGISTER static const int RegisterSize = 8; #define ARGUMENTS_IN_REGISTERS @@ -389,7 +386,6 @@ public: } #undef HAVE_ALU_OPS_WITH_MEM_OPERAND -#undef VALUE_FITS_IN_REGISTER static const int RegisterSize = 4; #define ARGUMENTS_IN_REGISTERS @@ -510,7 +506,6 @@ public: } #undef HAVE_ALU_OPS_WITH_MEM_OPERAND -#define VALUE_FITS_IN_REGISTER static const int RegisterSize = 8; #define ARGUMENTS_IN_REGISTERS @@ -598,7 +593,6 @@ public: } #undef HAVE_ALU_OPS_WITH_MEM_OPERAND -#undef VALUE_FITS_IN_REGISTER static const int RegisterSize = 4; #define ARGUMENTS_IN_REGISTERS |