Fix direct loading of global function prototypes:
authorvitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 17 Sep 2010 09:56:47 +0000 (09:56 +0000)
committervitalyr@chromium.org <vitalyr@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 17 Sep 2010 09:56:47 +0000 (09:56 +0000)
commitc6c55a69a93db86b563f9d829c12e72b61593b45
tree5ef28193faf2f4fa81204e7c8048e63f365c2dc2
parent3b8235b306d02c38ef3e747d96a2bc4de30c10cf
Fix direct loading of global function prototypes:
We must also check the current context has not changed.

The bug reported by Florian.

Review URL: http://codereview.chromium.org/3410014

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5483 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/stub-cache-arm.cc
src/ia32/stub-cache-ia32.cc
src/stub-cache.h
src/x64/stub-cache-x64.cc
test/cctest/test-api.cc