d8 drops into a shell if no files are passed on command line
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 22 Jun 2011 17:32:35 +0000 (17:32 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 22 Jun 2011 17:32:35 +0000 (17:32 +0000)
commit286f1d6bc3a1d3548bd7c608dd7b028d9634d1b3
tree869ce3a09a4f870011d82b9d185259332b8075e1
parent183efaee32e71de0282db0148e2370eb738a7867
d8 drops into a shell if no files are passed on command line

Fixes regression introduced in r8241.

BUG=
TEST=Run ./d8 --print_code -- should drop into shell.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8378 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/d8.cc