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

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

Issue 1942233002: [API] remove (deprecated) hidden properties. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 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/objects.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('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/objects.h" 5 #include "src/objects.h"
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/disassembler.h" 9 #include "src/disassembler.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 void HeapObject::VerifyHeapPointer(Object* p) { 203 void HeapObject::VerifyHeapPointer(Object* p) {
204 CHECK(p->IsHeapObject()); 204 CHECK(p->IsHeapObject());
205 HeapObject* ho = HeapObject::cast(p); 205 HeapObject* ho = HeapObject::cast(p);
206 CHECK(ho->GetHeap()->Contains(ho)); 206 CHECK(ho->GetHeap()->Contains(ho));
207 } 207 }
208 208
209 209
210 void Symbol::SymbolVerify() { 210 void Symbol::SymbolVerify() {
211 CHECK(IsSymbol()); 211 CHECK(IsSymbol());
212 CHECK(HasHashCode()); 212 CHECK(HasHashCode());
213 CHECK(GetHeap()->hidden_properties_symbol() == this || Hash() > 0u); 213 CHECK(Hash() > 0u);
214 CHECK(name()->IsUndefined() || name()->IsString()); 214 CHECK(name()->IsUndefined() || name()->IsString());
215 } 215 }
216 216
217 217
218 void HeapNumber::HeapNumberVerify() { 218 void HeapNumber::HeapNumberVerify() {
219 CHECK(IsHeapNumber() || IsMutableHeapNumber()); 219 CHECK(IsHeapNumber() || IsMutableHeapNumber());
220 } 220 }
221 221
222 222
223 void Simd128Value::Simd128ValueVerify() { CHECK(IsSimd128Value()); } 223 void Simd128Value::Simd128ValueVerify() { CHECK(IsSimd128Value()); }
(...skipping 1092 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 1316
1317 // Both are done at the same time. 1317 // Both are done at the same time.
1318 CHECK_EQ(new_it.done(), old_it.done()); 1318 CHECK_EQ(new_it.done(), old_it.done());
1319 } 1319 }
1320 1320
1321 1321
1322 #endif // DEBUG 1322 #endif // DEBUG
1323 1323
1324 } // namespace internal 1324 } // namespace internal
1325 } // namespace v8 1325 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/profiler/heap-snapshot-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698