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

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

Issue 2419513002: [ic] Support data handlers that represent loads from prototypes. (Closed)
Patch Set: Rebasing 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
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('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 "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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 void PrototypeInfo::PrototypeInfoVerify() { 960 void PrototypeInfo::PrototypeInfoVerify() {
961 CHECK(IsPrototypeInfo()); 961 CHECK(IsPrototypeInfo());
962 if (prototype_users()->IsWeakFixedArray()) { 962 if (prototype_users()->IsWeakFixedArray()) {
963 WeakFixedArray::cast(prototype_users())->FixedArrayVerify(); 963 WeakFixedArray::cast(prototype_users())->FixedArrayVerify();
964 } else { 964 } else {
965 CHECK(prototype_users()->IsSmi()); 965 CHECK(prototype_users()->IsSmi());
966 } 966 }
967 CHECK(validity_cell()->IsCell() || validity_cell()->IsSmi()); 967 CHECK(validity_cell()->IsCell() || validity_cell()->IsSmi());
968 } 968 }
969 969
970 void Tuple3::Tuple3Verify() {
971 CHECK(IsTuple3());
972 VerifyObjectField(kValue1Offset);
973 VerifyObjectField(kValue2Offset);
974 VerifyObjectField(kValue3Offset);
975 }
976
970 void ContextExtension::ContextExtensionVerify() { 977 void ContextExtension::ContextExtensionVerify() {
971 CHECK(IsContextExtension()); 978 CHECK(IsContextExtension());
972 VerifyObjectField(kScopeInfoOffset); 979 VerifyObjectField(kScopeInfoOffset);
973 VerifyObjectField(kExtensionOffset); 980 VerifyObjectField(kExtensionOffset);
974 } 981 }
975 982
976 983
977 void AccessorInfo::AccessorInfoVerify() { 984 void AccessorInfo::AccessorInfoVerify() {
978 CHECK(IsAccessorInfo()); 985 CHECK(IsAccessorInfo());
979 VerifyPointer(name()); 986 VerifyPointer(name());
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
1388 1395
1389 // Both are done at the same time. 1396 // Both are done at the same time.
1390 CHECK_EQ(new_it.done(), old_it.done()); 1397 CHECK_EQ(new_it.done(), old_it.done());
1391 } 1398 }
1392 1399
1393 1400
1394 #endif // DEBUG 1401 #endif // DEBUG
1395 1402
1396 } // namespace internal 1403 } // namespace internal
1397 } // namespace v8 1404 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698