diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-10-09 10:03:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-04-11 12:27:37 +0000 |
commit | db4a2fb7631391495eb4d92db9576272a3c2ec97 (patch) | |
tree | b2536e53f52c3b1a2fea83be8a415a6f73f5ef70 /src/qml/jit/qv4assembler_p.h | |
parent | 3a3703f298534fce8e2be5fc1f03d84fd32c1b73 (diff) |
Convert comparison methods to the new runtime syntax
Change-Id: Iad4dadddefca2d6322d4f778272b75d64e1a746f
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jit/qv4assembler_p.h')
-rw-r--r-- | src/qml/jit/qv4assembler_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qml/jit/qv4assembler_p.h b/src/qml/jit/qv4assembler_p.h index 957e8fc444..b11b76f3be 100644 --- a/src/qml/jit/qv4assembler_p.h +++ b/src/qml/jit/qv4assembler_p.h @@ -63,6 +63,8 @@ #include <config.h> #include <wtf/Vector.h> +#include <climits> + #if ENABLE(ASSEMBLER) #include <assembler/MacroAssembler.h> @@ -107,7 +109,8 @@ struct LookupCall { struct RuntimeCall { JSC::MacroAssembler::Address addr; - inline RuntimeCall(uint offset); + inline RuntimeCall(uint offset = INT_MIN); + bool isValid() const { return addr.offset >= 0; } }; template <typename T> |