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 1906453002: Revert of Change calling convention of CallApiGetterStub to accept the AccessorInfo (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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') | src/x64/code-stubs-x64.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 974 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 os << "\n"; 985 os << "\n";
986 } 986 }
987 987
988 988
989 void AccessorInfo::AccessorInfoPrint(std::ostream& os) { // NOLINT 989 void AccessorInfo::AccessorInfoPrint(std::ostream& os) { // NOLINT
990 HeapObject::PrintHeader(os, "AccessorInfo"); 990 HeapObject::PrintHeader(os, "AccessorInfo");
991 os << "\n - name: " << Brief(name()); 991 os << "\n - name: " << Brief(name());
992 os << "\n - flag: " << flag(); 992 os << "\n - flag: " << flag();
993 os << "\n - getter: " << Brief(getter()); 993 os << "\n - getter: " << Brief(getter());
994 os << "\n - setter: " << Brief(setter()); 994 os << "\n - setter: " << Brief(setter());
995 os << "\n - js_getter: " << Brief(js_getter());
996 os << "\n - data: " << Brief(data()); 995 os << "\n - data: " << Brief(data());
997 os << "\n"; 996 os << "\n";
998 } 997 }
999 998
1000 999
1001 void Box::BoxPrint(std::ostream& os) { // NOLINT 1000 void Box::BoxPrint(std::ostream& os) { // NOLINT
1002 HeapObject::PrintHeader(os, "Box"); 1001 HeapObject::PrintHeader(os, "Box");
1003 os << "\n - value: " << Brief(value()); 1002 os << "\n - value: " << Brief(value());
1004 os << "\n"; 1003 os << "\n";
1005 } 1004 }
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1340 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1342 Object* transitions = map()->raw_transitions(); 1341 Object* transitions = map()->raw_transitions();
1343 int num_transitions = TransitionArray::NumberOfTransitions(transitions); 1342 int num_transitions = TransitionArray::NumberOfTransitions(transitions);
1344 if (num_transitions == 0) return; 1343 if (num_transitions == 0) return;
1345 os << "\n - transitions"; 1344 os << "\n - transitions";
1346 TransitionArray::PrintTransitions(os, transitions, false); 1345 TransitionArray::PrintTransitions(os, transitions, false);
1347 } 1346 }
1348 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1347 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1349 } // namespace internal 1348 } // namespace internal
1350 } // namespace v8 1349 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698