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 1635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1646 return ExternalReference(isolate->regexp_stack()->memory_size_address()); | 1646 return ExternalReference(isolate->regexp_stack()->memory_size_address()); |
1647 } | 1647 } |
1648 | 1648 |
1649 #endif // V8_INTERPRETED_REGEXP | 1649 #endif // V8_INTERPRETED_REGEXP |
1650 | 1650 |
1651 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { | 1651 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { |
1652 return ExternalReference( | 1652 return ExternalReference( |
1653 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); | 1653 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); |
1654 } | 1654 } |
1655 | 1655 |
| 1656 ExternalReference ExternalReference::ieee754_log1p_function(Isolate* isolate) { |
| 1657 return ExternalReference( |
| 1658 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log1p), BUILTIN_FP_CALL)); |
| 1659 } |
1656 | 1660 |
1657 ExternalReference ExternalReference::math_exp_constants(int constant_index) { | 1661 ExternalReference ExternalReference::math_exp_constants(int constant_index) { |
1658 DCHECK(math_exp_data_initialized); | 1662 DCHECK(math_exp_data_initialized); |
1659 return ExternalReference( | 1663 return ExternalReference( |
1660 reinterpret_cast<void*>(math_exp_constants_array + constant_index)); | 1664 reinterpret_cast<void*>(math_exp_constants_array + constant_index)); |
1661 } | 1665 } |
1662 | 1666 |
1663 | 1667 |
1664 ExternalReference ExternalReference::math_exp_log_table() { | 1668 ExternalReference ExternalReference::math_exp_log_table() { |
1665 DCHECK(math_exp_data_initialized); | 1669 DCHECK(math_exp_data_initialized); |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2113 | 2117 |
2114 | 2118 |
2115 void Assembler::DataAlign(int m) { | 2119 void Assembler::DataAlign(int m) { |
2116 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2120 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2117 while ((pc_offset() & (m - 1)) != 0) { | 2121 while ((pc_offset() & (m - 1)) != 0) { |
2118 db(0); | 2122 db(0); |
2119 } | 2123 } |
2120 } | 2124 } |
2121 } // namespace internal | 2125 } // namespace internal |
2122 } // namespace v8 | 2126 } // namespace v8 |
OLD | NEW |