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

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

Issue 2649873002: Split some SharedFunctionInfo's compiler hints off into debugger hints. (Closed)
Patch Set: Created 3 years, 11 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/macro-assembler-x64.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 <iomanip> 7 #include <iomanip>
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 if (is_named_expression()) { 1087 if (is_named_expression()) {
1088 os << "\n - named expression"; 1088 os << "\n - named expression";
1089 } else if (is_anonymous_expression()) { 1089 } else if (is_anonymous_expression()) {
1090 os << "\n - anonymous expression"; 1090 os << "\n - anonymous expression";
1091 } else if (is_declaration()) { 1091 } else if (is_declaration()) {
1092 os << "\n - declaration"; 1092 os << "\n - declaration";
1093 } 1093 }
1094 os << "\n - function token position = " << function_token_position(); 1094 os << "\n - function token position = " << function_token_position();
1095 os << "\n - start position = " << start_position(); 1095 os << "\n - start position = " << start_position();
1096 os << "\n - end position = " << end_position(); 1096 os << "\n - end position = " << end_position();
1097 os << "\n - debug info = " << Brief(debug_info()); 1097 if (HasDebugInfo()) {
1098 os << "\n - debug info = " << Brief(debug_info());
1099 } else {
1100 os << "\n - no debug info";
1101 }
1098 os << "\n - length = " << length(); 1102 os << "\n - length = " << length();
1099 os << "\n - num_literals = " << num_literals(); 1103 os << "\n - num_literals = " << num_literals();
1100 os << "\n - optimized_code_map = " << Brief(optimized_code_map()); 1104 os << "\n - optimized_code_map = " << Brief(optimized_code_map());
1101 os << "\n - feedback_metadata = "; 1105 os << "\n - feedback_metadata = ";
1102 feedback_metadata()->TypeFeedbackMetadataPrint(os); 1106 feedback_metadata()->TypeFeedbackMetadataPrint(os);
1103 if (HasBytecodeArray()) { 1107 if (HasBytecodeArray()) {
1104 os << "\n - bytecode_array = " << bytecode_array(); 1108 os << "\n - bytecode_array = " << bytecode_array();
1105 } 1109 }
1106 os << "\n"; 1110 os << "\n";
1107 } 1111 }
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
1717 printf("Not a transition array\n"); 1721 printf("Not a transition array\n");
1718 } else { 1722 } else {
1719 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1723 reinterpret_cast<i::TransitionArray*>(object)->Print();
1720 } 1724 }
1721 } 1725 }
1722 1726
1723 extern void _v8_internal_Print_StackTrace() { 1727 extern void _v8_internal_Print_StackTrace() {
1724 i::Isolate* isolate = i::Isolate::Current(); 1728 i::Isolate* isolate = i::Isolate::Current();
1725 isolate->PrintStack(stdout); 1729 isolate->PrintStack(stdout);
1726 } 1730 }
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698