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

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

Issue 2087823002: Optionally invoke an interceptor on failed access checks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 4 years, 5 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/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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 void AccessorPair::AccessorPairVerify() { 942 void AccessorPair::AccessorPairVerify() {
943 CHECK(IsAccessorPair()); 943 CHECK(IsAccessorPair());
944 VerifyPointer(getter()); 944 VerifyPointer(getter());
945 VerifyPointer(setter()); 945 VerifyPointer(setter());
946 } 946 }
947 947
948 948
949 void AccessCheckInfo::AccessCheckInfoVerify() { 949 void AccessCheckInfo::AccessCheckInfoVerify() {
950 CHECK(IsAccessCheckInfo()); 950 CHECK(IsAccessCheckInfo());
951 VerifyPointer(callback()); 951 VerifyPointer(callback());
952 VerifyPointer(named_interceptor());
953 VerifyPointer(indexed_interceptor());
952 VerifyPointer(data()); 954 VerifyPointer(data());
953 } 955 }
954 956
955 957
956 void InterceptorInfo::InterceptorInfoVerify() { 958 void InterceptorInfo::InterceptorInfoVerify() {
957 CHECK(IsInterceptorInfo()); 959 CHECK(IsInterceptorInfo());
958 VerifyPointer(getter()); 960 VerifyPointer(getter());
959 VerifyPointer(setter()); 961 VerifyPointer(setter());
960 VerifyPointer(query()); 962 VerifyPointer(query());
961 VerifyPointer(deleter()); 963 VerifyPointer(deleter());
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1340 1342
1341 // Both are done at the same time. 1343 // Both are done at the same time.
1342 CHECK_EQ(new_it.done(), old_it.done()); 1344 CHECK_EQ(new_it.done(), old_it.done());
1343 } 1345 }
1344 1346
1345 1347
1346 #endif // DEBUG 1348 #endif // DEBUG
1347 1349
1348 } // namespace internal 1350 } // namespace internal
1349 } // namespace v8 1351 } // namespace v8
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