Merge r10380, r10381 from the bleeding_edge to the 3.7 branch.

Change inlined cache of intanceof stub to use indirection through cell.

The stub was directly patching caller's code without issuing write barrier which violated incremental marking invariants.

R=mstarzinger@chromium.org
BUG=http://crbug.com/109448
TEST=cctest/test-heap/InstanceOfStubWriteBarrier

Review URL: http://codereview.chromium.org/9158015
------------------------------------------------------------------------


Fix build failure introduced by r10380

TBR=mstarzinger@chromium.org

Review URL: http://codereview.chromium.org/9190002
------------------------------------------------------------------------
Review URL: http://codereview.chromium.org/9187003

git-svn-id: http://v8.googlecode.com/svn/branches/3.7@10387 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
9 files changed