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

Side by Side Diff: src/spaces.cc

Issue 159264: Change a few style issues (dead code, unitialized members) flagged by... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « src/rewriter.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Verify that the cached last page in the space is actually the 126 // Verify that the cached last page in the space is actually the
127 // last page. 127 // last page.
128 for (Page* p = space->first_page_; p->is_valid(); p = p->next_page()) { 128 for (Page* p = space->first_page_; p->is_valid(); p = p->next_page()) {
129 if (!p->next_page()->is_valid()) { 129 if (!p->next_page()->is_valid()) {
130 ASSERT(space->last_page_ == p); 130 ASSERT(space->last_page_ == p);
131 } 131 }
132 } 132 }
133 #endif 133 #endif
134 stop_page_ = space->last_page_; 134 stop_page_ = space->last_page_;
135 break; 135 break;
136 default:
iposva 2009/07/23 18:14:57 What was the complaint by Coverity here? It is rea
137 UNREACHABLE();
138 } 136 }
139 } 137 }
140 138
141 139
142 // ----------------------------------------------------------------------------- 140 // -----------------------------------------------------------------------------
143 // Page 141 // Page
144 142
145 #ifdef DEBUG 143 #ifdef DEBUG
146 Page::RSetState Page::rset_state_ = Page::IN_USE; 144 Page::RSetState Page::rset_state_ = Page::IN_USE;
147 #endif 145 #endif
(...skipping 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 reinterpret_cast<Object**>(object->address() 2593 reinterpret_cast<Object**>(object->address()
2596 + Page::kObjectAreaSize), 2594 + Page::kObjectAreaSize),
2597 allocation_top); 2595 allocation_top);
2598 PrintF("\n"); 2596 PrintF("\n");
2599 } 2597 }
2600 } 2598 }
2601 } 2599 }
2602 #endif // DEBUG 2600 #endif // DEBUG
2603 2601
2604 } } // namespace v8::internal 2602 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/rewriter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698