Track whether a node or variable are likely to be a Smi value. Propagate that
authoriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 Oct 2008 22:33:00 +0000 (22:33 +0000)
committeriposva@chromium.org <iposva@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 Oct 2008 22:33:00 +0000 (22:33 +0000)
commit35939fd987e2c8133b66f4ade9c202ed93f3aac3
tree8032a9bccc3c8661b2dd5482597e1cf2d07a17d3
parentd0b263c37bbb7aee99a6ea2fbf9bfa8a378eed4e
Track whether a node or variable are likely to be a Smi value. Propagate that
knowledge in the AST and inline the Smi check into the generated code if it
is deemed high value (e.g. in loops).

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
12 files changed:
src/ast.h
src/codegen-ia32.cc
src/codegen-ia32.h
src/compiler.cc
src/flag-definitions.h
src/prettyprinter.cc
src/prettyprinter.h
src/rewriter.cc
src/rewriter.h
src/variables.cc
src/variables.h
tools/v8.xcodeproj/project.pbxproj