Fix assertion scope in Runtime_GetScript.
authoryangguo@chromium.org <yangguo@chromium.org>
Thu, 30 Oct 2014 07:25:20 +0000 (07:25 +0000)
committeryangguo@chromium.org <yangguo@chromium.org>
Thu, 30 Oct 2014 07:25:43 +0000 (07:25 +0000)
commit76292d2daf3c986bdfaae520ab5791e45250b4c4
tree056b5198543542ef890af186acc58092bbf25ea2
parent120d9d521af8d47fa0960907c0b5bac1dbbd6e11
Fix assertion scope in Runtime_GetScript.

The HeapIterator implies DisallowHeapAllocation, but Script::GetWrapper
may allocate.

LOG=N
R=jkummerow@chromium.org
BUG=chromium:410033

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

Cr-Commit-Position: refs/heads/master@{#25001}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@25001 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime/runtime-debug.cc
test/mjsunit/regress/regress-crbug-410033.js [new file with mode: 0644]