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

Side by Side Diff: src/objects-visiting-inl.h

Issue 8462010: Add a level of indirection to exception handler addresses. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporate review changes. Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) | 122 RelocInfo::ModeMask(RelocInfo::EXTERNAL_REFERENCE) |
123 RelocInfo::ModeMask(RelocInfo::JS_RETURN) | 123 RelocInfo::ModeMask(RelocInfo::JS_RETURN) |
124 RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT) | 124 RelocInfo::ModeMask(RelocInfo::DEBUG_BREAK_SLOT) |
125 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY); 125 RelocInfo::ModeMask(RelocInfo::RUNTIME_ENTRY);
126 126
127 StaticVisitor::VisitPointer( 127 StaticVisitor::VisitPointer(
128 heap, 128 heap,
129 reinterpret_cast<Object**>(this->address() + kRelocationInfoOffset)); 129 reinterpret_cast<Object**>(this->address() + kRelocationInfoOffset));
130 StaticVisitor::VisitPointer( 130 StaticVisitor::VisitPointer(
131 heap, 131 heap,
132 reinterpret_cast<Object**>(this->address() + kHandlerTableOffset));
133 StaticVisitor::VisitPointer(
134 heap,
132 reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset)); 135 reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset));
133 136
134 RelocIterator it(this, mode_mask); 137 RelocIterator it(this, mode_mask);
135 for (; !it.done(); it.next()) { 138 for (; !it.done(); it.next()) {
136 it.rinfo()->template Visit<StaticVisitor>(heap); 139 it.rinfo()->template Visit<StaticVisitor>(heap);
137 } 140 }
138 } 141 }
139 142
140 143
141 } } // namespace v8::internal 144 } } // namespace v8::internal
142 145
143 #endif // V8_OBJECTS_VISITING_INL_H_ 146 #endif // V8_OBJECTS_VISITING_INL_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698