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

Unified Diff: runtime/vm/disassembler.cc

Issue 1314673008: Migrate logging infrastructure Isolate->Thread (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix test. Created 5 years, 3 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
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index 1a924508b975ab8dc37ba850aeac07a8712bf6df..c63d4598dfc25f4d3743838a27017315aac1f157 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -21,22 +21,22 @@ void DisassembleToStdout::ConsumeInstruction(char* hex_buffer,
uword pc) {
static const int kHexColumnWidth = 23;
uint8_t* pc_ptr = reinterpret_cast<uint8_t*>(pc);
- ISL_Print("%p %s", pc_ptr, hex_buffer);
+ THR_Print("%p %s", pc_ptr, hex_buffer);
int hex_length = strlen(hex_buffer);
if (hex_length < kHexColumnWidth) {
for (int i = kHexColumnWidth - hex_length; i > 0; i--) {
- ISL_Print(" ");
+ THR_Print(" ");
}
}
- ISL_Print("%s", human_buffer);
- ISL_Print("\n");
+ THR_Print("%s", human_buffer);
+ THR_Print("\n");
}
void DisassembleToStdout::Print(const char* format, ...) {
va_list args;
va_start(args, format);
- ISL_VPrint(format, args);
+ THR_VPrint(format, args);
va_end(args);
}

Powered by Google App Engine
This is Rietveld 408576698