Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Side by Side Diff: src/objects-debug.cc

Issue 341082: Reverting 3174. Aka reapplying 3150, 3151 and 3159. Aka api accessor (Closed)
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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());
982 } 983 }
983 984
984 void AccessorInfo::AccessorInfoPrint() { 985 void AccessorInfo::AccessorInfoPrint() {
985 HeapObject::PrintHeader("AccessorInfo"); 986 HeapObject::PrintHeader("AccessorInfo");
986 PrintF("\n - getter: "); 987 PrintF("\n - getter: ");
987 getter()->ShortPrint(); 988 getter()->ShortPrint();
988 PrintF("\n - setter: "); 989 PrintF("\n - setter: ");
989 setter()->ShortPrint(); 990 setter()->ShortPrint();
990 PrintF("\n - name: "); 991 PrintF("\n - name: ");
991 name()->ShortPrint(); 992 name()->ShortPrint();
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 } 1333 }
1333 current = hash; 1334 current = hash;
1334 } 1335 }
1335 return true; 1336 return true;
1336 } 1337 }
1337 1338
1338 1339
1339 #endif // DEBUG 1340 #endif // DEBUG
1340 1341
1341 } } // namespace v8::internal 1342 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698