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

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

Issue 834443004: remove declarative accessors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 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.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/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 887
888 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { 888 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() {
889 CHECK(IsExecutableAccessorInfo()); 889 CHECK(IsExecutableAccessorInfo());
890 AccessorInfoVerify(); 890 AccessorInfoVerify();
891 VerifyPointer(getter()); 891 VerifyPointer(getter());
892 VerifyPointer(setter()); 892 VerifyPointer(setter());
893 VerifyPointer(data()); 893 VerifyPointer(data());
894 } 894 }
895 895
896 896
897 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorVerify() {
898 CHECK(IsDeclaredAccessorDescriptor());
899 VerifyPointer(serialized_data());
900 }
901
902
903 void DeclaredAccessorInfo::DeclaredAccessorInfoVerify() {
904 CHECK(IsDeclaredAccessorInfo());
905 AccessorInfoVerify();
906 VerifyPointer(descriptor());
907 }
908
909
910 void AccessorPair::AccessorPairVerify() { 897 void AccessorPair::AccessorPairVerify() {
911 CHECK(IsAccessorPair()); 898 CHECK(IsAccessorPair());
912 VerifyPointer(getter()); 899 VerifyPointer(getter());
913 VerifyPointer(setter()); 900 VerifyPointer(setter());
914 } 901 }
915 902
916 903
917 void AccessCheckInfo::AccessCheckInfoVerify() { 904 void AccessCheckInfo::AccessCheckInfoVerify() {
918 CHECK(IsAccessCheckInfo()); 905 CHECK(IsAccessCheckInfo());
919 VerifyPointer(named_callback()); 906 VerifyPointer(named_callback());
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1272 while (map != heap->roots_array_start()[i++]) { 1259 while (map != heap->roots_array_start()[i++]) {
1273 CHECK_LT(i, Heap::kStrongRootListLength); 1260 CHECK_LT(i, Heap::kStrongRootListLength);
1274 } 1261 }
1275 } 1262 }
1276 } 1263 }
1277 1264
1278 1265
1279 #endif // DEBUG 1266 #endif // DEBUG
1280 1267
1281 } } // namespace v8::internal 1268 } } // 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