Move stack check below while statement.
authorpodivilov@chromium.org <podivilov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 7 Sep 2010 15:34:16 +0000 (15:34 +0000)
committerpodivilov@chromium.org <podivilov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 7 Sep 2010 15:34:16 +0000 (15:34 +0000)
commit8c595da41962a93868650c80209f21808222ff53
treed6983c3c7b0fabfba2c33616289eb786946ea61a
parent73c02394bff175815a22d785036a3b6883e39039
Move stack check below while statement.

Call to Runtime_StackGuard should be generated after loop body.
Otherwise, break position will be the previous position before
loop statement.

Review URL: http://codereview.chromium.org/3302012

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5423 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/full-codegen.cc
test/cctest/test-debug.cc