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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 } | 972 } |
973 | 973 |
974 | 974 |
975 void AccessorInfo::AccessorInfoVerify() { | 975 void AccessorInfo::AccessorInfoVerify() { |
976 CHECK(IsAccessorInfo()); | 976 CHECK(IsAccessorInfo()); |
977 VerifyPointer(getter()); | 977 VerifyPointer(getter()); |
978 VerifyPointer(setter()); | 978 VerifyPointer(setter()); |
979 VerifyPointer(name()); | 979 VerifyPointer(name()); |
980 VerifyPointer(data()); | 980 VerifyPointer(data()); |
981 VerifyPointer(flag()); | 981 VerifyPointer(flag()); |
982 VerifyPointer(load_stub_cache()); | |
983 } | 982 } |
984 | 983 |
985 void AccessorInfo::AccessorInfoPrint() { | 984 void AccessorInfo::AccessorInfoPrint() { |
986 HeapObject::PrintHeader("AccessorInfo"); | 985 HeapObject::PrintHeader("AccessorInfo"); |
987 PrintF("\n - getter: "); | 986 PrintF("\n - getter: "); |
988 getter()->ShortPrint(); | 987 getter()->ShortPrint(); |
989 PrintF("\n - setter: "); | 988 PrintF("\n - setter: "); |
990 setter()->ShortPrint(); | 989 setter()->ShortPrint(); |
991 PrintF("\n - name: "); | 990 PrintF("\n - name: "); |
992 name()->ShortPrint(); | 991 name()->ShortPrint(); |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1333 } | 1332 } |
1334 current = hash; | 1333 current = hash; |
1335 } | 1334 } |
1336 return true; | 1335 return true; |
1337 } | 1336 } |
1338 | 1337 |
1339 | 1338 |
1340 #endif // DEBUG | 1339 #endif // DEBUG |
1341 | 1340 |
1342 } } // namespace v8::internal | 1341 } } // namespace v8::internal |
OLD | NEW |