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 1413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1424 ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { | 1424 ExternalReference ExternalReference::ieee754_cbrt_function(Isolate* isolate) { |
1425 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), | 1425 return ExternalReference(Redirect(isolate, FUNCTION_ADDR(base::ieee754::cbrt), |
1426 BUILTIN_FP_FP_CALL)); | 1426 BUILTIN_FP_FP_CALL)); |
1427 } | 1427 } |
1428 | 1428 |
1429 ExternalReference ExternalReference::ieee754_cos_function(Isolate* isolate) { | 1429 ExternalReference ExternalReference::ieee754_cos_function(Isolate* isolate) { |
1430 return ExternalReference( | 1430 return ExternalReference( |
1431 Redirect(isolate, FUNCTION_ADDR(base::ieee754::cos), BUILTIN_FP_CALL)); | 1431 Redirect(isolate, FUNCTION_ADDR(base::ieee754::cos), BUILTIN_FP_CALL)); |
1432 } | 1432 } |
1433 | 1433 |
| 1434 ExternalReference ExternalReference::ieee754_cosh_function(Isolate* isolate) { |
| 1435 return ExternalReference( |
| 1436 Redirect(isolate, FUNCTION_ADDR(base::ieee754::cosh), BUILTIN_FP_CALL)); |
| 1437 } |
| 1438 |
1434 ExternalReference ExternalReference::ieee754_exp_function(Isolate* isolate) { | 1439 ExternalReference ExternalReference::ieee754_exp_function(Isolate* isolate) { |
1435 return ExternalReference( | 1440 return ExternalReference( |
1436 Redirect(isolate, FUNCTION_ADDR(base::ieee754::exp), BUILTIN_FP_CALL)); | 1441 Redirect(isolate, FUNCTION_ADDR(base::ieee754::exp), BUILTIN_FP_CALL)); |
1437 } | 1442 } |
1438 | 1443 |
1439 ExternalReference ExternalReference::ieee754_expm1_function(Isolate* isolate) { | 1444 ExternalReference ExternalReference::ieee754_expm1_function(Isolate* isolate) { |
1440 return ExternalReference(Redirect( | 1445 return ExternalReference(Redirect( |
1441 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL)); | 1446 isolate, FUNCTION_ADDR(base::ieee754::expm1), BUILTIN_FP_FP_CALL)); |
1442 } | 1447 } |
1443 | 1448 |
(...skipping 15 matching lines...) Expand all Loading... |
1459 ExternalReference ExternalReference::ieee754_log2_function(Isolate* isolate) { | 1464 ExternalReference ExternalReference::ieee754_log2_function(Isolate* isolate) { |
1460 return ExternalReference( | 1465 return ExternalReference( |
1461 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log2), BUILTIN_FP_CALL)); | 1466 Redirect(isolate, FUNCTION_ADDR(base::ieee754::log2), BUILTIN_FP_CALL)); |
1462 } | 1467 } |
1463 | 1468 |
1464 ExternalReference ExternalReference::ieee754_sin_function(Isolate* isolate) { | 1469 ExternalReference ExternalReference::ieee754_sin_function(Isolate* isolate) { |
1465 return ExternalReference( | 1470 return ExternalReference( |
1466 Redirect(isolate, FUNCTION_ADDR(base::ieee754::sin), BUILTIN_FP_CALL)); | 1471 Redirect(isolate, FUNCTION_ADDR(base::ieee754::sin), BUILTIN_FP_CALL)); |
1467 } | 1472 } |
1468 | 1473 |
| 1474 ExternalReference ExternalReference::ieee754_sinh_function(Isolate* isolate) { |
| 1475 return ExternalReference( |
| 1476 Redirect(isolate, FUNCTION_ADDR(base::ieee754::sinh), BUILTIN_FP_CALL)); |
| 1477 } |
| 1478 |
1469 ExternalReference ExternalReference::ieee754_tan_function(Isolate* isolate) { | 1479 ExternalReference ExternalReference::ieee754_tan_function(Isolate* isolate) { |
1470 return ExternalReference( | 1480 return ExternalReference( |
1471 Redirect(isolate, FUNCTION_ADDR(base::ieee754::tan), BUILTIN_FP_CALL)); | 1481 Redirect(isolate, FUNCTION_ADDR(base::ieee754::tan), BUILTIN_FP_CALL)); |
1472 } | 1482 } |
1473 | 1483 |
| 1484 ExternalReference ExternalReference::ieee754_tanh_function(Isolate* isolate) { |
| 1485 return ExternalReference( |
| 1486 Redirect(isolate, FUNCTION_ADDR(base::ieee754::tanh), BUILTIN_FP_CALL)); |
| 1487 } |
| 1488 |
1474 ExternalReference ExternalReference::page_flags(Page* page) { | 1489 ExternalReference ExternalReference::page_flags(Page* page) { |
1475 return ExternalReference(reinterpret_cast<Address>(page) + | 1490 return ExternalReference(reinterpret_cast<Address>(page) + |
1476 MemoryChunk::kFlagsOffset); | 1491 MemoryChunk::kFlagsOffset); |
1477 } | 1492 } |
1478 | 1493 |
1479 | 1494 |
1480 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { | 1495 ExternalReference ExternalReference::ForDeoptEntry(Address entry) { |
1481 return ExternalReference(entry); | 1496 return ExternalReference(entry); |
1482 } | 1497 } |
1483 | 1498 |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1860 | 1875 |
1861 | 1876 |
1862 void Assembler::DataAlign(int m) { | 1877 void Assembler::DataAlign(int m) { |
1863 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1878 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1864 while ((pc_offset() & (m - 1)) != 0) { | 1879 while ((pc_offset() & (m - 1)) != 0) { |
1865 db(0); | 1880 db(0); |
1866 } | 1881 } |
1867 } | 1882 } |
1868 } // namespace internal | 1883 } // namespace internal |
1869 } // namespace v8 | 1884 } // namespace v8 |
OLD | NEW |