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

Side by Side Diff: src/mips/lithium-mips.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/lithium-allocator-inl.h ('k') | src/mips/lithium-mips.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 2576 matching lines...) Expand 10 before | Expand all | Expand 10 after
2587 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") 2587 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index")
2588 }; 2588 };
2589 2589
2590 2590
2591 class LChunkBuilder; 2591 class LChunkBuilder;
2592 class LPlatformChunk V8_FINAL : public LChunk { 2592 class LPlatformChunk V8_FINAL : public LChunk {
2593 public: 2593 public:
2594 LPlatformChunk(CompilationInfo* info, HGraph* graph) 2594 LPlatformChunk(CompilationInfo* info, HGraph* graph)
2595 : LChunk(info, graph) { } 2595 : LChunk(info, graph) { }
2596 2596
2597 int GetNextSpillIndex(bool is_double); 2597 int GetNextSpillIndex(RegisterKind kind);
2598 LOperand* GetNextSpillSlot(bool is_double); 2598 LOperand* GetNextSpillSlot(RegisterKind kind);
2599 }; 2599 };
2600 2600
2601 2601
2602 class LChunkBuilder V8_FINAL BASE_EMBEDDED { 2602 class LChunkBuilder V8_FINAL BASE_EMBEDDED {
2603 public: 2603 public:
2604 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2604 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2605 : chunk_(NULL), 2605 : chunk_(NULL),
2606 info_(info), 2606 info_(info),
2607 graph_(graph), 2607 graph_(graph),
2608 zone_(graph->zone()), 2608 zone_(graph->zone()),
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
2769 2769
2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2770 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2771 }; 2771 };
2772 2772
2773 #undef DECLARE_HYDROGEN_ACCESSOR 2773 #undef DECLARE_HYDROGEN_ACCESSOR
2774 #undef DECLARE_CONCRETE_INSTRUCTION 2774 #undef DECLARE_CONCRETE_INSTRUCTION
2775 2775
2776 } } // namespace v8::internal 2776 } } // namespace v8::internal
2777 2777
2778 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2778 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/lithium-allocator-inl.h ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698