| Index: src/compiler/register-allocator.h
|
| diff --git a/src/compiler/register-allocator.h b/src/compiler/register-allocator.h
|
| index 5498aba0e41a87af6335532901c35b4a2f8b0f05..9c10051fa57c5de0fa9b870efed3f87d6ff8245f 100644
|
| --- a/src/compiler/register-allocator.h
|
| +++ b/src/compiler/register-allocator.h
|
| @@ -317,7 +317,9 @@ class LiveRange : public ZoneObject {
|
|
|
| class RegisterAllocator BASE_EMBEDDED {
|
| public:
|
| - explicit RegisterAllocator(InstructionSequence* code);
|
| + // TODO(dcarney): remove info
|
| + explicit RegisterAllocator(Frame* frame, CompilationInfo* info,
|
| + InstructionSequence* code);
|
|
|
| static void TraceAlloc(const char* msg, ...);
|
|
|
| @@ -338,6 +340,7 @@ class RegisterAllocator BASE_EMBEDDED {
|
| return &fixed_double_live_ranges_;
|
| }
|
|
|
| + CompilationInfo* info() const { return info_; }
|
| inline InstructionSequence* code() const { return code_; }
|
|
|
| // This zone is for datastructures only needed during register allocation.
|
| @@ -492,7 +495,11 @@ class RegisterAllocator BASE_EMBEDDED {
|
| return code()->InstructionAt(index);
|
| }
|
|
|
| + Frame* frame() const { return frame_; }
|
| +
|
| Zone zone_;
|
| + Frame* frame_;
|
| + CompilationInfo* info_;
|
| InstructionSequence* code_;
|
|
|
| // During liveness analysis keep a mapping from block id to live_in sets
|
|
|