| 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 set_target_address_at(pc, constant_pool, target, icache_flush_mode); | 524 set_target_address_at(pc, constant_pool, target, icache_flush_mode); |
| 525 } | 525 } |
| 526 | 526 |
| 527 // Return the code target address at a call site from the return address | 527 // Return the code target address at a call site from the return address |
| 528 // of that call in the instruction stream. | 528 // of that call in the instruction stream. |
| 529 inline static Address target_address_from_return_address(Address pc); | 529 inline static Address target_address_from_return_address(Address pc); |
| 530 | 530 |
| 531 // Return the code target address of the patch debug break slot | 531 // Return the code target address of the patch debug break slot |
| 532 inline static Address break_address_from_return_address(Address pc); | 532 inline static Address break_address_from_return_address(Address pc); |
| 533 | 533 |
| 534 static void JumpLabelToJumpRegister(Address pc); | 534 static void JumpToJumpRegister(Address pc); |
| 535 | 535 |
| 536 static void QuietNaN(HeapObject* nan); | 536 static void QuietNaN(HeapObject* nan); |
| 537 | 537 |
| 538 // This sets the branch destination (which gets loaded at the call address). | 538 // This sets the branch destination (which gets loaded at the call address). |
| 539 // This is for calls and branches within generated code. The serializer | 539 // This is for calls and branches within generated code. The serializer |
| 540 // has already deserialized the lui/ori instructions etc. | 540 // has already deserialized the lui/ori instructions etc. |
| 541 inline static void deserialization_set_special_target_at( | 541 inline static void deserialization_set_special_target_at( |
| 542 Address instruction_payload, Code* code, Address target) { | 542 Address instruction_payload, Code* code, Address target) { |
| 543 set_target_address_at( | 543 set_target_address_at( |
| 544 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, | 544 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, |
| (...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1403 class EnsureSpace BASE_EMBEDDED { | 1403 class EnsureSpace BASE_EMBEDDED { |
| 1404 public: | 1404 public: |
| 1405 explicit EnsureSpace(Assembler* assembler) { | 1405 explicit EnsureSpace(Assembler* assembler) { |
| 1406 assembler->CheckBuffer(); | 1406 assembler->CheckBuffer(); |
| 1407 } | 1407 } |
| 1408 }; | 1408 }; |
| 1409 | 1409 |
| 1410 } } // namespace v8::internal | 1410 } } // namespace v8::internal |
| 1411 | 1411 |
| 1412 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1412 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |