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

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

Issue 1130133003: Migrate error messages, part 12. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@messages_11
Patch Set: Created 5 years, 7 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/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/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 540
541 541
542 void JSValue::JSValuePrint(std::ostream& os) { // NOLINT 542 void JSValue::JSValuePrint(std::ostream& os) { // NOLINT
543 HeapObject::PrintHeader(os, "ValueObject"); 543 HeapObject::PrintHeader(os, "ValueObject");
544 value()->Print(os); 544 value()->Print(os);
545 } 545 }
546 546
547 547
548 void JSMessageObject::JSMessageObjectPrint(std::ostream& os) { // NOLINT 548 void JSMessageObject::JSMessageObjectPrint(std::ostream& os) { // NOLINT
549 HeapObject::PrintHeader(os, "JSMessageObject"); 549 HeapObject::PrintHeader(os, "JSMessageObject");
550 os << " - type: " << Brief(type()); 550 os << " - type: " << type();
551 os << "\n - arguments: " << Brief(arguments()); 551 os << "\n - arguments: " << Brief(argument());
552 os << "\n - start_position: " << start_position(); 552 os << "\n - start_position: " << start_position();
553 os << "\n - end_position: " << end_position(); 553 os << "\n - end_position: " << end_position();
554 os << "\n - script: " << Brief(script()); 554 os << "\n - script: " << Brief(script());
555 os << "\n - stack_frames: " << Brief(stack_frames()); 555 os << "\n - stack_frames: " << Brief(stack_frames());
556 os << "\n"; 556 os << "\n";
557 } 557 }
558 558
559 559
560 void String::StringPrint(std::ostream& os) { // NOLINT 560 void String::StringPrint(std::ostream& os) { // NOLINT
561 if (StringShape(this).IsInternalized()) { 561 if (StringShape(this).IsInternalized()) {
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 os << " -> " << Brief(target) << "\n"; 1205 os << " -> " << Brief(target) << "\n";
1206 } 1206 }
1207 } 1207 }
1208 1208
1209 1209
1210 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1210 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1211 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1211 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1212 } 1212 }
1213 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1213 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1214 } } // namespace v8::internal 1214 } } // namespace v8::internal
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