summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/API/JavaScript.h
diff options
context:
space:
mode:
authorOliver Hunt <oliver@apple.com>2013-04-16 11:58:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-16 19:58:28 +0200
commit9e5eaab34ec9fe2a0e0ba169c939a23bef8df900 (patch)
treec7e86fb61424307eb0d3468f0d47795737305c3e /Source/JavaScriptCore/API/JavaScript.h
parente6f5f9638bf32baf3312e5c2e06f817bbcfc8ca1 (diff)
downloadqtwebkit-9e5eaab34ec9fe2a0e0ba169c939a23bef8df900.tar.gz
Add more assertions to the property storage use in arrays
https://bugs.webkit.org/show_bug.cgi?id=107728 Reviewed by Filip Pizlo. Add a bunch of assertions to array and object butterfly usage. This should make debugging somewhat easier. I also converted a couple of assertions to release asserts as they were so low cost it seemed a sensible thing to do. * runtime/JSArray.cpp: (JSC::JSArray::sortVector): (JSC::JSArray::compactForSorting): * runtime/JSObject.h: (JSC::JSObject::getHolyIndexQuickly): Change-Id: Ie6164b837e7671b87c003de3e29fd33ef05f4362 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141029 268f45cc-cd09-0410-ab3c-d52691b4dbfc Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/API/JavaScript.h')
0 files changed, 0 insertions, 0 deletions