Fix http://code.google.com/p/v8/issues/detail?id=69 :
authoriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Sep 2008 11:23:02 +0000 (11:23 +0000)
committeriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 16 Sep 2008 11:23:02 +0000 (11:23 +0000)
commit88192fc01c09da8f1a3376e1ab6f8110cd83335c
treef0419939b7a61171901305571898a1cbac9bccad
parent725dcfb5031a9c740e1ef3f5dd81a73a89398cab
Fix code.google.com/p/v8/issues/detail?id=69 :
- Simplify the switch statement code generation.
- Ensure that the switch value is always popped from the stack.

Credit goes to Feng for isolating the issue and proposing a fix.
Review URL: http://codereview.chromium.org/2888

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@315 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/codegen-arm.cc
src/codegen-ia32.cc
test/mjsunit/regress/regress-69.js [new file with mode: 0644]