Changeset 90426 in webkit for trunk/Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h
- Timestamp:
- Jul 5, 2011, 6:30:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/assembler/MacroAssemblerARMv7.h
r90237 r90426 1127 1127 } 1128 1128 1129 Call nearCall()1129 ALWAYS_INLINE Call nearCall() 1130 1130 { 1131 1131 moveFixedWidthEncoding(TrustedImm32(0), dataTempRegister); … … 1133 1133 } 1134 1134 1135 Call call()1135 ALWAYS_INLINE Call call() 1136 1136 { 1137 1137 moveFixedWidthEncoding(TrustedImm32(0), dataTempRegister); … … 1139 1139 } 1140 1140 1141 Call call(RegisterID target)1141 ALWAYS_INLINE Call call(RegisterID target) 1142 1142 { 1143 1143 return Call(m_assembler.blx(target), Call::None); 1144 1144 } 1145 1145 1146 Call call(Address address)1146 ALWAYS_INLINE Call call(Address address) 1147 1147 { 1148 1148 load32(address, dataTempRegister); … … 1150 1150 } 1151 1151 1152 void ret()1152 ALWAYS_INLINE void ret() 1153 1153 { 1154 1154 m_assembler.bx(linkRegister); … … 1199 1199 } 1200 1200 1201 DataLabel32 moveWithPatch(TrustedImm32 imm, RegisterID dst)1201 ALWAYS_INLINE DataLabel32 moveWithPatch(TrustedImm32 imm, RegisterID dst) 1202 1202 { 1203 1203 moveFixedWidthEncoding(imm, dst); … … 1205 1205 } 1206 1206 1207 DataLabelPtr moveWithPatch(TrustedImmPtr imm, RegisterID dst)1207 ALWAYS_INLINE DataLabelPtr moveWithPatch(TrustedImmPtr imm, RegisterID dst) 1208 1208 { 1209 1209 moveFixedWidthEncoding(TrustedImm32(imm), dst); … … 1211 1211 } 1212 1212 1213 Jump branchPtrWithPatch(RelationalCondition cond, RegisterID left, DataLabelPtr& dataLabel, TrustedImmPtr initialRightValue = TrustedImmPtr(0))1213 ALWAYS_INLINE Jump branchPtrWithPatch(RelationalCondition cond, RegisterID left, DataLabelPtr& dataLabel, TrustedImmPtr initialRightValue = TrustedImmPtr(0)) 1214 1214 { 1215 1215 dataLabel = moveWithPatch(initialRightValue, dataTempRegister); … … 1217 1217 } 1218 1218 1219 Jump branchPtrWithPatch(RelationalCondition cond, Address left, DataLabelPtr& dataLabel, TrustedImmPtr initialRightValue = TrustedImmPtr(0))1219 ALWAYS_INLINE Jump branchPtrWithPatch(RelationalCondition cond, Address left, DataLabelPtr& dataLabel, TrustedImmPtr initialRightValue = TrustedImmPtr(0)) 1220 1220 { 1221 1221 load32(left, addressTempRegister); … … 1224 1224 } 1225 1225 1226 DataLabelPtr storePtrWithPatch(TrustedImmPtr initialValue, ImplicitAddress address)1226 ALWAYS_INLINE DataLabelPtr storePtrWithPatch(TrustedImmPtr initialValue, ImplicitAddress address) 1227 1227 { 1228 1228 DataLabelPtr label = moveWithPatch(initialValue, dataTempRegister); … … 1230 1230 return label; 1231 1231 } 1232 DataLabelPtr storePtrWithPatch(ImplicitAddress address) { return storePtrWithPatch(TrustedImmPtr(0), address); }1233 1234 1235 Call tailRecursiveCall()1232 ALWAYS_INLINE DataLabelPtr storePtrWithPatch(ImplicitAddress address) { return storePtrWithPatch(TrustedImmPtr(0), address); } 1233 1234 1235 ALWAYS_INLINE Call tailRecursiveCall() 1236 1236 { 1237 1237 // Like a normal call, but don't link. … … 1240 1240 } 1241 1241 1242 Call makeTailRecursiveCall(Jump oldJump)1242 ALWAYS_INLINE Call makeTailRecursiveCall(Jump oldJump) 1243 1243 { 1244 1244 oldJump.link(this); … … 1258 1258 } 1259 1259 1260 Jump jump()1260 ALWAYS_INLINE Jump jump() 1261 1261 { 1262 1262 moveFixedWidthEncoding(TrustedImm32(0), dataTempRegister); … … 1264 1264 } 1265 1265 1266 Jump makeBranch(ARMv7Assembler::Condition cond)1266 ALWAYS_INLINE Jump makeBranch(ARMv7Assembler::Condition cond) 1267 1267 { 1268 1268 m_assembler.it(cond, true, true); … … 1270 1270 return Jump(m_assembler.bx(dataTempRegister), inUninterruptedSequence() ? ARMv7Assembler::JumpConditionFixedSize : ARMv7Assembler::JumpCondition, cond); 1271 1271 } 1272 Jump makeBranch(RelationalCondition cond) { return makeBranch(armV7Condition(cond)); }1273 Jump makeBranch(ResultCondition cond) { return makeBranch(armV7Condition(cond)); }1274 Jump makeBranch(DoubleCondition cond) { return makeBranch(armV7Condition(cond)); }1272 ALWAYS_INLINE Jump makeBranch(RelationalCondition cond) { return makeBranch(armV7Condition(cond)); } 1273 ALWAYS_INLINE Jump makeBranch(ResultCondition cond) { return makeBranch(armV7Condition(cond)); } 1274 ALWAYS_INLINE Jump makeBranch(DoubleCondition cond) { return makeBranch(armV7Condition(cond)); } 1275 1275 1276 1276 ArmAddress setupArmAddress(BaseIndex address)
Note:
See TracChangeset
for help on using the changeset viewer.