deps: cherry-pick r21466 from v8 trunk
authorBen Noordhuis <info@bnoordhuis.nl>
Fri, 23 May 2014 14:01:17 +0000 (14:01 +0000)
committerFedor Indutny <fedor@indutny.com>
Fri, 13 Jun 2014 00:46:18 +0000 (17:46 -0700)
commitd78a3787d26488c0848509b84b09c3fd30185f58
treea37977fa3b1ec763bd538ae45a496d4af8a35f49
parent5d178188a7c64267a0086d9f7bc04a7c6b95ad8e
deps: cherry-pick r21466 from v8 trunk

Check for cached transition to ExternalArray elements kind.
See [1] and [2] for details.

[1] https://code.google.com/p/v8/issues/detail?id=3337
[2] https://codereview.chromium.org/291193011

Signed-off-by: Fedor Indutny <fedor@indutny.com>
deps/v8/src/objects.cc
deps/v8/test/cctest/test-api.cc