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

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

Issue 862923002: CHECK that FunctionTemplates are not modified after first instantiation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | 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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 os << "\n - prototype_template: " << Brief(prototype_template()); 920 os << "\n - prototype_template: " << Brief(prototype_template());
921 os << "\n - parent_template: " << Brief(parent_template()); 921 os << "\n - parent_template: " << Brief(parent_template());
922 os << "\n - named_property_handler: " << Brief(named_property_handler()); 922 os << "\n - named_property_handler: " << Brief(named_property_handler());
923 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); 923 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler());
924 os << "\n - instance_template: " << Brief(instance_template()); 924 os << "\n - instance_template: " << Brief(instance_template());
925 os << "\n - signature: " << Brief(signature()); 925 os << "\n - signature: " << Brief(signature());
926 os << "\n - access_check_info: " << Brief(access_check_info()); 926 os << "\n - access_check_info: " << Brief(access_check_info());
927 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); 927 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false");
928 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); 928 os << "\n - undetectable: " << (undetectable() ? "true" : "false");
929 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); 929 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false");
930 os << "\n - instantiated: " << (instantiated() ? "true" : "false");
930 os << "\n"; 931 os << "\n";
931 } 932 }
932 933
933 934
934 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT 935 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT
935 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); 936 HeapObject::PrintHeader(os, "ObjectTemplateInfo");
936 os << " - tag: " << Brief(tag()); 937 os << " - tag: " << Brief(tag());
937 os << "\n - property_list: " << Brief(property_list()); 938 os << "\n - property_list: " << Brief(property_list());
938 os << "\n - property_accessors: " << Brief(property_accessors()); 939 os << "\n - property_accessors: " << Brief(property_accessors());
939 os << "\n - constructor: " << Brief(constructor()); 940 os << "\n - constructor: " << Brief(constructor());
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 } 1184 }
1184 } 1185 }
1185 1186
1186 1187
1187 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1188 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1188 if (!map()->HasTransitionArray()) return; 1189 if (!map()->HasTransitionArray()) return;
1189 map()->transitions()->PrintTransitions(os, false); 1190 map()->transitions()->PrintTransitions(os, false);
1190 } 1191 }
1191 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1192 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1192 } } // namespace v8::internal 1193 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698