| 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 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1557 ExternalReference ExternalReference::cpu_features() { | 1557 ExternalReference ExternalReference::cpu_features() { |
| 1558 DCHECK(CpuFeatures::initialized_); | 1558 DCHECK(CpuFeatures::initialized_); |
| 1559 return ExternalReference(&CpuFeatures::supported_); | 1559 return ExternalReference(&CpuFeatures::supported_); |
| 1560 } | 1560 } |
| 1561 | 1561 |
| 1562 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( | 1562 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( |
| 1563 Isolate* isolate) { | 1563 Isolate* isolate) { |
| 1564 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); | 1564 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); |
| 1565 } | 1565 } |
| 1566 | 1566 |
| 1567 ExternalReference ExternalReference::promise_hook_address(Isolate* isolate) { | 1567 ExternalReference ExternalReference::promise_hook_or_debug_is_active_address( |
| 1568 return ExternalReference(isolate->promise_hook_address()); | 1568 Isolate* isolate) { |
| 1569 return ExternalReference(isolate->promise_hook_or_debug_is_active_address()); |
| 1569 } | 1570 } |
| 1570 | 1571 |
| 1571 ExternalReference ExternalReference::debug_is_active_address( | 1572 ExternalReference ExternalReference::debug_is_active_address( |
| 1572 Isolate* isolate) { | 1573 Isolate* isolate) { |
| 1573 return ExternalReference(isolate->debug()->is_active_address()); | 1574 return ExternalReference(isolate->debug()->is_active_address()); |
| 1574 } | 1575 } |
| 1575 | 1576 |
| 1576 ExternalReference ExternalReference::debug_hook_on_function_call_address( | 1577 ExternalReference ExternalReference::debug_hook_on_function_call_address( |
| 1577 Isolate* isolate) { | 1578 Isolate* isolate) { |
| 1578 return ExternalReference(isolate->debug()->hook_on_function_call_address()); | 1579 return ExternalReference(isolate->debug()->hook_on_function_call_address()); |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1925 | 1926 |
| 1926 | 1927 |
| 1927 void Assembler::DataAlign(int m) { | 1928 void Assembler::DataAlign(int m) { |
| 1928 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1929 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 1929 while ((pc_offset() & (m - 1)) != 0) { | 1930 while ((pc_offset() & (m - 1)) != 0) { |
| 1930 db(0); | 1931 db(0); |
| 1931 } | 1932 } |
| 1932 } | 1933 } |
| 1933 } // namespace internal | 1934 } // namespace internal |
| 1934 } // namespace v8 | 1935 } // namespace v8 |
| OLD | NEW |