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

Unified Diff: src/ia32/disasm-ia32.cc

Issue 1867383002: Revert of Fix printf formats (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/heap/spaces.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/disasm-ia32.cc
diff --git a/src/ia32/disasm-ia32.cc b/src/ia32/disasm-ia32.cc
index 274903ba455ee221dc1b5c63042fe76e429fe5de..3cd0ac6e52fbe9d20e85faf60311971b80b18488 100644
--- a/src/ia32/disasm-ia32.cc
+++ b/src/ia32/disasm-ia32.cc
@@ -8,7 +8,6 @@
#if V8_TARGET_ARCH_IA32
-#include "src/base/compiler-specific.h"
#include "src/disasm.h"
namespace disasm {
@@ -390,7 +389,8 @@
int MemoryFPUInstruction(int escape_opcode, int regop, byte* modrm_start);
int RegisterFPUInstruction(int escape_opcode, byte modrm_byte);
int AVXInstruction(byte* data);
- PRINTF_FORMAT(2, 3) void AppendToBuffer(const char* format, ...);
+ void AppendToBuffer(const char* format, ...);
+
void UnimplementedInstruction() {
if (abort_on_unimplemented_) {
@@ -1274,7 +1274,7 @@
const InstructionDesc& idesc = instruction_table_->Get(*data);
switch (idesc.type) {
case ZERO_OPERANDS_INSTR:
- AppendToBuffer("%s", idesc.mnem);
+ AppendToBuffer(idesc.mnem);
data++;
break;
« no previous file with comments | « src/heap/spaces.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698