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

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

Issue 132163005: Version 1.1.0-dev.5.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/disassembler.cc » ('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 (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 #ifndef VM_DISASSEMBLER_H_ 5 #ifndef VM_DISASSEMBLER_H_
6 #define VM_DISASSEMBLER_H_ 6 #define VM_DISASSEMBLER_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 // Decodes one instruction. 123 // Decodes one instruction.
124 // Writes a hexadecimal representation into the hex_buffer and a 124 // Writes a hexadecimal representation into the hex_buffer and a
125 // human-readable representation into the human_buffer. 125 // human-readable representation into the human_buffer.
126 // Writes the length of the decoded instruction in bytes in out_instr_len. 126 // Writes the length of the decoded instruction in bytes in out_instr_len.
127 static void DecodeInstruction(char* hex_buffer, intptr_t hex_size, 127 static void DecodeInstruction(char* hex_buffer, intptr_t hex_size,
128 char* human_buffer, intptr_t human_size, 128 char* human_buffer, intptr_t human_size,
129 int* out_instr_len, uword pc); 129 int* out_instr_len, uword pc);
130 130
131 static bool CanFindOldObject(uword addr);
132
131 private: 133 private:
132 static const int kHexadecimalBufferSize = 32; 134 static const int kHexadecimalBufferSize = 32;
133 static const int kUserReadableBufferSize = 256; 135 static const int kUserReadableBufferSize = 256;
134 }; 136 };
135 137
136 } // namespace dart 138 } // namespace dart
137 139
138 #endif // VM_DISASSEMBLER_H_ 140 #endif // VM_DISASSEMBLER_H_
OLDNEW
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/disassembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698