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

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

Issue 22903012: js accessor creation on Template (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: grokdump Created 7 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('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 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
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(kAccessFlagsOffset);
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
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
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698