| 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 | 5 // modification, are permitted provided that the following conditions | 
| 6 // are met: | 6 // are 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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 788   INLINE(static Address return_address_from_call_start(Address pc)); | 788   INLINE(static Address return_address_from_call_start(Address pc)); | 
| 789 | 789 | 
| 790   // Return the code target address of the patch debug break slot | 790   // Return the code target address of the patch debug break slot | 
| 791   INLINE(static Address break_address_from_return_address(Address pc)); | 791   INLINE(static Address break_address_from_return_address(Address pc)); | 
| 792 | 792 | 
| 793   // This sets the branch destination (which is in the constant pool on ARM). | 793   // This sets the branch destination (which is in the constant pool on ARM). | 
| 794   // This is for calls and branches within generated code. | 794   // This is for calls and branches within generated code. | 
| 795   inline static void deserialization_set_special_target_at( | 795   inline static void deserialization_set_special_target_at( | 
| 796       Address constant_pool_entry, Code* code, Address target); | 796       Address constant_pool_entry, Code* code, Address target); | 
| 797 | 797 | 
|  | 798   // This sets the internal reference at the pc. | 
|  | 799   inline static void deserialization_set_target_internal_reference_at( | 
|  | 800       Address pc, Address target); | 
|  | 801 | 
| 798   // Here we are patching the address in the constant pool, not the actual call | 802   // Here we are patching the address in the constant pool, not the actual call | 
| 799   // instruction.  The address in the constant pool is the same size as a | 803   // instruction.  The address in the constant pool is the same size as a | 
| 800   // pointer. | 804   // pointer. | 
| 801   static const int kSpecialTargetSize = kPointerSize; | 805   static const int kSpecialTargetSize = kPointerSize; | 
| 802 | 806 | 
| 803   // Size of an instruction. | 807   // Size of an instruction. | 
| 804   static const int kInstrSize = sizeof(Instr); | 808   static const int kInstrSize = sizeof(Instr); | 
| 805 | 809 | 
| 806   // Distance between start of patched return sequence and the emitted address | 810   // Distance between start of patched return sequence and the emitted address | 
| 807   // to jump to. | 811   // to jump to. | 
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1684  public: | 1688  public: | 
| 1685   explicit EnsureSpace(Assembler* assembler) { | 1689   explicit EnsureSpace(Assembler* assembler) { | 
| 1686     assembler->CheckBuffer(); | 1690     assembler->CheckBuffer(); | 
| 1687   } | 1691   } | 
| 1688 }; | 1692 }; | 
| 1689 | 1693 | 
| 1690 | 1694 | 
| 1691 } }  // namespace v8::internal | 1695 } }  // namespace v8::internal | 
| 1692 | 1696 | 
| 1693 #endif  // V8_ARM_ASSEMBLER_ARM_H_ | 1697 #endif  // V8_ARM_ASSEMBLER_ARM_H_ | 
| OLD | NEW | 
|---|