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 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1575 ExternalReference ExternalReference::cpu_features() { | 1575 ExternalReference ExternalReference::cpu_features() { |
1576 DCHECK(CpuFeatures::initialized_); | 1576 DCHECK(CpuFeatures::initialized_); |
1577 return ExternalReference(&CpuFeatures::supported_); | 1577 return ExternalReference(&CpuFeatures::supported_); |
1578 } | 1578 } |
1579 | 1579 |
1580 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( | 1580 ExternalReference ExternalReference::is_tail_call_elimination_enabled_address( |
1581 Isolate* isolate) { | 1581 Isolate* isolate) { |
1582 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); | 1582 return ExternalReference(isolate->is_tail_call_elimination_enabled_address()); |
1583 } | 1583 } |
1584 | 1584 |
1585 ExternalReference ExternalReference::is_promisehook_enabled_address( | 1585 ExternalReference ExternalReference::promise_hook_address(Isolate* isolate) { |
1586 Isolate* isolate) { | 1586 return ExternalReference(isolate->promise_hook_address()); |
1587 return ExternalReference(isolate->is_promisehook_enabled_address()); | |
1588 } | 1587 } |
1589 | 1588 |
1590 ExternalReference ExternalReference::debug_is_active_address( | 1589 ExternalReference ExternalReference::debug_is_active_address( |
1591 Isolate* isolate) { | 1590 Isolate* isolate) { |
1592 return ExternalReference(isolate->debug()->is_active_address()); | 1591 return ExternalReference(isolate->debug()->is_active_address()); |
1593 } | 1592 } |
1594 | 1593 |
1595 | 1594 |
1596 ExternalReference ExternalReference::debug_after_break_target_address( | 1595 ExternalReference ExternalReference::debug_after_break_target_address( |
1597 Isolate* isolate) { | 1596 Isolate* isolate) { |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 | 1939 |
1941 | 1940 |
1942 void Assembler::DataAlign(int m) { | 1941 void Assembler::DataAlign(int m) { |
1943 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1942 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1944 while ((pc_offset() & (m - 1)) != 0) { | 1943 while ((pc_offset() & (m - 1)) != 0) { |
1945 db(0); | 1944 db(0); |
1946 } | 1945 } |
1947 } | 1946 } |
1948 } // namespace internal | 1947 } // namespace internal |
1949 } // namespace v8 | 1948 } // namespace v8 |
OLD | NEW |