Fix cluster-fuzz bug introduced in refs/heads/master@{#28796}.
authorbinji <binji@chromium.org>
Wed, 10 Jun 2015 07:33:43 +0000 (00:33 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 10 Jun 2015 07:33:55 +0000 (07:33 +0000)
commit4d6c309777ac11a22267605c3d7e159072750feb
tree0adf1f91e629d817974405317728e0329c9a3615
parentf83444a5f24381ec9ccc28b1e18e1e9370415bb2
Fix cluster-fuzz bug introduced in refs/heads/master@{#28796}.

Don't DCHECK when neutering that the buffer is not a SharedArrayBuffer;
instead, just return early.

BUG=chromium:498142,chromium:497295
R=jarin@chromium.org
LOG=n

Review URL: https://codereview.chromium.org/1174753002

Cr-Commit-Position: refs/heads/master@{#28892}
src/runtime/runtime-typedarray.cc
test/mjsunit/regress/regress-crbug-498142.js [new file with mode: 0644]