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

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

Issue 1410883006: Plumb accessing context through to access control callbacks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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-inl.h ('k') | test/cctest/test-accessors.cc » ('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/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/interpreter/bytecodes.h" 9 #include "src/interpreter/bytecodes.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 os << "\n - getter: " << Brief(getter()); 1008 os << "\n - getter: " << Brief(getter());
1009 os << "\n - setter: " << Brief(setter()); 1009 os << "\n - setter: " << Brief(setter());
1010 os << "\n"; 1010 os << "\n";
1011 } 1011 }
1012 1012
1013 1013
1014 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT 1014 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT
1015 HeapObject::PrintHeader(os, "AccessCheckInfo"); 1015 HeapObject::PrintHeader(os, "AccessCheckInfo");
1016 os << "\n - named_callback: " << Brief(named_callback()); 1016 os << "\n - named_callback: " << Brief(named_callback());
1017 os << "\n - indexed_callback: " << Brief(indexed_callback()); 1017 os << "\n - indexed_callback: " << Brief(indexed_callback());
1018 os << "\n - callback: " << Brief(callback());
1018 os << "\n - data: " << Brief(data()); 1019 os << "\n - data: " << Brief(data());
1019 os << "\n"; 1020 os << "\n";
1020 } 1021 }
1021 1022
1022 1023
1023 void InterceptorInfo::InterceptorInfoPrint(std::ostream& os) { // NOLINT 1024 void InterceptorInfo::InterceptorInfoPrint(std::ostream& os) { // NOLINT
1024 HeapObject::PrintHeader(os, "InterceptorInfo"); 1025 HeapObject::PrintHeader(os, "InterceptorInfo");
1025 os << "\n - getter: " << Brief(getter()); 1026 os << "\n - getter: " << Brief(getter());
1026 os << "\n - setter: " << Brief(setter()); 1027 os << "\n - setter: " << Brief(setter());
1027 os << "\n - query: " << Brief(query()); 1028 os << "\n - query: " << Brief(query());
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 } 1321 }
1321 } 1322 }
1322 1323
1323 1324
1324 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1325 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1325 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1326 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1326 } 1327 }
1327 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1328 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1328 } // namespace internal 1329 } // namespace internal
1329 } // namespace v8 1330 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | test/cctest/test-accessors.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698