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 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 | 920 |
921 | 921 |
922 void InterceptorInfo::InterceptorInfoVerify() { | 922 void InterceptorInfo::InterceptorInfoVerify() { |
923 CHECK(IsInterceptorInfo()); | 923 CHECK(IsInterceptorInfo()); |
924 VerifyPointer(getter()); | 924 VerifyPointer(getter()); |
925 VerifyPointer(setter()); | 925 VerifyPointer(setter()); |
926 VerifyPointer(query()); | 926 VerifyPointer(query()); |
927 VerifyPointer(deleter()); | 927 VerifyPointer(deleter()); |
928 VerifyPointer(enumerator()); | 928 VerifyPointer(enumerator()); |
929 VerifyPointer(data()); | 929 VerifyPointer(data()); |
| 930 VerifySmiField(kFlagsOffset); |
930 } | 931 } |
931 | 932 |
932 | 933 |
933 void CallHandlerInfo::CallHandlerInfoVerify() { | 934 void CallHandlerInfo::CallHandlerInfoVerify() { |
934 CHECK(IsCallHandlerInfo()); | 935 CHECK(IsCallHandlerInfo()); |
935 VerifyPointer(callback()); | 936 VerifyPointer(callback()); |
936 VerifyPointer(data()); | 937 VerifyPointer(data()); |
937 } | 938 } |
938 | 939 |
939 | 940 |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 while (map != heap->roots_array_start()[i++]) { | 1259 while (map != heap->roots_array_start()[i++]) { |
1259 CHECK_LT(i, Heap::kStrongRootListLength); | 1260 CHECK_LT(i, Heap::kStrongRootListLength); |
1260 } | 1261 } |
1261 } | 1262 } |
1262 } | 1263 } |
1263 | 1264 |
1264 | 1265 |
1265 #endif // DEBUG | 1266 #endif // DEBUG |
1266 | 1267 |
1267 } } // namespace v8::internal | 1268 } } // namespace v8::internal |
OLD | NEW |