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

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

Issue 11428137: ARM: Make use of d16-d31 when available. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 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/ia32/assembler-ia32.cc ('k') | src/mips/assembler-mips.h » ('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 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 } 1502 }
1503 } 1503 }
1504 SortUnhandled(); 1504 SortUnhandled();
1505 ASSERT(UnhandledIsSorted()); 1505 ASSERT(UnhandledIsSorted());
1506 1506
1507 ASSERT(reusable_slots_.is_empty()); 1507 ASSERT(reusable_slots_.is_empty());
1508 ASSERT(active_live_ranges_.is_empty()); 1508 ASSERT(active_live_ranges_.is_empty());
1509 ASSERT(inactive_live_ranges_.is_empty()); 1509 ASSERT(inactive_live_ranges_.is_empty());
1510 1510
1511 if (mode_ == DOUBLE_REGISTERS) { 1511 if (mode_ == DOUBLE_REGISTERS) {
1512 for (int i = 0; i < fixed_double_live_ranges_.length(); ++i) { 1512 for (int i = 0; i < DoubleRegister::NumAllocatableRegisters(); ++i) {
1513 LiveRange* current = fixed_double_live_ranges_.at(i); 1513 LiveRange* current = fixed_double_live_ranges_.at(i);
1514 if (current != NULL) { 1514 if (current != NULL) {
1515 AddToInactive(current); 1515 AddToInactive(current);
1516 } 1516 }
1517 } 1517 }
1518 } else { 1518 } else {
1519 for (int i = 0; i < fixed_live_ranges_.length(); ++i) { 1519 for (int i = 0; i < fixed_live_ranges_.length(); ++i) {
1520 LiveRange* current = fixed_live_ranges_.at(i); 1520 LiveRange* current = fixed_live_ranges_.at(i);
1521 if (current != NULL) { 1521 if (current != NULL) {
1522 AddToInactive(current); 1522 AddToInactive(current);
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
2117 LiveRange* current = live_ranges()->at(i); 2117 LiveRange* current = live_ranges()->at(i);
2118 if (current != NULL) current->Verify(); 2118 if (current != NULL) current->Verify();
2119 } 2119 }
2120 } 2120 }
2121 2121
2122 2122
2123 #endif 2123 #endif
2124 2124
2125 2125
2126 } } // namespace v8::internal 2126 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/mips/assembler-mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698