Change the HGraphBuilder to dispatch on the context.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Dec 2010 12:49:53 +0000 (12:49 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 9 Dec 2010 12:49:53 +0000 (12:49 +0000)
commita695d0731e8173f1a679fabadb4a7178b249272a
tree0ada77262b8d0f2e86329299154a9ec41a828094
parent6691d531ab297223f66ff148beb599e24cc8194c
Change the HGraphBuilder to dispatch on the context.

Before, expressions didn't take advantage of knowing their context in
the AST.  Now, we use the context to decide what to do with a value at
the end of visiting an expression.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5954 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen.cc
src/hydrogen.h
test/sputnik/README