[JSC] SpeculativeJIT::nonSpeculativeNonPeepholeStrictEq should expect AnyBigIntUse
Created attachment 397151 [details] Patch
Comment on attachment 397151 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397151&action=review r=me > Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:422 > void SpeculativeJIT::nonSpeculativeNonPeepholeStrictEq(Node* node, bool invert) Since we may now need to speculate for AnyBigIntUse, the name nonSpeculativeNonPeepholeStrictEq (and its caller nonSpeculativeStrictEq) is now inaccurate. I suggest changing them to genericNonPeepholeStrictEq and genericStrictEq respectively. "Generic" here being the generic JSValue case. Or perhaps genericJSValueNonPeepholeStrictEq and genericJSValueStrictEq?
Comment on attachment 397151 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397151&action=review >> Source/JavaScriptCore/dfg/DFGSpeculativeJIT64.cpp:422 >> void SpeculativeJIT::nonSpeculativeNonPeepholeStrictEq(Node* node, bool invert) > > Since we may now need to speculate for AnyBigIntUse, the name nonSpeculativeNonPeepholeStrictEq (and its caller nonSpeculativeStrictEq) is now inaccurate. I suggest changing them to genericNonPeepholeStrictEq and genericStrictEq respectively. "Generic" here being the generic JSValue case. Or perhaps genericJSValueNonPeepholeStrictEq and genericJSValueStrictEq? Nice catch! We should use genericJSValueNonPeepholeStrictEq / genericJSValueStrictEq. Fixed.
Run JSC tests locally.
Committed r260490: <https://trac.webkit.org/changeset/260490>
<rdar://problem/62149170>
Committed r260501: <https://trac.webkit.org/changeset/260501>