diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-01-24 13:00:00 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-02-05 16:05:18 +0000 |
commit | 40b005972727f05f42b2ac92db7c092a500335a8 (patch) | |
tree | f001943bdfda6f38fdc996bff65c43ca5fdc377b /src/qml/qml/qqmltypemoduleversion_p.h | |
parent | 2b297cae4b645cb9eebbe7a263c37f80c7f957ae (diff) |
V4: Add more flags to runtime methods
Mark method that:
- change the context (e.g. PushCallContext)
- are pure (don't throw, have no visible side-effects, e.g. ToBoolean)
- use the last argument as an output parameter (e.g. IteratorNext)
These are used in subsequent patches to give the JIT more information
about the call. For example, a pure function can be placed anywhere
before its first use, as long as its parameter values are known.
Change-Id: I31355d2016b6676f339a9838c25b941d0e7860f0
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmltypemoduleversion_p.h')
0 files changed, 0 insertions, 0 deletions