| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 return pc_store_offset; | 132 return pc_store_offset; |
| 133 } | 133 } |
| 134 | 134 |
| 135 | 135 |
| 136 // ----------------------------------------------------------------------------- | 136 // ----------------------------------------------------------------------------- |
| 137 // Implementation of RelocInfo | 137 // Implementation of RelocInfo |
| 138 | 138 |
| 139 const int RelocInfo::kApplyMask = 0; | 139 const int RelocInfo::kApplyMask = 0; |
| 140 | 140 |
| 141 | 141 |
| 142 void RelocInfo::patch_code(byte* instructions, int instruction_count) { | 142 void RelocInfo::PatchCode(byte* instructions, int instruction_count) { |
| 143 // Patch the code at the current address with the supplied instructions. | 143 // Patch the code at the current address with the supplied instructions. |
| 144 UNIMPLEMENTED(); | 144 UNIMPLEMENTED(); |
| 145 } | 145 } |
| 146 | 146 |
| 147 | 147 |
| 148 // Patch the code at the current PC with a call to the target address. | 148 // Patch the code at the current PC with a call to the target address. |
| 149 // Additional guard int3 instructions can be added if required. | 149 // Additional guard instructions can be added if required. |
| 150 void RelocInfo::patch_code_with_call(Address target, int guard_bytes) { | 150 void RelocInfo::PatchCodeWithCall(Address target, int guard_bytes) { |
| 151 // Patch the code at the current address with a call to the target. | 151 // Patch the code at the current address with a call to the target. |
| 152 UNIMPLEMENTED(); | 152 UNIMPLEMENTED(); |
| 153 } | 153 } |
| 154 | 154 |
| 155 | 155 |
| 156 // ----------------------------------------------------------------------------- | 156 // ----------------------------------------------------------------------------- |
| 157 // Implementation of Operand and MemOperand | 157 // Implementation of Operand and MemOperand |
| 158 // See assembler-arm-inl.h for inlined constructors | 158 // See assembler-arm-inl.h for inlined constructors |
| 159 | 159 |
| 160 Operand::Operand(Handle<Object> handle) { | 160 Operand::Operand(Handle<Object> handle) { |
| (...skipping 1350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1511 bind(&after_pool); | 1511 bind(&after_pool); |
| 1512 } | 1512 } |
| 1513 | 1513 |
| 1514 // Since a constant pool was just emitted, move the check offset forward by | 1514 // Since a constant pool was just emitted, move the check offset forward by |
| 1515 // the standard interval. | 1515 // the standard interval. |
| 1516 next_buffer_check_ = pc_offset() + kCheckConstInterval; | 1516 next_buffer_check_ = pc_offset() + kCheckConstInterval; |
| 1517 } | 1517 } |
| 1518 | 1518 |
| 1519 | 1519 |
| 1520 } } // namespace v8::internal | 1520 } } // namespace v8::internal |
| OLD | NEW |