| 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/disasm.h" | 7 #include "src/disasm.h" |
| 8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
| 9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
| 10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
| (...skipping 884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 895 | 895 |
| 896 | 896 |
| 897 void InterceptorInfo::InterceptorInfoVerify() { | 897 void InterceptorInfo::InterceptorInfoVerify() { |
| 898 CHECK(IsInterceptorInfo()); | 898 CHECK(IsInterceptorInfo()); |
| 899 VerifyPointer(getter()); | 899 VerifyPointer(getter()); |
| 900 VerifyPointer(setter()); | 900 VerifyPointer(setter()); |
| 901 VerifyPointer(query()); | 901 VerifyPointer(query()); |
| 902 VerifyPointer(deleter()); | 902 VerifyPointer(deleter()); |
| 903 VerifyPointer(enumerator()); | 903 VerifyPointer(enumerator()); |
| 904 VerifyPointer(data()); | 904 VerifyPointer(data()); |
| 905 VerifySmiField(kFlagsOffset); |
| 905 } | 906 } |
| 906 | 907 |
| 907 | 908 |
| 908 void CallHandlerInfo::CallHandlerInfoVerify() { | 909 void CallHandlerInfo::CallHandlerInfoVerify() { |
| 909 CHECK(IsCallHandlerInfo()); | 910 CHECK(IsCallHandlerInfo()); |
| 910 VerifyPointer(callback()); | 911 VerifyPointer(callback()); |
| 911 VerifyPointer(data()); | 912 VerifyPointer(data()); |
| 912 } | 913 } |
| 913 | 914 |
| 914 | 915 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1194 for (int i = 0; i < number_of_transitions(); ++i) { | 1195 for (int i = 0; i < number_of_transitions(); ++i) { |
| 1195 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1196 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
| 1196 } | 1197 } |
| 1197 return true; | 1198 return true; |
| 1198 } | 1199 } |
| 1199 | 1200 |
| 1200 | 1201 |
| 1201 #endif // DEBUG | 1202 #endif // DEBUG |
| 1202 | 1203 |
| 1203 } } // namespace v8::internal | 1204 } } // namespace v8::internal |
| OLD | NEW |