Changeset 252021 in webkit for trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
- Timestamp:
- Nov 4, 2019, 3:47:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/CodeBlock.h
r252015 r252021 84 84 #endif 85 85 86 class UnaryArithProfile;87 class BinaryArithProfile;88 86 class BytecodeLivenessAnalysis; 89 87 class CodeBlockSet; … … 99 97 enum class AccessType : int8_t; 100 98 99 struct ArithProfile; 101 100 struct OpCatch; 102 101 … … 281 280 JITData& ensureJITDataSlow(const ConcurrentJSLocker&); 282 281 283 JITAddIC* addJITAddIC( BinaryArithProfile*);284 JITMulIC* addJITMulIC( BinaryArithProfile*);285 JITNegIC* addJITNegIC( UnaryArithProfile*);286 JITSubIC* addJITSubIC( BinaryArithProfile*);282 JITAddIC* addJITAddIC(ArithProfile*); 283 JITMulIC* addJITMulIC(ArithProfile*); 284 JITNegIC* addJITNegIC(ArithProfile*); 285 JITSubIC* addJITSubIC(ArithProfile*); 287 286 288 287 template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITAddGenerator>::value>::type> 289 JITAddIC* addMathIC( BinaryArithProfile* profile) { return addJITAddIC(profile); }288 JITAddIC* addMathIC(ArithProfile* profile) { return addJITAddIC(profile); } 290 289 291 290 template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITMulGenerator>::value>::type> 292 JITMulIC* addMathIC( BinaryArithProfile* profile) { return addJITMulIC(profile); }291 JITMulIC* addMathIC(ArithProfile* profile) { return addJITMulIC(profile); } 293 292 294 293 template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITNegGenerator>::value>::type> 295 JITNegIC* addMathIC( UnaryArithProfile* profile) { return addJITNegIC(profile); }294 JITNegIC* addMathIC(ArithProfile* profile) { return addJITNegIC(profile); } 296 295 297 296 template <typename Generator, typename = typename std::enable_if<std::is_same<Generator, JITSubGenerator>::value>::type> 298 JITSubIC* addMathIC( BinaryArithProfile* profile) { return addJITSubIC(profile); }297 JITSubIC* addMathIC(ArithProfile* profile) { return addJITSubIC(profile); } 299 298 300 299 StructureStubInfo* addStubInfo(AccessType); … … 499 498 template<typename Functor> void forEachLLIntCallLinkInfo(const Functor&); 500 499 501 BinaryArithProfile* binaryArithProfileForBytecodeIndex(BytecodeIndex); 502 UnaryArithProfile* unaryArithProfileForBytecodeIndex(BytecodeIndex); 503 BinaryArithProfile* binaryArithProfileForPC(const Instruction*); 504 UnaryArithProfile* unaryArithProfileForPC(const Instruction*); 500 ArithProfile* arithProfileForBytecodeIndex(BytecodeIndex); 501 ArithProfile* arithProfileForPC(const Instruction*); 505 502 506 503 bool couldTakeSpecialArithFastCase(BytecodeIndex bytecodeOffset);
Note:
See TracChangeset
for help on using the changeset viewer.