OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 } | 975 } |
976 | 976 |
977 | 977 |
978 void AccessorInfo::AccessorInfoVerify() { | 978 void AccessorInfo::AccessorInfoVerify() { |
979 CHECK(IsAccessorInfo()); | 979 CHECK(IsAccessorInfo()); |
980 VerifyPointer(getter()); | 980 VerifyPointer(getter()); |
981 VerifyPointer(setter()); | 981 VerifyPointer(setter()); |
982 VerifyPointer(name()); | 982 VerifyPointer(name()); |
983 VerifyPointer(data()); | 983 VerifyPointer(data()); |
984 VerifyPointer(flag()); | 984 VerifyPointer(flag()); |
985 VerifyPointer(load_stub_cache()); | |
986 } | 985 } |
987 | 986 |
988 void AccessorInfo::AccessorInfoPrint() { | 987 void AccessorInfo::AccessorInfoPrint() { |
989 HeapObject::PrintHeader("AccessorInfo"); | 988 HeapObject::PrintHeader("AccessorInfo"); |
990 PrintF("\n - getter: "); | 989 PrintF("\n - getter: "); |
991 getter()->ShortPrint(); | 990 getter()->ShortPrint(); |
992 PrintF("\n - setter: "); | 991 PrintF("\n - setter: "); |
993 setter()->ShortPrint(); | 992 setter()->ShortPrint(); |
994 PrintF("\n - name: "); | 993 PrintF("\n - name: "); |
995 name()->ShortPrint(); | 994 name()->ShortPrint(); |
996 PrintF("\n - data: "); | 995 PrintF("\n - data: "); |
997 data()->ShortPrint(); | 996 data()->ShortPrint(); |
998 PrintF("\n - flag: "); | 997 PrintF("\n - flag: "); |
999 flag()->ShortPrint(); | 998 flag()->ShortPrint(); |
1000 PrintF("\n - load_stub_cache: "); | |
1001 load_stub_cache()->ShortPrint(); | |
1002 } | 999 } |
1003 | 1000 |
1004 void AccessCheckInfo::AccessCheckInfoVerify() { | 1001 void AccessCheckInfo::AccessCheckInfoVerify() { |
1005 CHECK(IsAccessCheckInfo()); | 1002 CHECK(IsAccessCheckInfo()); |
1006 VerifyPointer(named_callback()); | 1003 VerifyPointer(named_callback()); |
1007 VerifyPointer(indexed_callback()); | 1004 VerifyPointer(indexed_callback()); |
1008 VerifyPointer(data()); | 1005 VerifyPointer(data()); |
1009 } | 1006 } |
1010 | 1007 |
1011 void AccessCheckInfo::AccessCheckInfoPrint() { | 1008 void AccessCheckInfo::AccessCheckInfoPrint() { |
(...skipping 29 matching lines...) Expand all Loading... |
1041 PrintF("\n - enumerator: "); | 1038 PrintF("\n - enumerator: "); |
1042 enumerator()->ShortPrint(); | 1039 enumerator()->ShortPrint(); |
1043 PrintF("\n - data: "); | 1040 PrintF("\n - data: "); |
1044 data()->ShortPrint(); | 1041 data()->ShortPrint(); |
1045 } | 1042 } |
1046 | 1043 |
1047 void CallHandlerInfo::CallHandlerInfoVerify() { | 1044 void CallHandlerInfo::CallHandlerInfoVerify() { |
1048 CHECK(IsCallHandlerInfo()); | 1045 CHECK(IsCallHandlerInfo()); |
1049 VerifyPointer(callback()); | 1046 VerifyPointer(callback()); |
1050 VerifyPointer(data()); | 1047 VerifyPointer(data()); |
1051 VerifyPointer(call_stub_cache()); | |
1052 } | 1048 } |
1053 | 1049 |
1054 void CallHandlerInfo::CallHandlerInfoPrint() { | 1050 void CallHandlerInfo::CallHandlerInfoPrint() { |
1055 HeapObject::PrintHeader("CallHandlerInfo"); | 1051 HeapObject::PrintHeader("CallHandlerInfo"); |
1056 PrintF("\n - callback: "); | 1052 PrintF("\n - callback: "); |
1057 callback()->ShortPrint(); | 1053 callback()->ShortPrint(); |
1058 PrintF("\n - data: "); | 1054 PrintF("\n - data: "); |
1059 data()->ShortPrint(); | 1055 data()->ShortPrint(); |
1060 PrintF("\n - call_stub_cache: "); | 1056 PrintF("\n - call_stub_cache: "); |
1061 call_stub_cache()->ShortPrint(); | |
1062 } | 1057 } |
1063 | 1058 |
1064 void TemplateInfo::TemplateInfoVerify() { | 1059 void TemplateInfo::TemplateInfoVerify() { |
1065 VerifyPointer(tag()); | 1060 VerifyPointer(tag()); |
1066 VerifyPointer(property_list()); | 1061 VerifyPointer(property_list()); |
1067 } | 1062 } |
1068 | 1063 |
1069 void FunctionTemplateInfo::FunctionTemplateInfoVerify() { | 1064 void FunctionTemplateInfo::FunctionTemplateInfoVerify() { |
1070 CHECK(IsFunctionTemplateInfo()); | 1065 CHECK(IsFunctionTemplateInfo()); |
1071 TemplateInfoVerify(); | 1066 TemplateInfoVerify(); |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 ASSERT(e->IsUndefined()); | 1393 ASSERT(e->IsUndefined()); |
1399 } | 1394 } |
1400 } | 1395 } |
1401 } | 1396 } |
1402 } | 1397 } |
1403 | 1398 |
1404 | 1399 |
1405 #endif // DEBUG | 1400 #endif // DEBUG |
1406 | 1401 |
1407 } } // namespace v8::internal | 1402 } } // namespace v8::internal |
OLD | NEW |