Correct the limit of local variables in a optimized functions.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jun 2011 14:52:58 +0000 (14:52 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Jun 2011 14:52:58 +0000 (14:52 +0000)
commit8ec22db350773ef48e91f71f5abbc0268f152fd7
treeced0519d4ea7503a822b52f9870b65ec2849d51c
parent3f80bacffb8ee120872ec7ba00516f5c091c6475
Correct the limit of local variables in a optimized functions.

The encoding constraint is that we have 128 values. We use [-64,0] for
parameters and [0,63] for locals. However, for locals we restricted to
64 and not 63.

R=kmillikin@chromium.org
TEST=mjsunit/compiler/regress-max-locals-for-osr.js

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8242 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/compiler.cc
src/runtime.cc
src/runtime.h
test/mjsunit/compiler/regress-max-locals-for-osr.js [new file with mode: 0644]