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

Side by Side Diff: runtime/vm/disassembler_ia32.cc

Issue 264743010: Don't remap class/type names in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/object.h » ('j') | runtime/vm/raw_object.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/disassembler.h" 5 #include "vm/disassembler.h"
6 6
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
8 #if defined(TARGET_ARCH_IA32) 8 #if defined(TARGET_ARCH_IA32)
9 #include "platform/utils.h" 9 #include "platform/utils.h"
10 #include "vm/allocation.h" 10 #include "vm/allocation.h"
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 // 'addr' is not an object, but probably a code address. 519 // 'addr' is not an object, but probably a code address.
520 const char* name_of_stub = StubCode::NameOfStub(addr); 520 const char* name_of_stub = StubCode::NameOfStub(addr);
521 if (name_of_stub != NULL) { 521 if (name_of_stub != NULL) {
522 Print(" [stub: "); 522 Print(" [stub: ");
523 Print(name_of_stub); 523 Print(name_of_stub);
524 Print("]"); 524 Print("]");
525 } else { 525 } else {
526 // Print only if jumping to entry point. 526 // Print only if jumping to entry point.
527 const Code& code = Code::Handle(Code::LookupCode(addr)); 527 const Code& code = Code::Handle(Code::LookupCode(addr));
528 if (!code.IsNull() && (code.EntryPoint() == addr)) { 528 if (!code.IsNull() && (code.EntryPoint() == addr)) {
529 const String& name = String::Handle(code.UserName()); 529 const String& name = String::Handle(code.PrettyName());
530 const char* name_c = name.ToCString(); 530 const char* name_c = name.ToCString();
531 Print(" ["); 531 Print(" [");
532 Print(name_c); 532 Print(name_c);
533 Print("]"); 533 Print("]");
534 } 534 }
535 } 535 }
536 } 536 }
537 } 537 }
538 538
539 539
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 pc); 1870 pc);
1871 pc += instruction_length; 1871 pc += instruction_length;
1872 } 1872 }
1873 1873
1874 return; 1874 return;
1875 } 1875 }
1876 1876
1877 } // namespace dart 1877 } // namespace dart
1878 1878
1879 #endif // defined TARGET_ARCH_IA32 1879 #endif // defined TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/object.h » ('j') | runtime/vm/raw_object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698