Add DCHECK that the script context table do not contain native scripts.
authoryangguo <yangguo@chromium.org>
Mon, 17 Aug 2015 11:00:43 +0000 (04:00 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 17 Aug 2015 11:00:55 +0000 (11:00 +0000)
commitf0c21aa487cfab274f21a12c5f64af4b690f1b32
tree195214b7dd65faa2ab91b8d3acc084ada3ed0593
parent25ee6d666cbfbfada61a7b52ed1107b074cbcce7
Add DCHECK that the script context table do not contain native scripts.

This is to prevent unnecessary script contexts to be created for
native scripts, which could end up with a script context table
containing twenty script contexts for a newly created native context.

R=jkummerow@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30188}
src/bootstrapper.cc