| 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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 void CallHandlerInfo::CallHandlerInfoVerify() { | 882 void CallHandlerInfo::CallHandlerInfoVerify() { |
| 883 CHECK(IsCallHandlerInfo()); | 883 CHECK(IsCallHandlerInfo()); |
| 884 VerifyPointer(callback()); | 884 VerifyPointer(callback()); |
| 885 VerifyPointer(data()); | 885 VerifyPointer(data()); |
| 886 } | 886 } |
| 887 | 887 |
| 888 | 888 |
| 889 void TemplateInfo::TemplateInfoVerify() { | 889 void TemplateInfo::TemplateInfoVerify() { |
| 890 VerifyPointer(tag()); | 890 VerifyPointer(tag()); |
| 891 VerifyPointer(property_list()); | 891 VerifyPointer(property_list()); |
| 892 VerifyPointer(property_accessors()); |
| 892 } | 893 } |
| 893 | 894 |
| 894 | 895 |
| 895 void FunctionTemplateInfo::FunctionTemplateInfoVerify() { | 896 void FunctionTemplateInfo::FunctionTemplateInfoVerify() { |
| 896 CHECK(IsFunctionTemplateInfo()); | 897 CHECK(IsFunctionTemplateInfo()); |
| 897 TemplateInfoVerify(); | 898 TemplateInfoVerify(); |
| 898 VerifyPointer(serial_number()); | 899 VerifyPointer(serial_number()); |
| 899 VerifyPointer(call_code()); | 900 VerifyPointer(call_code()); |
| 900 VerifyPointer(property_accessors()); | |
| 901 VerifyPointer(prototype_template()); | 901 VerifyPointer(prototype_template()); |
| 902 VerifyPointer(parent_template()); | 902 VerifyPointer(parent_template()); |
| 903 VerifyPointer(named_property_handler()); | 903 VerifyPointer(named_property_handler()); |
| 904 VerifyPointer(indexed_property_handler()); | 904 VerifyPointer(indexed_property_handler()); |
| 905 VerifyPointer(instance_template()); | 905 VerifyPointer(instance_template()); |
| 906 VerifyPointer(signature()); | 906 VerifyPointer(signature()); |
| 907 VerifyPointer(access_check_info()); | 907 VerifyPointer(access_check_info()); |
| 908 } | 908 } |
| 909 | 909 |
| 910 | 910 |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 for (int i = 0; i < number_of_transitions(); ++i) { | 1169 for (int i = 0; i < number_of_transitions(); ++i) { |
| 1170 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1170 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
| 1171 } | 1171 } |
| 1172 return true; | 1172 return true; |
| 1173 } | 1173 } |
| 1174 | 1174 |
| 1175 | 1175 |
| 1176 #endif // DEBUG | 1176 #endif // DEBUG |
| 1177 | 1177 |
| 1178 } } // namespace v8::internal | 1178 } } // namespace v8::internal |
| OLD | NEW |