| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/disassembler.h" | 7 #include "src/disassembler.h" |
| 8 #include "src/disasm.h" | 8 #include "src/disasm.h" |
| 9 #include "src/jsregexp.h" | 9 #include "src/jsregexp.h" |
| 10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 871 CHECK(IsDeclaredAccessorInfo()); | 871 CHECK(IsDeclaredAccessorInfo()); |
| 872 AccessorInfoVerify(); | 872 AccessorInfoVerify(); |
| 873 VerifyPointer(descriptor()); | 873 VerifyPointer(descriptor()); |
| 874 } | 874 } |
| 875 | 875 |
| 876 | 876 |
| 877 void AccessorPair::AccessorPairVerify() { | 877 void AccessorPair::AccessorPairVerify() { |
| 878 CHECK(IsAccessorPair()); | 878 CHECK(IsAccessorPair()); |
| 879 VerifyPointer(getter()); | 879 VerifyPointer(getter()); |
| 880 VerifyPointer(setter()); | 880 VerifyPointer(setter()); |
| 881 VerifySmiField(kAccessFlagsOffset); | |
| 882 } | 881 } |
| 883 | 882 |
| 884 | 883 |
| 885 void AccessCheckInfo::AccessCheckInfoVerify() { | 884 void AccessCheckInfo::AccessCheckInfoVerify() { |
| 886 CHECK(IsAccessCheckInfo()); | 885 CHECK(IsAccessCheckInfo()); |
| 887 VerifyPointer(named_callback()); | 886 VerifyPointer(named_callback()); |
| 888 VerifyPointer(indexed_callback()); | 887 VerifyPointer(indexed_callback()); |
| 889 VerifyPointer(data()); | 888 VerifyPointer(data()); |
| 890 } | 889 } |
| 891 | 890 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1186 for (int i = 0; i < number_of_transitions(); ++i) { | 1185 for (int i = 0; i < number_of_transitions(); ++i) { |
| 1187 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1186 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
| 1188 } | 1187 } |
| 1189 return true; | 1188 return true; |
| 1190 } | 1189 } |
| 1191 | 1190 |
| 1192 | 1191 |
| 1193 #endif // DEBUG | 1192 #endif // DEBUG |
| 1194 | 1193 |
| 1195 } } // namespace v8::internal | 1194 } } // namespace v8::internal |
| OLD | NEW |