Separated the new register allocator in its own files.
authormtrofin <mtrofin@chromium.org>
Tue, 16 Jun 2015 17:10:14 +0000 (10:10 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 16 Jun 2015 17:10:31 +0000 (17:10 +0000)
commit4e0b7b0cf5c591219ad1152a832123a9837eeecb
treeacadcf7cf3b732640b83071a2c5dc259be044445
parent443f67650666e5cf75e59bad095c97934fb0418b
Separated the new register allocator in its own files.

Opportunistically removed GreedyAllocator::TryReuseSpillForPhi because it is actually unsuitable for Greedy. It was copied from Linear and it relies on hints, however, the current implementation of hints assumes linear scan.

This change doesn't aim to address performance nor correctness for Greedy.

BUG=

Review URL: https://codereview.chromium.org/1184183002

Cr-Commit-Position: refs/heads/master@{#29054}
BUILD.gn
src/compiler/greedy-allocator.cc [new file with mode: 0644]
src/compiler/greedy-allocator.h [new file with mode: 0644]
src/compiler/pipeline.cc
src/compiler/register-allocator.cc
src/compiler/register-allocator.h
tools/gyp/v8.gyp