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

Side by Side Diff: src/objects-debug.cc

Issue 443933002: Move objects-visiting into heap. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('k') | src/objects-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h"
9 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
10 #include "src/macro-assembler.h" 11 #include "src/macro-assembler.h"
11 #include "src/objects-visiting.h"
12 #include "src/ostreams.h" 12 #include "src/ostreams.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 16
17 #ifdef VERIFY_HEAP 17 #ifdef VERIFY_HEAP
18 18
19 void Object::ObjectVerify() { 19 void Object::ObjectVerify() {
20 if (IsSmi()) { 20 if (IsSmi()) {
21 Smi::cast(this)->SmiVerify(); 21 Smi::cast(this)->SmiVerify();
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 for (int i = 0; i < number_of_transitions(); ++i) { 1194 for (int i = 0; i < number_of_transitions(); ++i) {
1195 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; 1195 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false;
1196 } 1196 }
1197 return true; 1197 return true;
1198 } 1198 }
1199 1199
1200 1200
1201 #endif // DEBUG 1201 #endif // DEBUG
1202 1202
1203 } } // namespace v8::internal 1203 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698