Move declaration of SerializedScopeInfo from variables.h to objects.h
authorfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Oct 2011 08:41:19 +0000 (08:41 +0000)
committerfschneider@chromium.org <fschneider@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 11 Oct 2011 08:41:19 +0000 (08:41 +0000)
commit876fa09febc19b637d651db830699dfd528fe121
treed08aae7b036de00d486f7e1188a358e5c5b4a514
parent17a68e1cfb4945ccc5826ecf139a7dd1557de51f
Move declaration of SerializedScopeInfo from variables.h to objects.h

This eliminates compile-errors when assigning Handle<SerializedScopeInfo> to
Handle<Object> in a place where the declaration was not available because
variables.h was not included.

As a result I had to also move the enum Variable::Mode to v8globals.h and
rename it to VariableMode.
Review URL: http://codereview.chromium.org/8221004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9575 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
20 files changed:
src/arm/full-codegen-arm.cc
src/ast.h
src/contexts.cc
src/full-codegen.cc
src/full-codegen.h
src/hydrogen.cc
src/hydrogen.h
src/ia32/full-codegen-ia32.cc
src/objects.cc
src/objects.h
src/parser.cc
src/parser.h
src/scopeinfo.cc
src/scopeinfo.h
src/scopes.cc
src/scopes.h
src/v8globals.h
src/variables.cc
src/variables.h
src/x64/full-codegen-x64.cc