| 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 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1566 ExternalReference ExternalReference::ieee754_atan2_function(Isolate* isolate) { | 1566 ExternalReference ExternalReference::ieee754_atan2_function(Isolate* isolate) { |
| 1567 return ExternalReference(Redirect( | 1567 return ExternalReference(Redirect( |
| 1568 isolate, FUNCTION_ADDR(base::ieee754::atan2), BUILTIN_FP_FP_CALL)); | 1568 isolate, FUNCTION_ADDR(base::ieee754::atan2), BUILTIN_FP_FP_CALL)); |
| 1569 } | 1569 } |
| 1570 | 1570 |
| 1571 ExternalReference ExternalReference::ieee754_atanh_function(Isolate* isolate) { | 1571 ExternalReference ExternalReference::ieee754_atanh_function(Isolate* isolate) { |
| 1572 return ExternalReference(Redirect( | 1572 return ExternalReference(Redirect( |
| 1573 isolate, FUNCTION_ADDR(base::ieee754::atanh), BUILTIN_FP_FP_CALL)); | 1573 isolate, FUNCTION_ADDR(base::ieee754::atanh), BUILTIN_FP_FP_CALL)); |
| 1574 } | 1574 } |
| 1575 | 1575 |
| 1576 ExternalReference ExternalReference::ieee754_cos_function(Isolate* isolate) { |
| 1577 return ExternalReference( |
| 1578 Redirect(isolate, FUNCTION_ADDR(base::ieee754::cos), BUILTIN_FP_CALL)); |
| 1579 } |
| 1580 |
| 1576 ExternalReference ExternalReference::ieee754_exp_function(Isolate* isolate) { | 1581 ExternalReference ExternalReference::ieee754_exp_function(Isolate* isolate) { |
| 1577 return ExternalReference( | 1582 return ExternalReference( |
| 1578 Redirect(isolate, FUNCTION_ADDR(base::ieee754::exp), BUILTIN_FP_CALL)); | 1583 Redirect(isolate, FUNCTION_ADDR(base::ieee754::exp), BUILTIN_FP_CALL)); |
| 1579 } | 1584 } |
| 1580 | 1585 |
| 1581 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { | 1586 ExternalReference ExternalReference::ieee754_log_function(Isolate* isolate) { |
| 1582 return ExternalReference( | 1587 return ExternalReference( |
| 1583 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); | 1588 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log), BUILTIN_FP_CALL)); |
| 1584 } | 1589 } |
| 1585 | 1590 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1601 ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { | 1606 ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { |
| 1602 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), | 1607 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), |
| 1603 BUILTIN_FP_FP_CALL)); | 1608 BUILTIN_FP_FP_CALL)); |
| 1604 } | 1609 } |
| 1605 | 1610 |
| 1606 ExternalReference ExternalReference::ieee754_expm1_function(Isolate* isolate) { | 1611 ExternalReference ExternalReference::ieee754_expm1_function(Isolate* isolate) { |
| 1607 return ExternalReference(Redirect( | 1612 return ExternalReference(Redirect( |
| 1608 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL)); | 1613 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL)); |
| 1609 } | 1614 } |
| 1610 | 1615 |
| 1616 ExternalReference ExternalReference::ieee754_sin_function(Isolate* isolate) { |
| 1617 return ExternalReference( |
| 1618 Redirect(isolate, FUNCTION_ADDR(base::ieee754::sin), BUILTIN_FP_CALL)); |
| 1619 } |
| 1620 |
| 1611 ExternalReference ExternalReference::page_flags(Page* page) { | 1621 ExternalReference ExternalReference::page_flags(Page* page) { |
| 1612 return ExternalReference(reinterpret_cast<Address>(page) + | 1622 return ExternalReference(reinterpret_cast<Address>(page) + |
| 1613 MemoryChunk::kFlagsOffset); | 1623 MemoryChunk::kFlagsOffset); |
| 1614 } | 1624 } |
| 1615 | 1625 |
| 1616 | 1626 |
| 1617 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { | 1627 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { |
| 1618 return ExternalReference(entry); | 1628 return ExternalReference(entry); |
| 1619 } | 1629 } |
| 1620 | 1630 |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 | 2063 |
| 2054 | 2064 |
| 2055 void Assembler::DataAlign(int m) { | 2065 void Assembler::DataAlign(int m) { |
| 2056 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2066 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2057 while ((pc_offset() & (m - 1)) != 0) { | 2067 while ((pc_offset() & (m - 1)) != 0) { |
| 2058 db(0); | 2068 db(0); |
| 2059 } | 2069 } |
| 2060 } | 2070 } |
| 2061 } // namespace internal | 2071 } // namespace internal |
| 2062 } // namespace v8 | 2072 } // namespace v8 |
| OLD | NEW |