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

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

Issue 8540005: Revert "Add a level of indirection to exception handler addresses." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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,
135 reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset)); 132 reinterpret_cast<Object**>(this->address() + kDeoptimizationDataOffset));
136 133
137 RelocIterator it(this, mode_mask); 134 RelocIterator it(this, mode_mask);
138 for (; !it.done(); it.next()) { 135 for (; !it.done(); it.next()) {
139 it.rinfo()->template Visit<StaticVisitor>(heap); 136 it.rinfo()->template Visit<StaticVisitor>(heap);
140 } 137 }
141 } 138 }
142 139
143 140
144 } } // namespace v8::internal 141 } } // namespace v8::internal
145 142
146 #endif // V8_OBJECTS_VISITING_INL_H_ 143 #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