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

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

Issue 2405213002: V8 support for cached accessors. (Closed)
Patch Set: Toon's feedback. Created 4 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-inl.h ('k') | test/cctest/test-api-accessors.cc » ('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 // 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/objects.h" 5 #include "src/objects.h"
6 6
7 #include <iomanip> 7 #include <iomanip>
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/disasm.h" 10 #include "src/disasm.h"
(...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 os << "\n - property_list: " << Brief(property_list()); 1274 os << "\n - property_list: " << Brief(property_list());
1275 os << "\n - call_code: " << Brief(call_code()); 1275 os << "\n - call_code: " << Brief(call_code());
1276 os << "\n - property_accessors: " << Brief(property_accessors()); 1276 os << "\n - property_accessors: " << Brief(property_accessors());
1277 os << "\n - prototype_template: " << Brief(prototype_template()); 1277 os << "\n - prototype_template: " << Brief(prototype_template());
1278 os << "\n - parent_template: " << Brief(parent_template()); 1278 os << "\n - parent_template: " << Brief(parent_template());
1279 os << "\n - named_property_handler: " << Brief(named_property_handler()); 1279 os << "\n - named_property_handler: " << Brief(named_property_handler());
1280 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); 1280 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler());
1281 os << "\n - instance_template: " << Brief(instance_template()); 1281 os << "\n - instance_template: " << Brief(instance_template());
1282 os << "\n - signature: " << Brief(signature()); 1282 os << "\n - signature: " << Brief(signature());
1283 os << "\n - access_check_info: " << Brief(access_check_info()); 1283 os << "\n - access_check_info: " << Brief(access_check_info());
1284 os << "\n - cached_property_name: " << Brief(cached_property_name());
1284 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); 1285 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false");
1285 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); 1286 os << "\n - undetectable: " << (undetectable() ? "true" : "false");
1286 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); 1287 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false");
1287 os << "\n - instantiated: " << (instantiated() ? "true" : "false"); 1288 os << "\n - instantiated: " << (instantiated() ? "true" : "false");
1288 os << "\n"; 1289 os << "\n";
1289 } 1290 }
1290 1291
1291 1292
1292 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT 1293 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT
1293 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); 1294 HeapObject::PrintHeader(os, "ObjectTemplateInfo");
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 printf("Not a transition array\n"); 1583 printf("Not a transition array\n");
1583 } else { 1584 } else {
1584 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1585 reinterpret_cast<i::TransitionArray*>(object)->Print();
1585 } 1586 }
1586 } 1587 }
1587 1588
1588 extern void _v8_internal_Print_StackTrace() { 1589 extern void _v8_internal_Print_StackTrace() {
1589 i::Isolate* isolate = i::Isolate::Current(); 1590 i::Isolate* isolate = i::Isolate::Current();
1590 isolate->PrintStack(stdout); 1591 isolate->PrintStack(stdout);
1591 } 1592 }
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | test/cctest/test-api-accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698