RESOLVED FIXED 192619
[BigInt] Implement DFG/FTL typeof for BigInt
https://bugs.webkit.org/show_bug.cgi?id=192619
Summary [BigInt] Implement DFG/FTL typeof for BigInt
Yusuke Suzuki
Reported 2018-12-12 02:00:02 PST
[BigInt] Implement DFG/FTL typeof for BigInt
Attachments
Patch (9.03 KB, patch)
2018-12-12 02:02 PST, Yusuke Suzuki
keith_miller: review+
Yusuke Suzuki
Comment 1 2018-12-12 02:02:57 PST
Caio Lima
Comment 2 2018-12-12 05:21:42 PST
Comment on attachment 357114 [details] Patch LGTM, informal r+
Keith Miller
Comment 3 2018-12-12 10:57:13 PST
Comment on attachment 357114 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=357114&action=review r=me. > Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:14220 > + // } else if (is bigint) { Do we think that bigints are going to be more or less common than symbol? Also, when we add a value representation for "small big ints" I would expect symbols would be more common. Can we add a FIXME: here to switch the ordering when that happens? > Source/JavaScriptCore/jit/AssemblyHelpers.h:1658 > + // } else if (is bigint) { > + // return bigint Ditto
Yusuke Suzuki
Comment 4 2018-12-12 17:58:19 PST
Comment on attachment 357114 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=357114&action=review Thank you! >> Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:14220 >> + // } else if (is bigint) { > > Do we think that bigints are going to be more or less common than symbol? > > Also, when we add a value representation for "small big ints" I would expect symbols would be more common. Can we add a FIXME: here to switch the ordering when that happens? Make sense. Added FIXME here. >> Source/JavaScriptCore/jit/AssemblyHelpers.h:1658 >> + // return bigint > > Ditto Fixed.
Yusuke Suzuki
Comment 5 2018-12-12 18:01:42 PST
Radar WebKit Bug Importer
Comment 6 2018-12-12 18:03:48 PST
Note You need to log in before you can comment on or make changes to this bug.