Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2016 14:23:24 +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: r406703 - head/lang/v8/files
Message-ID:  <201601191423.u0JENO5c016447@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601191423.u0JENO5c016447>