aboutsummaryrefslogtreecommitdiffstats
path: root/lang/v8/files/patch-src-ia32-disasm-ia32.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/v8/files/patch-src-ia32-disasm-ia32.cc')
-rw-r--r--lang/v8/files/patch-src-ia32-disasm-ia32.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/v8/files/patch-src-ia32-disasm-ia32.cc b/lang/v8/files/patch-src-ia32-disasm-ia32.cc
new file mode 100644
index 000000000000..a82a393f2d15
--- /dev/null
+++ b/lang/v8/files/patch-src-ia32-disasm-ia32.cc
@@ -0,0 +1,11 @@
+--- src/ia32/disasm-ia32.cc.orig 2013-05-01 12:56:29 UTC
++++ src/ia32/disasm-ia32.cc
+@@ -1707,7 +1707,7 @@ int Disassembler::ConstantPoolSizeAt(byt
+ buffer[0] = '\0';
+ byte* prev_pc = pc;
+ pc += d.InstructionDecode(buffer, pc);
+- fprintf(f, "%p", prev_pc);
++ fprintf(f, "%p", reinterpret_cast<void*>(prev_pc));
+ fprintf(f, " ");
+
+ for (byte* bp = prev_pc; bp < pc; bp++) {