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

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: 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
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/interpreter/bytecodes.h" 9 #include "src/interpreter/bytecodes.h"
10 #include "src/ostreams.h" 10 #include "src/ostreams.h"
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT 959 void PrototypeInfo::PrototypeInfoPrint(std::ostream& os) { // NOLINT
960 HeapObject::PrintHeader(os, "PrototypeInfo"); 960 HeapObject::PrintHeader(os, "PrototypeInfo");
961 os << "\n - prototype users: " << Brief(prototype_users()); 961 os << "\n - prototype users: " << Brief(prototype_users());
962 os << "\n - registry slot: " << registry_slot(); 962 os << "\n - registry slot: " << registry_slot();
963 os << "\n - validity cell: " << Brief(validity_cell()); 963 os << "\n - validity cell: " << Brief(validity_cell());
964 os << "\n - constructor name: " << Brief(constructor_name()); 964 os << "\n - constructor name: " << Brief(constructor_name());
965 os << "\n"; 965 os << "\n";
966 } 966 }
967 967
968 968
969 void SloppyBlockWithEvalContextExtension::
970 SloppyBlockWithEvalContextExtensionPrint(std::ostream& os) { // NOLINT
971 HeapObject::PrintHeader(os, "SloppyBlockWithEvalContextExtension");
972 os << "\n - scope_info: " << Brief(scope_info());
973 os << "\n - extension: " << Brief(extension());
974 os << "\n";
975 }
976
977
969 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT 978 void AccessorPair::AccessorPairPrint(std::ostream& os) { // NOLINT
970 HeapObject::PrintHeader(os, "AccessorPair"); 979 HeapObject::PrintHeader(os, "AccessorPair");
971 os << "\n - getter: " << Brief(getter()); 980 os << "\n - getter: " << Brief(getter());
972 os << "\n - setter: " << Brief(setter()); 981 os << "\n - setter: " << Brief(setter());
973 os << "\n"; 982 os << "\n";
974 } 983 }
975 984
976 985
977 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT 986 void AccessCheckInfo::AccessCheckInfoPrint(std::ostream& os) { // NOLINT
978 HeapObject::PrintHeader(os, "AccessCheckInfo"); 987 HeapObject::PrintHeader(os, "AccessCheckInfo");
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 } 1292 }
1284 } 1293 }
1285 1294
1286 1295
1287 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1296 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1288 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1297 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1289 } 1298 }
1290 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1299 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1291 } // namespace internal 1300 } // namespace internal
1292 } // namespace v8 1301 } // namespace v8
OLDNEW
« src/contexts.cc ('K') | « src/objects-inl.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698