Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/ia32/assembler-ia32.cc

Issue 3058048: Add RelocInfo::DEBUG_BREAK_SLOT to RelocInfo::kApplyMask on ia32/x64. (Closed)
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 data_ = NextField::encode(next) | TypeField::encode(type); 151 data_ = NextField::encode(next) | TypeField::encode(type);
152 } 152 }
153 153
154 154
155 // ----------------------------------------------------------------------------- 155 // -----------------------------------------------------------------------------
156 // Implementation of RelocInfo 156 // Implementation of RelocInfo
157 157
158 158
159 const int RelocInfo::kApplyMask = 159 const int RelocInfo::kApplyMask =
160 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY | 160 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
161 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE; 161 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE |
162 1 << RelocInfo::DEBUG_BREAK_SLOT;
162 163
163 164
164 bool RelocInfo::IsCodedSpecially() { 165 bool RelocInfo::IsCodedSpecially() {
165 // The deserializer needs to know whether a pointer is specially coded. Being 166 // The deserializer needs to know whether a pointer is specially coded. Being
166 // specially coded on IA32 means that it is a relative address, as used by 167 // specially coded on IA32 means that it is a relative address, as used by
167 // branch instructions. These are also the ones that need changing when a 168 // branch instructions. These are also the ones that need changing when a
168 // code object moves. 169 // code object moves.
169 return (1 << rmode_) & kApplyMask; 170 return (1 << rmode_) & kApplyMask;
170 } 171 }
171 172
(...skipping 2419 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 fprintf(coverage_log, "%s\n", file_line); 2592 fprintf(coverage_log, "%s\n", file_line);
2592 fflush(coverage_log); 2593 fflush(coverage_log);
2593 } 2594 }
2594 } 2595 }
2595 2596
2596 #endif 2597 #endif
2597 2598
2598 } } // namespace v8::internal 2599 } } // namespace v8::internal
2599 2600
2600 #endif // V8_TARGET_ARCH_IA32 2601 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698