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

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

Issue 2405213002: V8 support for cached accessors. (Closed)
Patch Set: Centralized lookup in LookupIterator::TryLookupCacheProperty. Also rebase. Created 4 years, 2 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
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 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 os << "\n - property_list: " << Brief(property_list()); 1272 os << "\n - property_list: " << Brief(property_list());
1273 os << "\n - call_code: " << Brief(call_code()); 1273 os << "\n - call_code: " << Brief(call_code());
1274 os << "\n - property_accessors: " << Brief(property_accessors()); 1274 os << "\n - property_accessors: " << Brief(property_accessors());
1275 os << "\n - prototype_template: " << Brief(prototype_template()); 1275 os << "\n - prototype_template: " << Brief(prototype_template());
1276 os << "\n - parent_template: " << Brief(parent_template()); 1276 os << "\n - parent_template: " << Brief(parent_template());
1277 os << "\n - named_property_handler: " << Brief(named_property_handler()); 1277 os << "\n - named_property_handler: " << Brief(named_property_handler());
1278 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler()); 1278 os << "\n - indexed_property_handler: " << Brief(indexed_property_handler());
1279 os << "\n - instance_template: " << Brief(instance_template()); 1279 os << "\n - instance_template: " << Brief(instance_template());
1280 os << "\n - signature: " << Brief(signature()); 1280 os << "\n - signature: " << Brief(signature());
1281 os << "\n - access_check_info: " << Brief(access_check_info()); 1281 os << "\n - access_check_info: " << Brief(access_check_info());
1282 os << "\n - cache_property: " << Brief(cache_property());
1282 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false"); 1283 os << "\n - hidden_prototype: " << (hidden_prototype() ? "true" : "false");
1283 os << "\n - undetectable: " << (undetectable() ? "true" : "false"); 1284 os << "\n - undetectable: " << (undetectable() ? "true" : "false");
1284 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false"); 1285 os << "\n - need_access_check: " << (needs_access_check() ? "true" : "false");
1285 os << "\n - instantiated: " << (instantiated() ? "true" : "false"); 1286 os << "\n - instantiated: " << (instantiated() ? "true" : "false");
1286 os << "\n"; 1287 os << "\n";
1287 } 1288 }
1288 1289
1289 1290
1290 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT 1291 void ObjectTemplateInfo::ObjectTemplateInfoPrint(std::ostream& os) { // NOLINT
1291 HeapObject::PrintHeader(os, "ObjectTemplateInfo"); 1292 HeapObject::PrintHeader(os, "ObjectTemplateInfo");
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
1580 printf("Not a transition array\n"); 1581 printf("Not a transition array\n");
1581 } else { 1582 } else {
1582 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1583 reinterpret_cast<i::TransitionArray*>(object)->Print();
1583 } 1584 }
1584 } 1585 }
1585 1586
1586 extern void _v8_internal_Print_StackTrace() { 1587 extern void _v8_internal_Print_StackTrace() {
1587 i::Isolate* isolate = i::Isolate::Current(); 1588 i::Isolate* isolate = i::Isolate::Current();
1588 isolate->PrintStack(stdout); 1589 isolate->PrintStack(stdout);
1589 } 1590 }
OLDNEW
« src/objects-inl.h ('K') | « 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