| 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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 | 1432 |
| 1433 | 1433 |
| 1434 ExternalReference | 1434 ExternalReference |
| 1435 ExternalReference::debug_restarter_frame_function_pointer_address( | 1435 ExternalReference::debug_restarter_frame_function_pointer_address( |
| 1436 Isolate* isolate) { | 1436 Isolate* isolate) { |
| 1437 return ExternalReference( | 1437 return ExternalReference( |
| 1438 isolate->debug()->restarter_frame_function_pointer_address()); | 1438 isolate->debug()->restarter_frame_function_pointer_address()); |
| 1439 } | 1439 } |
| 1440 | 1440 |
| 1441 | 1441 |
| 1442 ExternalReference ExternalReference::vector_store_virtual_register( | 1442 ExternalReference ExternalReference::virtual_handler_register( |
| 1443 Isolate* isolate) { | 1443 Isolate* isolate) { |
| 1444 return ExternalReference(isolate->vector_store_virtual_register_address()); | 1444 return ExternalReference(isolate->virtual_handler_register_address()); |
| 1445 } | 1445 } |
| 1446 | 1446 |
| 1447 | 1447 |
| 1448 ExternalReference ExternalReference::virtual_slot_register(Isolate* isolate) { |
| 1449 return ExternalReference(isolate->virtual_slot_register_address()); |
| 1450 } |
| 1451 |
| 1452 |
| 1448 ExternalReference ExternalReference::runtime_function_table_address( | 1453 ExternalReference ExternalReference::runtime_function_table_address( |
| 1449 Isolate* isolate) { | 1454 Isolate* isolate) { |
| 1450 return ExternalReference( | 1455 return ExternalReference( |
| 1451 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate))); | 1456 const_cast<Runtime::Function*>(Runtime::RuntimeFunctionTable(isolate))); |
| 1452 } | 1457 } |
| 1453 | 1458 |
| 1454 | 1459 |
| 1455 double power_helper(double x, double y) { | 1460 double power_helper(double x, double y) { |
| 1456 int y_int = static_cast<int>(y); | 1461 int y_int = static_cast<int>(y); |
| 1457 if (y == y_int) { | 1462 if (y == y_int) { |
| (...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1885 | 1890 |
| 1886 | 1891 |
| 1887 void Assembler::DataAlign(int m) { | 1892 void Assembler::DataAlign(int m) { |
| 1888 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1893 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 1889 while ((pc_offset() & (m - 1)) != 0) { | 1894 while ((pc_offset() & (m - 1)) != 0) { |
| 1890 db(0); | 1895 db(0); |
| 1891 } | 1896 } |
| 1892 } | 1897 } |
| 1893 } // namespace internal | 1898 } // namespace internal |
| 1894 } // namespace v8 | 1899 } // namespace v8 |
| OLD | NEW |