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 1583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1594 return ExternalReference(isolate->debug()->is_active_address()); | 1594 return ExternalReference(isolate->debug()->is_active_address()); |
1595 } | 1595 } |
1596 | 1596 |
1597 | 1597 |
1598 ExternalReference ExternalReference::debug_after_break_target_address( | 1598 ExternalReference ExternalReference::debug_after_break_target_address( |
1599 Isolate* isolate) { | 1599 Isolate* isolate) { |
1600 return ExternalReference(isolate->debug()->after_break_target_address()); | 1600 return ExternalReference(isolate->debug()->after_break_target_address()); |
1601 } | 1601 } |
1602 | 1602 |
1603 | 1603 |
1604 ExternalReference ExternalReference::virtual_handler_register( | |
1605 Isolate* isolate) { | |
1606 return ExternalReference(isolate->virtual_handler_register_address()); | |
1607 } | |
1608 | |
1609 | |
1610 ExternalReference ExternalReference::virtual_slot_register(Isolate* isolate) { | |
1611 return ExternalReference(isolate->virtual_slot_register_address()); | |
1612 } | |
1613 | |
1614 | |
1615 ExternalReference ExternalReference::runtime_function_table_address( | 1604 ExternalReference ExternalReference::runtime_function_table_address( |
1616 Isolate* isolate) { | 1605 Isolate* isolate) { |
1617 return ExternalReference( | 1606 return ExternalReference( |
1618 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate))); | 1607 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate))); |
1619 } | 1608 } |
1620 | 1609 |
1621 | 1610 |
1622 double power_helper(Isolate* isolate, double x, double y) { | 1611 double power_helper(Isolate* isolate, double x, double y) { |
1623 int y_int = static_cast<int>(y); | 1612 int y_int = static_cast<int>(y); |
1624 if (y == y_int) { | 1613 if (y == y_int) { |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1958 | 1947 |
1959 | 1948 |
1960 void Assembler::DataAlign(int m) { | 1949 void Assembler::DataAlign(int m) { |
1961 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1950 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
1962 while ((pc_offset() & (m - 1)) != 0) { | 1951 while ((pc_offset() & (m - 1)) != 0) { |
1963 db(0); | 1952 db(0); |
1964 } | 1953 } |
1965 } | 1954 } |
1966 } // namespace internal | 1955 } // namespace internal |
1967 } // namespace v8 | 1956 } // namespace v8 |
OLD | NEW |