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 1317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 reinterpret_cast<void*>(&double_constants.canonical_non_hole_nan)); | 1328 reinterpret_cast<void*>(&double_constants.canonical_non_hole_nan)); |
1329 } | 1329 } |
1330 | 1330 |
1331 | 1331 |
1332 ExternalReference ExternalReference::address_of_the_hole_nan() { | 1332 ExternalReference ExternalReference::address_of_the_hole_nan() { |
1333 return ExternalReference( | 1333 return ExternalReference( |
1334 reinterpret_cast<void*>(&double_constants.the_hole_nan)); | 1334 reinterpret_cast<void*>(&double_constants.the_hole_nan)); |
1335 } | 1335 } |
1336 | 1336 |
1337 | 1337 |
1338 ExternalReference ExternalReference::record_object_allocation_function( | |
1339 Isolate* isolate) { | |
1340 return ExternalReference( | |
1341 Redirect(isolate, | |
1342 FUNCTION_ADDR(HeapProfiler::RecordObjectAllocationFromMasm))); | |
1343 } | |
1344 | |
1345 | |
1346 ExternalReference ExternalReference::address_of_uint32_bias() { | 1338 ExternalReference ExternalReference::address_of_uint32_bias() { |
1347 return ExternalReference( | 1339 return ExternalReference( |
1348 reinterpret_cast<void*>(&double_constants.uint32_bias)); | 1340 reinterpret_cast<void*>(&double_constants.uint32_bias)); |
1349 } | 1341 } |
1350 | 1342 |
1351 | 1343 |
1352 #ifndef V8_INTERPRETED_REGEXP | 1344 #ifndef V8_INTERPRETED_REGEXP |
1353 | 1345 |
1354 ExternalReference ExternalReference::re_check_stack_guard_state( | 1346 ExternalReference ExternalReference::re_check_stack_guard_state( |
1355 Isolate* isolate) { | 1347 Isolate* isolate) { |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1710 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1702 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
1711 state_.written_position = state_.current_position; | 1703 state_.written_position = state_.current_position; |
1712 written = true; | 1704 written = true; |
1713 } | 1705 } |
1714 | 1706 |
1715 // Return whether something was written. | 1707 // Return whether something was written. |
1716 return written; | 1708 return written; |
1717 } | 1709 } |
1718 | 1710 |
1719 } } // namespace v8::internal | 1711 } } // namespace v8::internal |
OLD | NEW |