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

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

Issue 332863003: Remove AccessControl from AccessorPairs, as it's an invalid usecase of AllCan* (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/objects.cc ('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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disassembler.h" 7 #include "src/disassembler.h"
8 #include "src/disasm.h" 8 #include "src/disasm.h"
9 #include "src/jsregexp.h" 9 #include "src/jsregexp.h"
10 #include "src/macro-assembler.h" 10 #include "src/macro-assembler.h"
(...skipping 860 matching lines...) Expand 10 before | Expand all | Expand 10 after
871 CHECK(IsDeclaredAccessorInfo()); 871 CHECK(IsDeclaredAccessorInfo());
872 AccessorInfoVerify(); 872 AccessorInfoVerify();
873 VerifyPointer(descriptor()); 873 VerifyPointer(descriptor());
874 } 874 }
875 875
876 876
877 void AccessorPair::AccessorPairVerify() { 877 void AccessorPair::AccessorPairVerify() {
878 CHECK(IsAccessorPair()); 878 CHECK(IsAccessorPair());
879 VerifyPointer(getter()); 879 VerifyPointer(getter());
880 VerifyPointer(setter()); 880 VerifyPointer(setter());
881 VerifySmiField(kAccessFlagsOffset);
882 } 881 }
883 882
884 883
885 void AccessCheckInfo::AccessCheckInfoVerify() { 884 void AccessCheckInfo::AccessCheckInfoVerify() {
886 CHECK(IsAccessCheckInfo()); 885 CHECK(IsAccessCheckInfo());
887 VerifyPointer(named_callback()); 886 VerifyPointer(named_callback());
888 VerifyPointer(indexed_callback()); 887 VerifyPointer(indexed_callback());
889 VerifyPointer(data()); 888 VerifyPointer(data());
890 } 889 }
891 890
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 for (int i = 0; i < number_of_transitions(); ++i) { 1185 for (int i = 0; i < number_of_transitions(); ++i) {
1187 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; 1186 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false;
1188 } 1187 }
1189 return true; 1188 return true;
1190 } 1189 }
1191 1190
1192 1191
1193 #endif // DEBUG 1192 #endif // DEBUG
1194 1193
1195 } } // namespace v8::internal 1194 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698