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

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

Issue 23182003: Push SetAccessor to Template (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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
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 870 matching lines...) Expand 10 before | Expand all | Expand 10 after
881 void CallHandlerInfo::CallHandlerInfoVerify() { 881 void CallHandlerInfo::CallHandlerInfoVerify() {
882 CHECK(IsCallHandlerInfo()); 882 CHECK(IsCallHandlerInfo());
883 VerifyPointer(callback()); 883 VerifyPointer(callback());
884 VerifyPointer(data()); 884 VerifyPointer(data());
885 } 885 }
886 886
887 887
888 void TemplateInfo::TemplateInfoVerify() { 888 void TemplateInfo::TemplateInfoVerify() {
889 VerifyPointer(tag()); 889 VerifyPointer(tag());
890 VerifyPointer(property_list()); 890 VerifyPointer(property_list());
891 VerifyPointer(property_accessors());
891 } 892 }
892 893
893 894
894 void FunctionTemplateInfo::FunctionTemplateInfoVerify() { 895 void FunctionTemplateInfo::FunctionTemplateInfoVerify() {
895 CHECK(IsFunctionTemplateInfo()); 896 CHECK(IsFunctionTemplateInfo());
896 TemplateInfoVerify(); 897 TemplateInfoVerify();
897 VerifyPointer(serial_number()); 898 VerifyPointer(serial_number());
898 VerifyPointer(call_code()); 899 VerifyPointer(call_code());
899 VerifyPointer(property_accessors());
900 VerifyPointer(prototype_template()); 900 VerifyPointer(prototype_template());
901 VerifyPointer(parent_template()); 901 VerifyPointer(parent_template());
902 VerifyPointer(named_property_handler()); 902 VerifyPointer(named_property_handler());
903 VerifyPointer(indexed_property_handler()); 903 VerifyPointer(indexed_property_handler());
904 VerifyPointer(instance_template()); 904 VerifyPointer(instance_template());
905 VerifyPointer(signature()); 905 VerifyPointer(signature());
906 VerifyPointer(access_check_info()); 906 VerifyPointer(access_check_info());
907 } 907 }
908 908
909 909
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 for (int i = 0; i < number_of_transitions(); ++i) { 1168 for (int i = 0; i < number_of_transitions(); ++i) {
1169 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; 1169 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false;
1170 } 1170 }
1171 return true; 1171 return true;
1172 } 1172 }
1173 1173
1174 1174
1175 #endif // DEBUG 1175 #endif // DEBUG
1176 1176
1177 } } // namespace v8::internal 1177 } } // namespace v8::internal
OLDNEW
« src/apinatives.js ('K') | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698