OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 3176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3187 1 << RelocInfo::CODE_AGE_SEQUENCE; | 3187 1 << RelocInfo::CODE_AGE_SEQUENCE; |
3188 | 3188 |
3189 | 3189 |
3190 bool RelocInfo::IsCodedSpecially() { | 3190 bool RelocInfo::IsCodedSpecially() { |
3191 // The deserializer needs to know whether a pointer is specially coded. Being | 3191 // The deserializer needs to know whether a pointer is specially coded. Being |
3192 // specially coded on x64 means that it is a relative 32 bit address, as used | 3192 // specially coded on x64 means that it is a relative 32 bit address, as used |
3193 // by branch instructions. | 3193 // by branch instructions. |
3194 return (1 << rmode_) & kApplyMask; | 3194 return (1 << rmode_) & kApplyMask; |
3195 } | 3195 } |
3196 | 3196 |
| 3197 |
| 3198 bool RelocInfo::IsInConstantPool() { |
| 3199 return false; |
| 3200 } |
| 3201 |
| 3202 |
3197 } } // namespace v8::internal | 3203 } } // namespace v8::internal |
3198 | 3204 |
3199 #endif // V8_TARGET_ARCH_X64 | 3205 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |