Changeset 252021 in webkit for trunk/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.h
- Timestamp:
- Nov 4, 2019, 3:47:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.h
r252015 r252021 37 37 namespace JSC { 38 38 39 class UnaryArithProfile;40 class BinaryArithProfile;41 39 class CCallHelpers; 42 40 class CodeBlock; 43 41 class LazyOperandValueProfileKey; 42 struct ArithProfile; 44 43 struct ValueProfile; 45 44 … … 59 58 m_kind = None; 60 59 } 61 62 MethodOfGettingAValueProfile( UnaryArithProfile* profile)60 61 MethodOfGettingAValueProfile(ArithProfile* profile) 63 62 { 64 63 if (profile) { 65 m_kind = UnaryArithProfileReady; 66 u.unaryArithProfile = profile; 67 } else 68 m_kind = None; 69 } 70 71 MethodOfGettingAValueProfile(BinaryArithProfile* profile) 72 { 73 if (profile) { 74 m_kind = BinaryArithProfileReady; 75 u.binaryArithProfile = profile; 64 m_kind = ArithProfileReady; 65 u.arithProfile = profile; 76 66 } else 77 67 m_kind = None; … … 90 80 None, 91 81 Ready, 92 UnaryArithProfileReady, 93 BinaryArithProfileReady, 82 ArithProfileReady, 94 83 LazyOperand 95 84 }; … … 102 91 103 92 ValueProfile* profile; 104 UnaryArithProfile* unaryArithProfile; 105 BinaryArithProfile* binaryArithProfile; 93 ArithProfile* arithProfile; 106 94 struct { 107 95 CodeBlock* codeBlock;
Note:
See TracChangeset
for help on using the changeset viewer.