Introduce a BreakTarget subclass of JumpTarget used to represent the
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Mar 2009 12:11:56 +0000 (12:11 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Mar 2009 12:11:56 +0000 (12:11 +0000)
commit773843b62e1cf25f94aa4c1d59ac04bef06b9d3b
treef2c49a3587b29b8b11c00099bade708af0dc6480
parentb74c5b1e39f46ce64ff1ec4395748a8113750c39
Introduce a BreakTarget subclass of JumpTarget used to represent the
blocks labeled by "break", "continue", and "return".  BreakTargets are
the only jump targets that appear in the AST, the only ones that can
be uninitialized, and the only ones that can be shadowed.
Review URL: http://codereview.chromium.org/42008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1475 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ast.cc
src/ast.h
src/codegen-arm.cc
src/codegen-arm.h
src/codegen-ia32.cc
src/codegen-ia32.h
src/jump-target.cc
src/jump-target.h
src/parser.cc