[CherryPick] Remove use of JSCell::classInfoOffset() from tryCacheGetByID
authormhahnenberg@apple.com <mhahnenberg@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Sep 2012 21:46:29 +0000 (21:46 +0000)
committerHojong Han <hojong.han@samsung.com>
Fri, 23 Aug 2013 08:02:39 +0000 (17:02 +0900)
commitf6443261111ed0fb86bf9f6ba8630be4f4cde28c
treecd21a97eb69d7318b482bb8cca0017e6cd0075a0
parent42a9f1a2a26164329de7580744b57327dff7dc31
[CherryPick] Remove use of JSCell::classInfoOffset() from tryCacheGetByID

[Title] Remove use of JSCell::classInfoOffset() from tryCacheGetByID
[Issue#] N_SE-49504
[Problem] Crash after accessing property through cached property
[Solution] use structure rather than classinfo
[Cherry-Picker] Lee SangGyu <sg5.lee@samsung.com>

Remove use of JSCell::classInfoOffset() from tryCacheGetByID
https://bugs.webkit.org/show_bug.cgi?id=95860

Reviewed by Oliver Hunt.

We should just do the indirection through the Structure instead.

* dfg/DFGRepatch.cpp:
(JSC::DFG::tryCacheGetByID):

Change-Id: Ib42dc2baa19a5ae1b27c981982d36c3faaa880f9
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGRepatch.cpp