Date: Tue, 19 Jan 2016 14:23:31 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406704 - head/lang/v8-devel/files Message-ID: <201601191423.u0JENVpU016570@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Tue Jan 19 14:23:31 2016 New Revision: 406704 URL: https://svnweb.freebsd.org/changeset/ports/406704 Log: - Fix build with Clang 3.7.0+ PR: 206332 Submitted by: dim Added: head/lang/v8-devel/files/patch-src-x64-disasm-x64.cc (contents, props changed) head/lang/v8-devel/files/patch-src-x64-ic-x64.cc (contents, props changed) Added: head/lang/v8-devel/files/patch-src-x64-disasm-x64.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/v8-devel/files/patch-src-x64-disasm-x64.cc Tue Jan 19 14:23:31 2016 (r406704) @@ -0,0 +1,11 @@ +--- src/x64/disasm-x64.cc.orig 2016-01-17 13:52:37 UTC ++++ src/x64/disasm-x64.cc +@@ -1894,7 +1894,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-devel/files/patch-src-x64-ic-x64.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/v8-devel/files/patch-src-x64-ic-x64.cc Tue Jan 19 14:23:31 2016 (r406704) @@ -0,0 +1,12 @@ +--- src/x64/ic-x64.cc.orig 2016-01-17 13:52:46 UTC ++++ src/x64/ic-x64.cc +@@ -1283,7 +1283,8 @@ void PatchInlinedSmiCode(Address address + uint8_t delta = *reinterpret_cast<uint8_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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601191423.u0JENVpU016570>