| 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 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1565 ExternalReference ExternalReference::cpu_features() { | 1565 ExternalReference ExternalReference::cpu_features() { |
| 1566 DCHECK(CpuFeatures::initialized_); | 1566 DCHECK(CpuFeatures::initialized_); |
| 1567 return ExternalReference(&CpuFeatures::supported_); | 1567 return ExternalReference(&CpuFeatures::supported_); |
| 1568 } | 1568 } |
| 1569 | 1569 |
| 1570 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( | 1570 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( |
| 1571 Isolate* isolate) { | 1571 Isolate* isolate) { |
| 1572 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); | 1572 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); |
| 1573 } | 1573 } |
| 1574 | 1574 |
| 1575 ExternalReference ExternalReference::is_promisehook_enabled_address( | 1575 ExternalReference ExternalReference::promise_hook_address(Isolate* isolate) { |
| 1576 Isolate* isolate) { | 1576 return ExternalReference(isolate->promise_hook_address()); |
| 1577 return ExternalReference(isolate->is_promisehook_enabled_address()); | |
| 1578 } | 1577 } |
| 1579 | 1578 |
| 1580 ExternalReference ExternalReference::debug_is_active_address( | 1579 ExternalReference ExternalReference::debug_is_active_address( |
| 1581 Isolate* isolate) { | 1580 Isolate* isolate) { |
| 1582 return ExternalReference(isolate->debug()->is_active_address()); | 1581 return ExternalReference(isolate->debug()->is_active_address()); |
| 1583 } | 1582 } |
| 1584 | 1583 |
| 1585 | 1584 |
| 1586 ExternalReference ExternalReference::debug_after_break_target_address( | 1585 ExternalReference ExternalReference::debug_after_break_target_address( |
| 1587 Isolate* isolate) { | 1586 Isolate* isolate) { |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1930 | 1929 |
| 1931 | 1930 |
| 1932 void Assembler::DataAlign(int m) { | 1931 void Assembler::DataAlign(int m) { |
| 1933 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1932 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 1934 while ((pc_offset() & (m - 1)) != 0) { | 1933 while ((pc_offset() & (m - 1)) != 0) { |
| 1935 db(0); | 1934 db(0); |
| 1936 } | 1935 } |
| 1937 } | 1936 } |
| 1938 } // namespace internal | 1937 } // namespace internal |
| 1939 } // namespace v8 | 1938 } // namespace v8 |
| OLD | NEW |