| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 1186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1197 } | 1197 } |
| 1198 | 1198 |
| 1199 | 1199 |
| 1200 ExternalReference ExternalReference::old_data_space_allocation_limit_address( | 1200 ExternalReference ExternalReference::old_data_space_allocation_limit_address( |
| 1201 Isolate* isolate) { | 1201 Isolate* isolate) { |
| 1202 return ExternalReference( | 1202 return ExternalReference( |
| 1203 isolate->heap()->OldDataSpaceAllocationLimitAddress()); | 1203 isolate->heap()->OldDataSpaceAllocationLimitAddress()); |
| 1204 } | 1204 } |
| 1205 | 1205 |
| 1206 | 1206 |
| 1207 ExternalReference ExternalReference:: | |
| 1208 new_space_high_promotion_mode_active_address(Isolate* isolate) { | |
| 1209 return ExternalReference( | |
| 1210 isolate->heap()->NewSpaceHighPromotionModeActiveAddress()); | |
| 1211 } | |
| 1212 | |
| 1213 | |
| 1214 ExternalReference ExternalReference::handle_scope_level_address( | 1207 ExternalReference ExternalReference::handle_scope_level_address( |
| 1215 Isolate* isolate) { | 1208 Isolate* isolate) { |
| 1216 return ExternalReference(HandleScope::current_level_address(isolate)); | 1209 return ExternalReference(HandleScope::current_level_address(isolate)); |
| 1217 } | 1210 } |
| 1218 | 1211 |
| 1219 | 1212 |
| 1220 ExternalReference ExternalReference::handle_scope_next_address( | 1213 ExternalReference ExternalReference::handle_scope_next_address( |
| 1221 Isolate* isolate) { | 1214 Isolate* isolate) { |
| 1222 return ExternalReference(HandleScope::current_next_address(isolate)); | 1215 return ExternalReference(HandleScope::current_next_address(isolate)); |
| 1223 } | 1216 } |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1653 r2 = r2 - ad; | 1646 r2 = r2 - ad; |
| 1654 } | 1647 } |
| 1655 delta = ad - r2; | 1648 delta = ad - r2; |
| 1656 } while (q1 < delta || (q1 == delta && r1 == 0)); | 1649 } while (q1 < delta || (q1 == delta && r1 == 0)); |
| 1657 int32_t mul = static_cast<int32_t>(q2 + 1); | 1650 int32_t mul = static_cast<int32_t>(q2 + 1); |
| 1658 multiplier_ = (d < 0) ? -mul : mul; | 1651 multiplier_ = (d < 0) ? -mul : mul; |
| 1659 shift_ = p - 32; | 1652 shift_ = p - 32; |
| 1660 } | 1653 } |
| 1661 | 1654 |
| 1662 } } // namespace v8::internal | 1655 } } // namespace v8::internal |
| OLD | NEW |