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

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

Issue 1236023007: X87: Debugger: use debug break slots to break at function exit. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | « src/x87/assembler-x87.h ('k') | src/x87/assembler-x87-inl.h » ('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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 data_ = NextField::encode(next) | TypeField::encode(type); 76 data_ = NextField::encode(next) | TypeField::encode(type);
77 } 77 }
78 78
79 79
80 // ----------------------------------------------------------------------------- 80 // -----------------------------------------------------------------------------
81 // Implementation of RelocInfo 81 // Implementation of RelocInfo
82 82
83 83
84 const int RelocInfo::kApplyMask = 84 const int RelocInfo::kApplyMask =
85 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY | 85 RelocInfo::kCodeTargetMask | 1 << RelocInfo::RUNTIME_ENTRY |
86 1 << RelocInfo::JS_RETURN | 1 << RelocInfo::INTERNAL_REFERENCE | 86 1 << RelocInfo::INTERNAL_REFERENCE | 1 << RelocInfo::CODE_AGE_SEQUENCE |
87 1 << RelocInfo::CODE_AGE_SEQUENCE | RelocInfo::kDebugBreakSlotMask; 87 RelocInfo::kDebugBreakSlotMask;
88 88
89 89
90 bool RelocInfo::IsCodedSpecially() { 90 bool RelocInfo::IsCodedSpecially() {
91 // The deserializer needs to know whether a pointer is specially coded. Being 91 // The deserializer needs to know whether a pointer is specially coded. Being
92 // specially coded on IA32 means that it is a relative address, as used by 92 // specially coded on IA32 means that it is a relative address, as used by
93 // branch instructions. These are also the ones that need changing when a 93 // branch instructions. These are also the ones that need changing when a
94 // code object moves. 94 // code object moves.
95 return (1 << rmode_) & kApplyMask; 95 return (1 << rmode_) & kApplyMask;
96 } 96 }
97 97
(...skipping 2030 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 fflush(coverage_log); 2128 fflush(coverage_log);
2129 } 2129 }
2130 } 2130 }
2131 2131
2132 #endif 2132 #endif
2133 2133
2134 } // namespace internal 2134 } // namespace internal
2135 } // namespace v8 2135 } // namespace v8
2136 2136
2137 #endif // V8_TARGET_ARCH_X87 2137 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/assembler-x87.h ('k') | src/x87/assembler-x87-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698