diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-11-29 15:31:56 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-01-31 11:47:57 +0000 |
commit | e09519bad7ff266e466ea2d2d66187fbb13457f9 (patch) | |
tree | 83f268a7334e851b8ad195673864c85d292f37ac /src/qml/jit/qv4baselinejit_p.h | |
parent | 3f2efbd1b904cdc9358ed328235502e338b020bf (diff) |
V4: Move relative-to-absolute offset calculation to base class
Now other subclasses of the BytecodeHandler can also use the method.
Change-Id: Ib1a19e5ef6beb6c62b6a0214a6658f57b7e74a1a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/jit/qv4baselinejit_p.h')
-rw-r--r-- | src/qml/jit/qv4baselinejit_p.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/jit/qv4baselinejit_p.h b/src/qml/jit/qv4baselinejit_p.h index 385fbf72f3..998f9f110b 100644 --- a/src/qml/jit/qv4baselinejit_p.h +++ b/src/qml/jit/qv4baselinejit_p.h @@ -220,10 +220,6 @@ public: void startInstruction(Moth::Instr::Type instr) override; void endInstruction(Moth::Instr::Type instr) override; -protected: - int absoluteOffsetForJump(int relativeOffset) const - { return nextInstructionOffset() + relativeOffset; } - private: QV4::Function *function; QScopedPointer<BaselineAssembler> as; |