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

Side by Side Diff: src/arm/lithium-arm.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 | « no previous file | src/arm/lithium-arm.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 2600 matching lines...) Expand 10 before | Expand all | Expand 10 after
2611 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index") 2611 DECLARE_CONCRETE_INSTRUCTION(LoadFieldByIndex, "load-field-by-index")
2612 }; 2612 };
2613 2613
2614 2614
2615 class LChunkBuilder; 2615 class LChunkBuilder;
2616 class LPlatformChunk V8_FINAL : public LChunk { 2616 class LPlatformChunk V8_FINAL : public LChunk {
2617 public: 2617 public:
2618 LPlatformChunk(CompilationInfo* info, HGraph* graph) 2618 LPlatformChunk(CompilationInfo* info, HGraph* graph)
2619 : LChunk(info, graph) { } 2619 : LChunk(info, graph) { }
2620 2620
2621 int GetNextSpillIndex(bool is_double); 2621 int GetNextSpillIndex(RegisterKind kind);
2622 LOperand* GetNextSpillSlot(bool is_double); 2622 LOperand* GetNextSpillSlot(RegisterKind kind);
2623 }; 2623 };
2624 2624
2625 2625
2626 class LChunkBuilder V8_FINAL BASE_EMBEDDED { 2626 class LChunkBuilder V8_FINAL BASE_EMBEDDED {
2627 public: 2627 public:
2628 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator) 2628 LChunkBuilder(CompilationInfo* info, HGraph* graph, LAllocator* allocator)
2629 : chunk_(NULL), 2629 : chunk_(NULL),
2630 info_(info), 2630 info_(info),
2631 graph_(graph), 2631 graph_(graph),
2632 zone_(graph->zone()), 2632 zone_(graph->zone()),
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
2794 2794
2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2795 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2796 }; 2796 };
2797 2797
2798 #undef DECLARE_HYDROGEN_ACCESSOR 2798 #undef DECLARE_HYDROGEN_ACCESSOR
2799 #undef DECLARE_CONCRETE_INSTRUCTION 2799 #undef DECLARE_CONCRETE_INSTRUCTION
2800 2800
2801 } } // namespace v8::internal 2801 } } // namespace v8::internal
2802 2802
2803 #endif // V8_ARM_LITHIUM_ARM_H_ 2803 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698