| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/3rdparty/masm/assembler/CodeLocation.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | namespace JSC { | - |
| 5 | - | |
| 6 | class CodeLocationInstruction; | - |
| 7 | class CodeLocationLabel; | - |
| 8 | class CodeLocationJump; | - |
| 9 | class CodeLocationCall; | - |
| 10 | class CodeLocationNearCall; | - |
| 11 | class CodeLocationDataLabelCompact; | - |
| 12 | class CodeLocationDataLabel32; | - |
| 13 | class CodeLocationDataLabelPtr; | - |
| 14 | class CodeLocationConvertibleLoad; | - |
| 15 | class CodeLocationCommon : public MacroAssemblerCodePtr { | - |
| 16 | public: | - |
| 17 | CodeLocationInstruction instructionAtOffset(int offset); | - |
| 18 | CodeLocationLabel labelAtOffset(int offset); | - |
| 19 | CodeLocationJump jumpAtOffset(int offset); | - |
| 20 | CodeLocationCall callAtOffset(int offset); | - |
| 21 | CodeLocationNearCall nearCallAtOffset(int offset); | - |
| 22 | CodeLocationDataLabelPtr dataLabelPtrAtOffset(int offset); | - |
| 23 | CodeLocationDataLabel32 dataLabel32AtOffset(int offset); | - |
| 24 | CodeLocationDataLabelCompact dataLabelCompactAtOffset(int offset); | - |
| 25 | CodeLocationConvertibleLoad convertibleLoadAtOffset(int offset); | - |
| 26 | - | |
| 27 | protected: | - |
| 28 | CodeLocationCommon() | - |
| 29 | { | - |
| 30 | } | - |
| 31 | - | |
| 32 | CodeLocationCommon(MacroAssemblerCodePtr location) | - |
| 33 | : MacroAssemblerCodePtr(location) | - |
| 34 | { | - |
| 35 | } executed 612 times by 10 tests: end of blockExecuted by:
| 612 |
| 36 | }; | - |
| 37 | - | |
| 38 | class CodeLocationInstruction : public CodeLocationCommon { | - |
| 39 | public: | - |
| 40 | CodeLocationInstruction() {} | - |
| 41 | explicit CodeLocationInstruction(MacroAssemblerCodePtr location) | - |
| 42 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 43 | explicit CodeLocationInstruction(void* location) | - |
| 44 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} never executed: end of block | 0 |
| 45 | }; | - |
| 46 | - | |
| 47 | class CodeLocationLabel : public CodeLocationCommon { | - |
| 48 | public: | - |
| 49 | CodeLocationLabel() {} | - |
| 50 | explicit CodeLocationLabel(MacroAssemblerCodePtr location) | - |
| 51 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 52 | explicit CodeLocationLabel(void* location) | - |
| 53 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} executed 612 times by 10 tests: end of blockExecuted by:
| 612 |
| 54 | }; | - |
| 55 | - | |
| 56 | class CodeLocationJump : public CodeLocationCommon { | - |
| 57 | public: | - |
| 58 | CodeLocationJump() {} | - |
| 59 | explicit CodeLocationJump(MacroAssemblerCodePtr location) | - |
| 60 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 61 | explicit CodeLocationJump(void* location) | - |
| 62 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} never executed: end of block | 0 |
| 63 | }; | - |
| 64 | - | |
| 65 | class CodeLocationCall : public CodeLocationCommon { | - |
| 66 | public: | - |
| 67 | CodeLocationCall() {} | - |
| 68 | explicit CodeLocationCall(MacroAssemblerCodePtr location) | - |
| 69 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 70 | explicit CodeLocationCall(void* location) | - |
| 71 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} never executed: end of block | 0 |
| 72 | }; | - |
| 73 | - | |
| 74 | class CodeLocationNearCall : public CodeLocationCommon { | - |
| 75 | public: | - |
| 76 | CodeLocationNearCall() {} | - |
| 77 | explicit CodeLocationNearCall(MacroAssemblerCodePtr location) | - |
| 78 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 79 | explicit CodeLocationNearCall(void* location) | - |
| 80 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} never executed: end of block | 0 |
| 81 | }; | - |
| 82 | - | |
| 83 | class CodeLocationDataLabel32 : public CodeLocationCommon { | - |
| 84 | public: | - |
| 85 | CodeLocationDataLabel32() {} | - |
| 86 | explicit CodeLocationDataLabel32(MacroAssemblerCodePtr location) | - |
| 87 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 88 | explicit CodeLocationDataLabel32(void* location) | - |
| 89 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} never executed: end of block | 0 |
| 90 | }; | - |
| 91 | - | |
| 92 | class CodeLocationDataLabelCompact : public CodeLocationCommon { | - |
| 93 | public: | - |
| 94 | CodeLocationDataLabelCompact() { } | - |
| 95 | explicit CodeLocationDataLabelCompact(MacroAssemblerCodePtr location) | - |
| 96 | : CodeLocationCommon(location) { } never executed: end of block | 0 |
| 97 | explicit CodeLocationDataLabelCompact(void* location) | - |
| 98 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) { } never executed: end of block | 0 |
| 99 | }; | - |
| 100 | - | |
| 101 | class CodeLocationDataLabelPtr : public CodeLocationCommon { | - |
| 102 | public: | - |
| 103 | CodeLocationDataLabelPtr() {} | - |
| 104 | explicit CodeLocationDataLabelPtr(MacroAssemblerCodePtr location) | - |
| 105 | : CodeLocationCommon(location) {} never executed: end of block | 0 |
| 106 | explicit CodeLocationDataLabelPtr(void* location) | - |
| 107 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) {} never executed: end of block | 0 |
| 108 | }; | - |
| 109 | - | |
| 110 | class CodeLocationConvertibleLoad : public CodeLocationCommon { | - |
| 111 | public: | - |
| 112 | CodeLocationConvertibleLoad() { } | - |
| 113 | explicit CodeLocationConvertibleLoad(MacroAssemblerCodePtr location) | - |
| 114 | : CodeLocationCommon(location) { } never executed: end of block | 0 |
| 115 | explicit CodeLocationConvertibleLoad(void* location) | - |
| 116 | : CodeLocationCommon(MacroAssemblerCodePtr(location)) { } never executed: end of block | 0 |
| 117 | }; | - |
| 118 | - | |
| 119 | inline CodeLocationInstruction CodeLocationCommon::instructionAtOffset(int offset) | - |
| 120 | { | - |
| 121 | ; | - |
| 122 | return never executed: CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationInstruction(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 123 | } | - |
| 124 | - | |
| 125 | inline CodeLocationLabel CodeLocationCommon::labelAtOffset(int offset) | - |
| 126 | { | - |
| 127 | ; | - |
| 128 | return never executed: CodeLocationLabel(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationLabel(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationLabel(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 129 | } | - |
| 130 | - | |
| 131 | inline CodeLocationJump CodeLocationCommon::jumpAtOffset(int offset) | - |
| 132 | { | - |
| 133 | ; | - |
| 134 | return never executed: CodeLocationJump(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationJump(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationJump(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 135 | } | - |
| 136 | - | |
| 137 | inline CodeLocationCall CodeLocationCommon::callAtOffset(int offset) | - |
| 138 | { | - |
| 139 | ; | - |
| 140 | return never executed: CodeLocationCall(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationCall(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationCall(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 141 | } | - |
| 142 | - | |
| 143 | inline CodeLocationNearCall CodeLocationCommon::nearCallAtOffset(int offset) | - |
| 144 | { | - |
| 145 | ; | - |
| 146 | return never executed: CodeLocationNearCall(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationNearCall(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationNearCall(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 147 | } | - |
| 148 | - | |
| 149 | inline CodeLocationDataLabelPtr CodeLocationCommon::dataLabelPtrAtOffset(int offset) | - |
| 150 | { | - |
| 151 | ; | - |
| 152 | return never executed: CodeLocationDataLabelPtr(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationDataLabelPtr(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationDataLabelPtr(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 153 | } | - |
| 154 | - | |
| 155 | inline CodeLocationDataLabel32 CodeLocationCommon::dataLabel32AtOffset(int offset) | - |
| 156 | { | - |
| 157 | ; | - |
| 158 | return never executed: CodeLocationDataLabel32(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationDataLabel32(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationDataLabel32(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 159 | } | - |
| 160 | - | |
| 161 | inline CodeLocationDataLabelCompact CodeLocationCommon::dataLabelCompactAtOffset(int offset) | - |
| 162 | { | - |
| 163 | ; | - |
| 164 | return never executed: CodeLocationDataLabelCompact(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationDataLabelCompact(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationDataLabelCompact(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 165 | } | - |
| 166 | - | |
| 167 | inline CodeLocationConvertibleLoad CodeLocationCommon::convertibleLoadAtOffset(int offset) | - |
| 168 | { | - |
| 169 | ; | - |
| 170 | return never executed: CodeLocationConvertibleLoad(reinterpret_cast<char*>(dataLocation()) + offset);return CodeLocationConvertibleLoad(reinterpret_cast<char*>(dataLocation()) + offset);never executed: return CodeLocationConvertibleLoad(reinterpret_cast<char*>(dataLocation()) + offset); | 0 |
| 171 | } | - |
| 172 | - | |
| 173 | } | - |
| Switch to Source code | Preprocessed file |