| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 fp, | 166 fp, |
| 167 ra | 167 ra |
| 168 }; | 168 }; |
| 169 return kRegisters[num]; | 169 return kRegisters[num]; |
| 170 } | 170 } |
| 171 | 171 |
| 172 | 172 |
| 173 // ----------------------------------------------------------------------------- | 173 // ----------------------------------------------------------------------------- |
| 174 // Implementation of RelocInfo. | 174 // Implementation of RelocInfo. |
| 175 | 175 |
| 176 const int RelocInfo::kApplyMask = RelocInfo::kCodeTargetMask | | 176 const int RelocInfo::kInternalReferenceMask = |
| 177 1 << RelocInfo::INTERNAL_REFERENCE | | 177 1 << RelocInfo::INTERNAL_REFERENCE | |
| 178 1 << RelocInfo::INTERNAL_REFERENCE_ENCODED; | 178 1 << RelocInfo::INTERNAL_REFERENCE_ENCODED; |
| 179 const int RelocInfo::kApplyMask = |
| 180 RelocInfo::kCodeTargetMask | RelocInfo::kInternalReferenceMask; |
| 179 | 181 |
| 180 | 182 |
| 181 bool RelocInfo::IsCodedSpecially() { | 183 bool RelocInfo::IsCodedSpecially() { |
| 182 // The deserializer needs to know whether a pointer is specially coded. Being | 184 // The deserializer needs to know whether a pointer is specially coded. Being |
| 183 // specially coded on MIPS means that it is a lui/ori instruction, and that is | 185 // specially coded on MIPS means that it is a lui/ori instruction, and that is |
| 184 // always the case inside code objects. | 186 // always the case inside code objects. |
| 185 return true; | 187 return true; |
| 186 } | 188 } |
| 187 | 189 |
| 188 | 190 |
| (...skipping 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2940 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2942 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
| 2941 // No out-of-line constant pool support. | 2943 // No out-of-line constant pool support. |
| 2942 DCHECK(!FLAG_enable_ool_constant_pool); | 2944 DCHECK(!FLAG_enable_ool_constant_pool); |
| 2943 return; | 2945 return; |
| 2944 } | 2946 } |
| 2945 | 2947 |
| 2946 | 2948 |
| 2947 } } // namespace v8::internal | 2949 } } // namespace v8::internal |
| 2948 | 2950 |
| 2949 #endif // V8_TARGET_ARCH_MIPS64 | 2951 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |