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

Side by Side Diff: src/lithium-allocator.cc

Issue 6025014: Remove unused policy from register allocator.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 break; 99 break;
100 case LUnallocated::MUST_HAVE_REGISTER: 100 case LUnallocated::MUST_HAVE_REGISTER:
101 stream->Add("(R)"); 101 stream->Add("(R)");
102 break; 102 break;
103 case LUnallocated::WRITABLE_REGISTER: 103 case LUnallocated::WRITABLE_REGISTER:
104 stream->Add("(WR)"); 104 stream->Add("(WR)");
105 break; 105 break;
106 case LUnallocated::SAME_AS_FIRST_INPUT: 106 case LUnallocated::SAME_AS_FIRST_INPUT:
107 stream->Add("(1)"); 107 stream->Add("(1)");
108 break; 108 break;
109 case LUnallocated::SAME_AS_ANY_INPUT:
110 stream->Add("(A)");
111 break;
112 case LUnallocated::ANY: 109 case LUnallocated::ANY:
113 stream->Add("(-)"); 110 stream->Add("(-)");
114 break; 111 break;
115 case LUnallocated::IGNORE: 112 case LUnallocated::IGNORE:
116 stream->Add("(0)"); 113 stream->Add("(0)");
117 break; 114 break;
118 } 115 }
119 break; 116 break;
120 case CONSTANT_OPERAND: 117 case CONSTANT_OPERAND:
121 stream->Add("[constant:%d]", index()); 118 stream->Add("[constant:%d]", index());
(...skipping 2018 matching lines...) Expand 10 before | Expand all | Expand 10 after
2140 LiveRange* current = live_ranges()->at(i); 2137 LiveRange* current = live_ranges()->at(i);
2141 if (current != NULL) current->Verify(); 2138 if (current != NULL) current->Verify();
2142 } 2139 }
2143 } 2140 }
2144 2141
2145 2142
2146 #endif 2143 #endif
2147 2144
2148 2145
2149 } } // namespace v8::internal 2146 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium-allocator.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698