| 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 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 set_target_address_at(pc, constant_pool, target, icache_flush_mode); | 517 set_target_address_at(pc, constant_pool, target, icache_flush_mode); |
| 518 } | 518 } |
| 519 | 519 |
| 520 // Return the code target address at a call site from the return address | 520 // Return the code target address at a call site from the return address |
| 521 // of that call in the instruction stream. | 521 // of that call in the instruction stream. |
| 522 inline static Address target_address_from_return_address(Address pc); | 522 inline static Address target_address_from_return_address(Address pc); |
| 523 | 523 |
| 524 // Return the code target address of the patch debug break slot | 524 // Return the code target address of the patch debug break slot |
| 525 inline static Address break_address_from_return_address(Address pc); | 525 inline static Address break_address_from_return_address(Address pc); |
| 526 | 526 |
| 527 static void JumpLabelToJumpRegister(Address pc); | |
| 528 | |
| 529 static void QuietNaN(HeapObject* nan); | 527 static void QuietNaN(HeapObject* nan); |
| 530 | 528 |
| 531 // This sets the branch destination (which gets loaded at the call address). | 529 // This sets the branch destination (which gets loaded at the call address). |
| 532 // This is for calls and branches within generated code. The serializer | 530 // This is for calls and branches within generated code. The serializer |
| 533 // has already deserialized the lui/ori instructions etc. | 531 // has already deserialized the lui/ori instructions etc. |
| 534 inline static void deserialization_set_special_target_at( | 532 inline static void deserialization_set_special_target_at( |
| 535 Address instruction_payload, Code* code, Address target) { | 533 Address instruction_payload, Code* code, Address target) { |
| 536 set_target_address_at( | 534 set_target_address_at( |
| 537 instruction_payload - kInstructionsFor64BitConstant * kInstrSize, | 535 instruction_payload - kInstructionsFor64BitConstant * kInstrSize, |
| 538 code, | 536 code, |
| (...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 class EnsureSpace BASE_EMBEDDED { | 1438 class EnsureSpace BASE_EMBEDDED { |
| 1441 public: | 1439 public: |
| 1442 explicit EnsureSpace(Assembler* assembler) { | 1440 explicit EnsureSpace(Assembler* assembler) { |
| 1443 assembler->CheckBuffer(); | 1441 assembler->CheckBuffer(); |
| 1444 } | 1442 } |
| 1445 }; | 1443 }; |
| 1446 | 1444 |
| 1447 } } // namespace v8::internal | 1445 } } // namespace v8::internal |
| 1448 | 1446 |
| 1449 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1447 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |