| 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 |
| 1338 #ifndef V8_INTERPRETED_REGEXP | 1346 #ifndef V8_INTERPRETED_REGEXP |
| 1339 | 1347 |
| 1340 ExternalReference ExternalReference::re_check_stack_guard_state( | 1348 ExternalReference ExternalReference::re_check_stack_guard_state( |
| 1341 Isolate* isolate) { | 1349 Isolate* isolate) { |
| 1342 Address function; | 1350 Address function; |
| 1343 #if V8_TARGET_ARCH_X64 | 1351 #if V8_TARGET_ARCH_X64 |
| 1344 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); | 1352 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); |
| 1345 #elif V8_TARGET_ARCH_IA32 | 1353 #elif V8_TARGET_ARCH_IA32 |
| 1346 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); | 1354 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); |
| 1347 #elif V8_TARGET_ARCH_ARM | 1355 #elif V8_TARGET_ARCH_ARM |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1696 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1704 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1697 state_.written_position = state_.current_position; | 1705 state_.written_position = state_.current_position; |
| 1698 written = true; | 1706 written = true; |
| 1699 } | 1707 } |
| 1700 | 1708 |
| 1701 // Return whether something was written. | 1709 // Return whether something was written. |
| 1702 return written; | 1710 return written; |
| 1703 } | 1711 } |
| 1704 | 1712 |
| 1705 } } // namespace v8::internal | 1713 } } // namespace v8::internal |
| OLD | NEW |