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

Side by Side Diff: src/objects-debug.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 "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/disassembler.h" 9 #include "src/disassembler.h"
10 #include "src/field-type.h" 10 #include "src/field-type.h"
(...skipping 1091 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 TemplateInfoVerify(); 1102 TemplateInfoVerify();
1103 VerifyPointer(serial_number()); 1103 VerifyPointer(serial_number());
1104 VerifyPointer(call_code()); 1104 VerifyPointer(call_code());
1105 VerifyPointer(prototype_template()); 1105 VerifyPointer(prototype_template());
1106 VerifyPointer(parent_template()); 1106 VerifyPointer(parent_template());
1107 VerifyPointer(named_property_handler()); 1107 VerifyPointer(named_property_handler());
1108 VerifyPointer(indexed_property_handler()); 1108 VerifyPointer(indexed_property_handler());
1109 VerifyPointer(instance_template()); 1109 VerifyPointer(instance_template());
1110 VerifyPointer(signature()); 1110 VerifyPointer(signature());
1111 VerifyPointer(access_check_info()); 1111 VerifyPointer(access_check_info());
1112 VerifyPointer(cache_property());
1112 } 1113 }
1113 1114
1114 1115
1115 void ObjectTemplateInfo::ObjectTemplateInfoVerify() { 1116 void ObjectTemplateInfo::ObjectTemplateInfoVerify() {
1116 CHECK(IsObjectTemplateInfo()); 1117 CHECK(IsObjectTemplateInfo());
1117 TemplateInfoVerify(); 1118 TemplateInfoVerify();
1118 VerifyPointer(constructor()); 1119 VerifyPointer(constructor());
1119 VerifyPointer(data()); 1120 VerifyPointer(data());
1120 } 1121 }
1121 1122
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 1459
1459 // Both are done at the same time. 1460 // Both are done at the same time.
1460 CHECK_EQ(new_it.done(), old_it.done()); 1461 CHECK_EQ(new_it.done(), old_it.done());
1461 } 1462 }
1462 1463
1463 1464
1464 #endif // DEBUG 1465 #endif // DEBUG
1465 1466
1466 } // namespace internal 1467 } // namespace internal
1467 } // namespace v8 1468 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698