| 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 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 return ExternalReference( | 1301 return ExternalReference( |
| 1302 reinterpret_cast<void*>(&double_constants.the_hole_nan)); | 1302 reinterpret_cast<void*>(&double_constants.the_hole_nan)); |
| 1303 } | 1303 } |
| 1304 | 1304 |
| 1305 | 1305 |
| 1306 #ifndef V8_INTERPRETED_REGEXP | 1306 #ifndef V8_INTERPRETED_REGEXP |
| 1307 | 1307 |
| 1308 ExternalReference ExternalReference::re_check_stack_guard_state( | 1308 ExternalReference ExternalReference::re_check_stack_guard_state( |
| 1309 Isolate* isolate) { | 1309 Isolate* isolate) { |
| 1310 Address function; | 1310 Address function; |
| 1311 #ifdef V8_TARGET_ARCH_X64 | 1311 #if V8_TARGET_ARCH_X64 |
| 1312 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); | 1312 function = FUNCTION_ADDR(RegExpMacroAssemblerX64::CheckStackGuardState); |
| 1313 #elif V8_TARGET_ARCH_IA32 | 1313 #elif V8_TARGET_ARCH_IA32 |
| 1314 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); | 1314 function = FUNCTION_ADDR(RegExpMacroAssemblerIA32::CheckStackGuardState); |
| 1315 #elif V8_TARGET_ARCH_ARM | 1315 #elif V8_TARGET_ARCH_ARM |
| 1316 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); | 1316 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); |
| 1317 #elif V8_TARGET_ARCH_MIPS | 1317 #elif V8_TARGET_ARCH_MIPS |
| 1318 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); | 1318 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); |
| 1319 #else | 1319 #else |
| 1320 UNREACHABLE(); | 1320 UNREACHABLE(); |
| 1321 #endif | 1321 #endif |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1662 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1662 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1663 state_.written_position = state_.current_position; | 1663 state_.written_position = state_.current_position; |
| 1664 written = true; | 1664 written = true; |
| 1665 } | 1665 } |
| 1666 | 1666 |
| 1667 // Return whether something was written. | 1667 // Return whether something was written. |
| 1668 return written; | 1668 return written; |
| 1669 } | 1669 } |
| 1670 | 1670 |
| 1671 } } // namespace v8::internal | 1671 } } // namespace v8::internal |
| OLD | NEW |