Reviewers: fschneider, Description: Add support for near labels.
This change introduces near labels in the assembler, allowing us to uptimize forward jumps (conditional and unconditional) if we can guarantee that the jump is witin range -128 to +127. I changed a large fractions of the existing Labels to NearLabels, and left out cases where it was not immediately clear if it could be used or not (not immediately clear means labels covering a large code block, or used in function calls which we could potentially change to accept near labels). Please review this at http://codereview.chromium.org/3388004/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/assembler.h M src/ia32/assembler-ia32.h M src/ia32/assembler-ia32.cc M src/ia32/code-stubs-ia32.cc M src/ia32/full-codegen-ia32.cc M src/x64/assembler-x64.h M src/x64/assembler-x64.cc M src/x64/code-stubs-x64.cc M src/x64/full-codegen-x64.cc -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev