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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 // Puts a labels target address at the given position. | 563 // Puts a labels target address at the given position. |
564 // The high 8 bits are set to zero. | 564 // The high 8 bits are set to zero. |
565 void label_at_put(Label* L, int at_offset); | 565 void label_at_put(Label* L, int at_offset); |
566 | 566 |
567 // Read/Modify the code target address in the branch/call instruction at pc. | 567 // Read/Modify the code target address in the branch/call instruction at pc. |
568 static Address target_address_at(Address pc); | 568 static Address target_address_at(Address pc); |
569 static void set_target_address_at(Address pc, Address target); | 569 static void set_target_address_at(Address pc, Address target); |
570 | 570 |
571 static void JumpLabelToJumpRegister(Address pc); | 571 static void JumpLabelToJumpRegister(Address pc); |
572 | 572 |
| 573 static void QuietNaN(HeapObject* nan); |
| 574 |
573 // This sets the branch destination (which gets loaded at the call address). | 575 // This sets the branch destination (which gets loaded at the call address). |
574 // This is for calls and branches within generated code. The serializer | 576 // This is for calls and branches within generated code. The serializer |
575 // has already deserialized the lui/ori instructions etc. | 577 // has already deserialized the lui/ori instructions etc. |
576 inline static void deserialization_set_special_target_at( | 578 inline static void deserialization_set_special_target_at( |
577 Address instruction_payload, Address target) { | 579 Address instruction_payload, Address target) { |
578 set_target_address_at( | 580 set_target_address_at( |
579 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, | 581 instruction_payload - kInstructionsFor32BitConstant * kInstrSize, |
580 target); | 582 target); |
581 } | 583 } |
582 | 584 |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 class EnsureSpace BASE_EMBEDDED { | 1279 class EnsureSpace BASE_EMBEDDED { |
1278 public: | 1280 public: |
1279 explicit EnsureSpace(Assembler* assembler) { | 1281 explicit EnsureSpace(Assembler* assembler) { |
1280 assembler->CheckBuffer(); | 1282 assembler->CheckBuffer(); |
1281 } | 1283 } |
1282 }; | 1284 }; |
1283 | 1285 |
1284 } } // namespace v8::internal | 1286 } } // namespace v8::internal |
1285 | 1287 |
1286 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1288 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |