Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/x64/lithium-x64.h

Issue 24438006: Refactor register allocator a little bit (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: One more ASSERT Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 2524 matching lines...) Expand 10 before | Expand all | Expand 10 after
2535 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") 2535 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index")
2536 }; 2536 };
2537 2537
2538 2538
2539 class LChunkBuilder; 2539 class LChunkBuilder;
2540 class LPlatformChunk V8_FINAL : public LChunk { 2540 class LPlatformChunk V8_FINAL : public LChunk {
2541 public: 2541 public:
2542 LPlatformChunk(CompilationInfo* info, HGraph* graph) 2542 LPlatformChunk(CompilationInfo* info, HGraph* graph)
2543 : LChunk(info, graph) { } 2543 : LChunk(info, graph) { }
2544 2544
2545 int GetNextSpillIndex(bool is_double); 2545 int GetNextSpillIndex(RegisterKind kind);
2546 LOperand* GetNextSpillSlot(bool is_double); 2546 LOperand* GetNextSpillSlot(RegisterKind kind);
2547 }; 2547 };
2548 2548
2549 2549
2550 class LChunkBuilder V8_FINAL BASE_EMBEDDED { 2550 class LChunkBuilder V8_FINAL BASE_EMBEDDED {
2551 public: 2551 public:
2552 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2552 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2553 : chunk_(NULL), 2553 : chunk_(NULL),
2554 info_(info), 2554 info_(info),
2555 graph_(graph), 2555 graph_(graph),
2556 zone_(graph->zone()), 2556 zone_(graph->zone()),
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2717 2717
2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2718 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2719 }; 2719 };
2720 2720
2721 #undef DECLARE_HYDROGEN_ACCESSOR 2721 #undef DECLARE_HYDROGEN_ACCESSOR
2722 #undef DECLARE_CONCRETE_INSTRUCTION 2722 #undef DECLARE_CONCRETE_INSTRUCTION
2723 2723
2724 } } // namespace v8::int 2724 } } // namespace v8::int
2725 2725
2726 #endif // V8_X64_LITHIUM_X64_H_ 2726 #endif // V8_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-mips.cc ('k') | src/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698