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

Unified Diff: src/simulator-arm.cc

Issue 8939: Backport the changes from the readability. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/globals.h ('k') | src/v8.h » ('j') | src/v8.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/simulator-arm.cc
===================================================================
--- src/simulator-arm.cc (revision 661)
+++ src/simulator-arm.cc (working copy)
@@ -210,7 +210,8 @@
while (!done) {
if (last_pc != sim_->get_pc()) {
- disasm::Disassembler dasm;
+ disasm::NameConverter converter;
+ disasm::Disassembler dasm(converter);
// use a reasonably large buffer
v8::internal::EmbeddedVector<char, 256> buffer;
dasm.InstructionDecode(buffer,
@@ -265,7 +266,8 @@
PrintF("printobject value\n");
}
} else if (strcmp(cmd, "disasm") == 0) {
- disasm::Disassembler dasm;
+ disasm::NameConverter converter;
+ disasm::Disassembler dasm(converter);
// use a reasonably large buffer
v8::internal::EmbeddedVector<char, 256> buffer;
@@ -1441,7 +1443,8 @@
return;
}
if (::v8::internal::FLAG_trace_sim) {
- disasm::Disassembler dasm;
+ disasm::NameConverter converter;
+ disasm::Disassembler dasm(converter);
// use a reasonably large buffer
v8::internal::EmbeddedVector<char, 256> buffer;
dasm.InstructionDecode(buffer,
« no previous file with comments | « src/globals.h ('k') | src/v8.h » ('j') | src/v8.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698