Closed Bug 1505849 Opened Last year Closed 11 months ago
Implement parser support for Big
47 bytes, text/x-phabricator-request
|Details | Review|
This bug takes :terpri's patch from bug 1456568, but makes some modifications and rebases it. The patch on that bug makes the tokenizer allocate BigInts directly and has some rooting problems. This patch changes the tokenizer to instead just record the characters comprising the bigint, and defers BigInt allocation to the parser. In this way the BigInt is protected from GC as it can go onto something like an ObjectBox. Also, for syntax parsing, we can avoid allocating the bigint at all. Uploading for early review by :terpri.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/56f220f7a98f Implement parser support for BigInt literals r=terpri,jandem
You need to log in before you can comment on or make changes to this bug.