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

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

Issue 182703003: Cleanup native, collected, and stub code handling in profiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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/assembler.h" 7 #include "vm/assembler.h"
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/os.h" 9 #include "vm/os.h"
10 #include "vm/json_stream.h" 10 #include "vm/json_stream.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 private: 95 private:
96 const uword addr_; 96 const uword addr_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(FindAddrVisitor); 98 DISALLOW_COPY_AND_ASSIGN(FindAddrVisitor);
99 }; 99 };
100 100
101 101
102 bool Disassembler::CanFindOldObject(uword addr) { 102 bool Disassembler::CanFindOldObject(uword addr) {
103 FindAddrVisitor visitor(addr); 103 FindAddrVisitor visitor(addr);
104 NoGCScope no_gc;
104 return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null(); 105 return Isolate::Current()->heap()->FindOldObject(&visitor) != Object::null();
105 } 106 }
106 107
107 } // namespace dart 108 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/client/lib/src/observatory_elements/service_ref.dart ('k') | runtime/vm/disassembler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698