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

Side by Side Diff: src/ia32/lithium-ia32.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/arm/lithium-arm.cc ('k') | src/ia32/lithium-ia32.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 2717 matching lines...) Expand 10 before | Expand all | Expand 10 after
2728 }; 2728 };
2729 2729
2730 2730
2731 class LChunkBuilder; 2731 class LChunkBuilder;
2732 class LPlatformChunk V8_FINAL : public LChunk { 2732 class LPlatformChunk V8_FINAL : public LChunk {
2733 public: 2733 public:
2734 LPlatformChunk(CompilationInfo* info, HGraph* graph) 2734 LPlatformChunk(CompilationInfo* info, HGraph* graph)
2735 : LChunk(info, graph), 2735 : LChunk(info, graph),
2736 num_double_slots_(0) { } 2736 num_double_slots_(0) { }
2737 2737
2738 int GetNextSpillIndex(bool is_double); 2738 int GetNextSpillIndex(RegisterKind kind);
2739 LOperand* GetNextSpillSlot(bool is_double); 2739 LOperand* GetNextSpillSlot(RegisterKind kind);
2740 2740
2741 int num_double_slots() const { return num_double_slots_; } 2741 int num_double_slots() const { return num_double_slots_; }
2742 2742
2743 private: 2743 private:
2744 int num_double_slots_; 2744 int num_double_slots_;
2745 }; 2745 };
2746 2746
2747 2747
2748 class LChunkBuilder V8_FINAL BASE_EMBEDDED { 2748 class LChunkBuilder V8_FINAL BASE_EMBEDDED {
2749 public: 2749 public:
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
2920 2920
2921 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2921 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2922 }; 2922 };
2923 2923
2924 #undef DECLARE_HYDROGEN_ACCESSOR 2924 #undef DECLARE_HYDROGEN_ACCESSOR
2925 #undef DECLARE_CONCRETE_INSTRUCTION 2925 #undef DECLARE_CONCRETE_INSTRUCTION
2926 2926
2927 } } // namespace v8::internal 2927 } } // namespace v8::internal
2928 2928
2929 #endif // V8_IA32_LITHIUM_IA32_H_ 2929 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698