| Summary: | [JSC] JSBigInt inc operation does not produce right HeapBigInt zero | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||
| Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ews-watchlist, keith_miller, mark.lam, msaboff, rmorisset, saam, tzagallo, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Yusuke Suzuki
2020-04-22 08:56:27 PDT
--useJIT=0 fails. This is C++ runtime bug. (In reply to Yusuke Suzuki from comment #1) > --useJIT=0 fails. This is C++ runtime bug. Or LLInt. Created attachment 397204 [details]
Patch
Comment on attachment 397204 [details]
Patch
r=me
Comment on attachment 397204 [details]
Patch
good catch. r=me as well.
EWS gets green (failures are known ones). Landing. Committed r260522: <https://trac.webkit.org/changeset/260522> Comment on attachment 397204 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397204&action=review > Source/JavaScriptCore/runtime/JSCJSValue.cpp:315 > + out.print("BigInt[heap-allocated]: addr=", RawPointer(asCell()), ", length=", jsCast<JSBigInt*>(asCell())->length(), ", sign=", jsCast<JSBigInt*>(asCell())->sign()); nice. Maybe we could also just toString this? Comment on attachment 397204 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397204&action=review >> Source/JavaScriptCore/runtime/JSCJSValue.cpp:315 >> + out.print("BigInt[heap-allocated]: addr=", RawPointer(asCell()), ", length=", jsCast<JSBigInt*>(asCell())->length(), ", sign=", jsCast<JSBigInt*>(asCell())->sign()); > > nice. Maybe we could also just toString this? Sounds good. Let's extend it! |