svn commit: r406703 - head/lang/v8/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jan 19 14:23:26 UTC 2016
Author: sunpoet
Date: Tue Jan 19 14:23:24 2016
New Revision: 406703
URL: https://svnweb.freebsd.org/changeset/ports/406703
Log:
- Fix build with Clang 3.7.0+
PR: 206332
Submitted by: dim
Added:
head/lang/v8/files/patch-src-x64-disasm-x64.cc (contents, props changed)
head/lang/v8/files/patch-src-x64-ic-x64.cc (contents, props changed)
Added: head/lang/v8/files/patch-src-x64-disasm-x64.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/v8/files/patch-src-x64-disasm-x64.cc Tue Jan 19 14:23:24 2016 (r406703)
@@ -0,0 +1,11 @@
+--- src/x64/disasm-x64.cc.orig 2013-05-01 12:56:28 UTC
++++ src/x64/disasm-x64.cc
+@@ -1851,7 +1851,7 @@ void Disassembler::Disassemble(FILE* f,
+ 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++) {
Added: head/lang/v8/files/patch-src-x64-ic-x64.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/v8/files/patch-src-x64-ic-x64.cc Tue Jan 19 14:23:24 2016 (r406703)
@@ -0,0 +1,12 @@
+--- src/x64/ic-x64.cc.orig 2013-05-01 12:56:28 UTC
++++ src/x64/ic-x64.cc
+@@ -1672,7 +1672,8 @@ void PatchInlinedSmiCode(Address address
+ int8_t delta = *reinterpret_cast<int8_t*>(delta_address);
+ if (FLAG_trace_ic) {
+ PrintF("[ patching ic at %p, test=%p, delta=%d\n",
+- address, test_instruction_address, delta);
++ reinterpret_cast<void*>(address),
++ reinterpret_cast<void*>(test_instruction_address), delta);
+ }
+
+ // Patch with a short conditional jump. Enabling means switching from a short
More information about the svn-ports-all
mailing list