| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/memory/qv4writebarrier_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | - | |
| 8 | namespace QV4 { | - |
| 9 | - | |
| 10 | namespace WriteBarrier { | - |
| 11 | - | |
| 12 | enum Type { | - |
| 13 | NoBarrier, | - |
| 14 | Barrier | - |
| 15 | }; | - |
| 16 | - | |
| 17 | enum NewValueType { | - |
| 18 | Primitive, | - |
| 19 | Object, | - |
| 20 | Unknown | - |
| 21 | }; | - |
| 22 | - | |
| 23 | - | |
| 24 | inline __attribute__((always_inline)) void fence() {} | - |
| 25 | - | |
| 26 | - | |
| 27 | - | |
| 28 | template <NewValueType type> | - |
| 29 | static constexpr inline bool isRequired() { | - |
| 30 | return false; | - |
| 31 | } | - |
| 32 | - | |
| 33 | inline void write(EngineBase *engine, Heap::Base *base, ReturnedValue *slot, ReturnedValue value) | - |
| 34 | { | - |
| 35 | (void)engine;; | - |
| 36 | (void)base;; | - |
| 37 | *slot = value; | - |
| 38 | } executed 222732998 times by 154 tests: end of blockExecuted by:
| 222732998 |
| 39 | - | |
| 40 | inline void write(EngineBase *engine, Heap::Base *base, Heap::Base **slot, Heap::Base *value) | - |
| 41 | { | - |
| 42 | (void)engine;; | - |
| 43 | (void)base;; | - |
| 44 | *slot = value; | - |
| 45 | } executed 627044916 times by 154 tests: end of blockExecuted by:
| 627044916 |
| 46 | - | |
| 47 | - | |
| 48 | - | |
| 49 | } | - |
| 50 | - | |
| 51 | } | - |
| 52 | - | |
| 53 | - | |
| Switch to Source code | Preprocessed file |