Fix broken assertion on 32-bit
authorkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Jun 2018 06:37:50 +0000 (06:37 +0000)
committerkeith_miller@apple.com <keith_miller@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Jun 2018 06:37:50 +0000 (06:37 +0000)
commita4403f855e29d93777fe6e4e5222b7d27aeec350
tree74e3f2e390a4caf59a06f62645c89caf9c9b2c20
parentfbd657e3c4a567a1e50da88df1ade4689c71e796
Fix broken assertion on 32-bit
https://bugs.webkit.org/show_bug.cgi?id=186830

Reviewed by Mark Lam.

The assertion was intended to catch concurrent GC issues. We don't
run them on 32-bit so we don't need this assertion there. The
assertion was broken because zero is not JSValue() on 32-bit.

* runtime/JSObjectInlines.h:
(JSC::JSObject::prepareToPutDirectWithoutTransition):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSObjectInlines.h