| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |