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

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

Issue 1435273002: Fix name shown by devtools for subclasses. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/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/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/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 870
871 871
872 void PrototypeInfo::PrototypeInfoVerify() { 872 void PrototypeInfo::PrototypeInfoVerify() {
873 CHECK(IsPrototypeInfo()); 873 CHECK(IsPrototypeInfo());
874 if (prototype_users()->IsWeakFixedArray()) { 874 if (prototype_users()->IsWeakFixedArray()) {
875 WeakFixedArray::cast(prototype_users())->FixedArrayVerify(); 875 WeakFixedArray::cast(prototype_users())->FixedArrayVerify();
876 } else { 876 } else {
877 CHECK(prototype_users()->IsSmi()); 877 CHECK(prototype_users()->IsSmi());
878 } 878 }
879 CHECK(validity_cell()->IsCell() || validity_cell()->IsSmi()); 879 CHECK(validity_cell()->IsCell() || validity_cell()->IsSmi());
880 VerifyPointer(constructor_name());
881 } 880 }
882 881
883 882
884 void AccessorInfo::AccessorInfoVerify() { 883 void AccessorInfo::AccessorInfoVerify() {
885 VerifyPointer(name()); 884 VerifyPointer(name());
886 VerifyPointer(expected_receiver_type()); 885 VerifyPointer(expected_receiver_type());
887 } 886 }
888 887
889 888
890 void SloppyBlockWithEvalContextExtension:: 889 void SloppyBlockWithEvalContextExtension::
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 1308
1310 // Both are done at the same time. 1309 // Both are done at the same time.
1311 CHECK_EQ(new_it.done(), old_it.done()); 1310 CHECK_EQ(new_it.done(), old_it.done());
1312 } 1311 }
1313 1312
1314 1313
1315 #endif // DEBUG 1314 #endif // DEBUG
1316 1315
1317 } // namespace internal 1316 } // namespace internal
1318 } // namespace v8 1317 } // namespace v8
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