| 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 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1381 } | 1381 } |
| 1382 | 1382 |
| 1383 ExternalReference ExternalReference::address_of_regexp_stack_memory_size( | 1383 ExternalReference ExternalReference::address_of_regexp_stack_memory_size( |
| 1384 Isolate* isolate) { | 1384 Isolate* isolate) { |
| 1385 return ExternalReference(isolate->regexp_stack()->memory_size_address()); | 1385 return ExternalReference(isolate->regexp_stack()->memory_size_address()); |
| 1386 } | 1386 } |
| 1387 | 1387 |
| 1388 #endif // V8_INTERPRETED_REGEXP | 1388 #endif // V8_INTERPRETED_REGEXP |
| 1389 | 1389 |
| 1390 | 1390 |
| 1391 static double math_log_double(double x) { |
| 1392 return log(x); |
| 1393 } |
| 1394 |
| 1395 |
| 1391 ExternalReference ExternalReference::math_log_double_function( | 1396 ExternalReference ExternalReference::math_log_double_function( |
| 1392 Isolate* isolate) { | 1397 Isolate* isolate) { |
| 1393 return ExternalReference(Redirect(isolate, | 1398 return ExternalReference(Redirect(isolate, |
| 1394 FUNCTION_ADDR(log), | 1399 FUNCTION_ADDR(math_log_double), |
| 1395 BUILTIN_FP_CALL)); | 1400 BUILTIN_FP_CALL)); |
| 1396 } | 1401 } |
| 1397 | 1402 |
| 1398 | 1403 |
| 1399 ExternalReference ExternalReference::math_exp_constants(int constant_index) { | 1404 ExternalReference ExternalReference::math_exp_constants(int constant_index) { |
| 1400 ASSERT(math_exp_data_initialized); | 1405 ASSERT(math_exp_data_initialized); |
| 1401 return ExternalReference( | 1406 return ExternalReference( |
| 1402 reinterpret_cast<void*>(math_exp_constants_array + constant_index)); | 1407 reinterpret_cast<void*>(math_exp_constants_array + constant_index)); |
| 1403 } | 1408 } |
| 1404 | 1409 |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1588 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); | 1593 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); |
| 1589 state_.written_position = state_.current_position; | 1594 state_.written_position = state_.current_position; |
| 1590 written = true; | 1595 written = true; |
| 1591 } | 1596 } |
| 1592 | 1597 |
| 1593 // Return whether something was written. | 1598 // Return whether something was written. |
| 1594 return written; | 1599 return written; |
| 1595 } | 1600 } |
| 1596 | 1601 |
| 1597 } } // namespace v8::internal | 1602 } } // namespace v8::internal |
| OLD | NEW |