OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
849 CHECK(IsDeclaredAccessorInfo()); | 849 CHECK(IsDeclaredAccessorInfo()); |
850 AccessorInfoVerify(); | 850 AccessorInfoVerify(); |
851 VerifyPointer(descriptor()); | 851 VerifyPointer(descriptor()); |
852 } | 852 } |
853 | 853 |
854 | 854 |
855 void AccessorPair::AccessorPairVerify() { | 855 void AccessorPair::AccessorPairVerify() { |
856 CHECK(IsAccessorPair()); | 856 CHECK(IsAccessorPair()); |
857 VerifyPointer(getter()); | 857 VerifyPointer(getter()); |
858 VerifyPointer(setter()); | 858 VerifyPointer(setter()); |
| 859 VerifySmiField(kFlagOffset); |
859 } | 860 } |
860 | 861 |
861 | 862 |
862 void AccessCheckInfo::AccessCheckInfoVerify() { | 863 void AccessCheckInfo::AccessCheckInfoVerify() { |
863 CHECK(IsAccessCheckInfo()); | 864 CHECK(IsAccessCheckInfo()); |
864 VerifyPointer(named_callback()); | 865 VerifyPointer(named_callback()); |
865 VerifyPointer(indexed_callback()); | 866 VerifyPointer(indexed_callback()); |
866 VerifyPointer(data()); | 867 VerifyPointer(data()); |
867 } | 868 } |
868 | 869 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1168 for (int i = 0; i < number_of_transitions(); ++i) { | 1169 for (int i = 0; i < number_of_transitions(); ++i) { |
1169 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1170 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
1170 } | 1171 } |
1171 return true; | 1172 return true; |
1172 } | 1173 } |
1173 | 1174 |
1174 | 1175 |
1175 #endif // DEBUG | 1176 #endif // DEBUG |
1176 | 1177 |
1177 } } // namespace v8::internal | 1178 } } // namespace v8::internal |
OLD | NEW |