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 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1559 ExternalReference ExternalReference::cpu_features() { | 1559 ExternalReference ExternalReference::cpu_features() { |
1560 DCHECK(CpuFeatures::initialized_); | 1560 DCHECK(CpuFeatures::initialized_); |
1561 return ExternalReference(&CpuFeatures::supported_); | 1561 return ExternalReference(&CpuFeatures::supported_); |
1562 } | 1562 } |
1563 | 1563 |
1564 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( | 1564 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( |
1565 Isolate* isolate) { | 1565 Isolate* isolate) { |
1566 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); | 1566 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); |
1567 } | 1567 } |
1568 | 1568 |
| 1569 ExternalReference ExternalReference::is_promisehook_enabled_address( |
| 1570 Isolate* isolate) { |
| 1571 return ExternalReference(isolate->is_promisehook_enabled_address()); |
| 1572 } |
| 1573 |
1569 ExternalReference ExternalReference::debug_is_active_address( | 1574 ExternalReference ExternalReference::debug_is_active_address( |
1570 Isolate* isolate) { | 1575 Isolate* isolate) { |
1571 return ExternalReference(isolate->debug()->is_active_address()); | 1576 return ExternalReference(isolate->debug()->is_active_address()); |
1572 } | 1577 } |
1573 | 1578 |
1574 | 1579 |
1575 ExternalReference ExternalReference::debug_after_break_target_address( | 1580 ExternalReference ExternalReference::debug_after_break_target_address( |
1576 Isolate* isolate) { | 1581 Isolate* isolate) { |
1577 return ExternalReference(isolate->debug()->after_break_target_address()); | 1582 return ExternalReference(isolate->debug()->after_break_target_address()); |
1578 } | 1583 } |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1919 | 1924 |
1920 | 1925 |
1921 void Assembler::DataAlign(int m) { | 1926 void Assembler::DataAlign(int m) { |
1922 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1927 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1923 while ((pc_offset() & (m - 1)) != 0) { | 1928 while ((pc_offset() & (m - 1)) != 0) { |
1924 db(0); | 1929 db(0); |
1925 } | 1930 } |
1926 } | 1931 } |
1927 } // namespace internal | 1932 } // namespace internal |
1928 } // namespace v8 | 1933 } // namespace v8 |
OLD | NEW |