Fixed <rdar://problem/7628524> Crash beneath JSGlobalContextRelease when
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Feb 2010 20:32:15 +0000 (20:32 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Feb 2010 20:32:15 +0000 (20:32 +0000)
commitf8ce569e3b80ba4aa35e45436b8039be8b865439
treedf320bc7ad8e24b92b4c4b922feda112e87b9360
parent9dc664626161ba165a5f25b7d48347fa5fbf1ce2
Fixed <rdar://problem/7628524> Crash beneath JSGlobalContextRelease when
typing in Google search field with GuardMalloc/full page heap enabled

Reviewed by Oliver Hunt.

* API/JSContextRef.cpp: Don't use APIEntryShim, since that requires
a JSGlobalData, which this function destroys. Do use setCurrentIdentifierTable
and JSLock instead, since those are the two features of APIEntryShim we
require.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@54785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/API/JSContextRef.cpp
JavaScriptCore/ChangeLog