| 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 1140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1151 Isolate* isolate) { | 1151 Isolate* isolate) { |
| 1152 return ExternalReference(isolate->regexp_stack()->limit_address()); | 1152 return ExternalReference(isolate->regexp_stack()->limit_address()); |
| 1153 } | 1153 } |
| 1154 | 1154 |
| 1155 | 1155 |
| 1156 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { | 1156 ExternalReference ExternalReference::new_space_start(Isolate* isolate) { |
| 1157 return ExternalReference(isolate->heap()->NewSpaceStart()); | 1157 return ExternalReference(isolate->heap()->NewSpaceStart()); |
| 1158 } | 1158 } |
| 1159 | 1159 |
| 1160 | 1160 |
| 1161 ExternalReference ExternalReference::gc_count_address(Isolate* isolate) { |
| 1162 return ExternalReference(isolate->heap()->gc_count_address()); |
| 1163 } |
| 1164 |
| 1161 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { | 1165 ExternalReference ExternalReference::store_buffer_top(Isolate* isolate) { |
| 1162 return ExternalReference(isolate->heap()->store_buffer()->TopAddress()); | 1166 return ExternalReference(isolate->heap()->store_buffer()->TopAddress()); |
| 1163 } | 1167 } |
| 1164 | 1168 |
| 1165 | 1169 |
| 1166 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) { | 1170 ExternalReference ExternalReference::new_space_mask(Isolate* isolate) { |
| 1167 return ExternalReference(reinterpret_cast<Address>( | 1171 return ExternalReference(reinterpret_cast<Address>( |
| 1168 isolate->heap()->NewSpaceMask())); | 1172 isolate->heap()->NewSpaceMask())); |
| 1169 } | 1173 } |
| 1170 | 1174 |
| (...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1651 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1655 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1652 state_.written_position = state_.current_position; | 1656 state_.written_position = state_.current_position; |
| 1653 written = true; | 1657 written = true; |
| 1654 } | 1658 } |
| 1655 | 1659 |
| 1656 // Return whether something was written. | 1660 // Return whether something was written. |
| 1657 return written; | 1661 return written; |
| 1658 } | 1662 } |
| 1659 | 1663 |
| 1660 } } // namespace v8::internal | 1664 } } // namespace v8::internal |
| OLD | NEW |