OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |