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

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

Issue 1292753007: [es6] Parameter scopes for sloppy eval (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comments Created 5 years, 4 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/parser.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/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 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT 932 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
933 HeapObject::PrintHeader(os, "PrototypeInfo"); 933 HeapObject::PrintHeader(os, "PrototypeInfo");
934 os << "\n - prototype users: " << Brief(prototype_users()); 934 os << "\n - prototype users: " << Brief(prototype_users());
935 os << "\n - registry slot: " << registry_slot(); 935 os << "\n - registry slot: " << registry_slot();
936 os << "\n - validity cell: " << Brief(validity_cell()); 936 os << "\n - validity cell: " << Brief(validity_cell());
937 os << "\n - constructor name: " << Brief(constructor_name()); 937 os << "\n - constructor name: " << Brief(constructor_name());
938 os << "\n"; 938 os << "\n";
939 } 939 }
940 940
941 941
942 void SloppyBlockWithEvalContextExtension::
943 SloppyBlockWithEvalContextExtensionPrint(std::ostream& os) { // NOLINT
944 HeapObject::PrintHeader(os, "SloppyBlockWithEvalContextExtension");
945 os << "\n - scope_info: " << Brief(scope_info());
946 os << "\n - extension: " << Brief(extension());
947 os << "\n";
948 }
949
950
942 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT 951 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
943 HeapObject::PrintHeader(os, "AccessorPair"); 952 HeapObject::PrintHeader(os, "AccessorPair");
944 os << "\n - getter: " << Brief(getter()); 953 os << "\n - getter: " << Brief(getter());
945 os << "\n - setter: " << Brief(setter()); 954 os << "\n - setter: " << Brief(setter());
946 os << "\n"; 955 os << "\n";
947 } 956 }
948 957
949 958
950 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT 959 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT
951 HeapObject::PrintHeader(os, "AccessCheckInfo"); 960 HeapObject::PrintHeader(os, "AccessCheckInfo");
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1256 } 1265 }
1257 } 1266 }
1258 1267
1259 1268
1260 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1269 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1261 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1270 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1262 } 1271 }
1263 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1272 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1264 } // namespace internal 1273 } // namespace internal
1265 } // namespace v8 1274 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698