| Summary: | [32-bit JSC tests] ASSERTION FAILED: !getDirect(offset) || !JSValue::encode(getDirect(offset)) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Dawei Fenton (:realdawei) <realdawei> | ||||
| Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ews-watchlist, keith_miller, lforschler, mark.lam, msaboff, ryanhaddad, saam, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=186989 | ||||||
| Attachments: |
|
||||||
|
Description
Dawei Fenton (:realdawei)
2018-07-02 10:19:56 PDT
Created attachment 344201 [details]
proposed patch.
Comment on attachment 344201 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=344201&action=review > Source/JavaScriptCore/ChangeLog:9 > + The 32-bit JIT::emit_op_create_this() needs to initialize uninitialized properties Do we really care about this assert on 32-bit since we don’t run concurrent JIT/GC? Thanks for the review. (In reply to Saam Barati from comment #3) > Comment on attachment 344201 [details] > proposed patch. > > View in context: > https://bugs.webkit.org/attachment.cgi?id=344201&action=review > > > Source/JavaScriptCore/ChangeLog:9 > > + The 32-bit JIT::emit_op_create_this() needs to initialize uninitialized properties > > Do we really care about this assert on 32-bit since we don’t run concurrent > JIT/GC? Good point. I guess we don't care then, but it doesn't hurt to just have the code in parity with the 64-bit i.e. I won't make the change conditional on asserts being enabled. I'll land the patch shortly. (In reply to Mark Lam from comment #4) > (In reply to Saam Barati from comment #3) > > Do we really care about this assert on 32-bit since we don’t run concurrent > > JIT/GC? > > Good point. I guess we don't care then, but it doesn't hurt to just have > the code in parity with the 64-bit i.e. I won't make the change conditional > on asserts being enabled. I'll land the patch shortly. I'll also add a ChangeLog comment that this is only needed for an assertion, and not strictly needed because we son't useConcurrentGC on 32-bit. Landed in r233473: <http://trac.webkit.org/r233473>. |