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

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

Issue 1706283002: [fullcodegen] Implement operand stack depth tracking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Turn off verification. Created 4 years, 10 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/full-codegen/x87/full-codegen-x87.cc ('k') | test/mjsunit/harmony/regress/regress-4755.js » ('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 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
945 os << "\n - cleared"; 945 os << "\n - cleared";
946 } else { 946 } else {
947 os << "\n - value: " << Brief(value()); 947 os << "\n - value: " << Brief(value());
948 } 948 }
949 os << "\n"; 949 os << "\n";
950 } 950 }
951 951
952 952
953 void Code::CodePrint(std::ostream& os) { // NOLINT 953 void Code::CodePrint(std::ostream& os) { // NOLINT
954 HeapObject::PrintHeader(os, "Code"); 954 HeapObject::PrintHeader(os, "Code");
955 os << "\n";
955 #ifdef ENABLE_DISASSEMBLER 956 #ifdef ENABLE_DISASSEMBLER
956 if (FLAG_use_verbose_printer) { 957 if (FLAG_use_verbose_printer) {
957 Disassemble(NULL, os); 958 Disassemble(NULL, os);
958 } 959 }
959 #endif 960 #endif
960 } 961 }
961 962
962 963
963 void Foreign::ForeignPrint(std::ostream& os) { // NOLINT 964 void Foreign::ForeignPrint(std::ostream& os) { // NOLINT
964 os << "foreign address : " << foreign_address(); 965 os << "foreign address : " << foreign_address();
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1323 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1323 Object* transitions = map()->raw_transitions(); 1324 Object* transitions = map()->raw_transitions();
1324 int num_transitions = TransitionArray::NumberOfTransitions(transitions); 1325 int num_transitions = TransitionArray::NumberOfTransitions(transitions);
1325 if (num_transitions == 0) return; 1326 if (num_transitions == 0) return;
1326 os << "\n - transitions"; 1327 os << "\n - transitions";
1327 TransitionArray::PrintTransitions(os, transitions, false); 1328 TransitionArray::PrintTransitions(os, transitions, false);
1328 } 1329 }
1329 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1330 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1330 } // namespace internal 1331 } // namespace internal
1331 } // namespace v8 1332 } // namespace v8
OLDNEW
« no previous file with comments | « src/full-codegen/x87/full-codegen-x87.cc ('k') | test/mjsunit/harmony/regress/regress-4755.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698