Changeset 252021 in webkit for trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
- Timestamp:
- Nov 4, 2019, 3:47:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm
r252015 r252021 965 965 966 966 llintOpWithMetadata(op_negate, OpNegate, macro (size, get, dispatch, metadata, return) 967 968 macro updateArithProfile(type)969 orh type, OpNegate::Metadata::m_arithProfile + UnaryArithProfile::m_bits[t1]970 end971 972 967 get(m_operand, t0) 973 968 loadConstantOrVariable(size, t0, t3) 974 969 metadata(t1, t2) 970 loadi OpNegate::Metadata::m_arithProfile + ArithProfile::m_bits[t1], t2 975 971 bqb t3, numberTag, .opNegateNotInt 976 972 btiz t3, 0x7fffffff, .opNegateSlow 977 973 negi t3 978 974 orq numberTag, t3 979 updateArithProfile(ArithProfileInt) 975 ori ArithProfileInt, t2 976 storei t2, OpNegate::Metadata::m_arithProfile + ArithProfile::m_bits[t1] 980 977 return(t3) 981 978 .opNegateNotInt: 982 979 btqz t3, numberTag, .opNegateSlow 983 980 xorq 0x8000000000000000, t3 984 updateArithProfile(ArithProfileNumber) 981 ori ArithProfileNumber, t2 982 storei t2, OpNegate::Metadata::m_arithProfile + ArithProfile::m_bits[t1] 985 983 return(t3) 986 984 … … 996 994 997 995 macro profile(type) 998 or h type, %opcodeStruct%::Metadata::m_arithProfile + UnaryArithProfile::m_bits[t5]996 ori type, %opcodeStruct%::Metadata::m_arithProfile + ArithProfile::m_bits[t5] 999 997 end 1000 998
Note:
See TracChangeset
for help on using the changeset viewer.