Landing for Justin Schuh.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 29 Oct 2010 06:15:34 +0000 (06:15 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 29 Oct 2010 06:15:34 +0000 (06:15 +0000)
commit46951e659c71130b323665db839627bdedec6d6a
treeabbaef8bc4f4c939381d5ff76bfb1588a36a8691
parent08fbd012b0daecb60c758e5f54def36077a9819e
Landing for Justin Schuh.

This switches out the existing constant splitting with masking that works like this:

1. Generate a random 32-bit value at compilation time.
2. XOR the 32-bit constant with the random value.
3. Emit the resulting immediate value along with the XOR operation to generate the original value.

BUG=http://code.google.com/p/v8/issues/detail?id=908

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5734 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/flag-definitions.h
src/ia32/codegen-ia32.cc
src/ia32/codegen-ia32.h