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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
878 } | 878 } |
879 | 879 |
880 | 880 |
881 void AccessorInfo::AccessorInfoVerify() { | 881 void AccessorInfo::AccessorInfoVerify() { |
882 VerifyPointer(name()); | 882 VerifyPointer(name()); |
883 VerifyPointer(flag()); | 883 VerifyPointer(flag()); |
884 VerifyPointer(expected_receiver_type()); | 884 VerifyPointer(expected_receiver_type()); |
885 } | 885 } |
886 | 886 |
887 | 887 |
| 888 void SloppyBlockWithEvalContextExtension:: |
| 889 SloppyBlockWithEvalContextExtensionVerify() { |
| 890 CHECK(IsSloppyBlockWithEvalContextExtension()); |
| 891 VerifyObjectField(kScopeInfoOffset); |
| 892 VerifyObjectField(kExtensionOffset); |
| 893 } |
| 894 |
| 895 |
888 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { | 896 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { |
889 CHECK(IsExecutableAccessorInfo()); | 897 CHECK(IsExecutableAccessorInfo()); |
890 AccessorInfoVerify(); | 898 AccessorInfoVerify(); |
891 VerifyPointer(getter()); | 899 VerifyPointer(getter()); |
892 VerifyPointer(setter()); | 900 VerifyPointer(setter()); |
893 VerifyPointer(data()); | 901 VerifyPointer(data()); |
894 } | 902 } |
895 | 903 |
896 | 904 |
897 void AccessorPair::AccessorPairVerify() { | 905 void AccessorPair::AccessorPairVerify() { |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1304 | 1312 |
1305 // Both are done at the same time. | 1313 // Both are done at the same time. |
1306 CHECK_EQ(new_it.done(), old_it.done()); | 1314 CHECK_EQ(new_it.done(), old_it.done()); |
1307 } | 1315 } |
1308 | 1316 |
1309 | 1317 |
1310 #endif // DEBUG | 1318 #endif // DEBUG |
1311 | 1319 |
1312 } // namespace internal | 1320 } // namespace internal |
1313 } // namespace v8 | 1321 } // namespace v8 |
OLD | NEW |