mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
- Fix build with Clang 3.7.0+
PR: 206332 Submitted by: dim
This commit is contained in:
parent
3799fad5bf
commit
8637de74b4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406704
11
lang/v8-devel/files/patch-src-x64-disasm-x64.cc
Normal file
11
lang/v8-devel/files/patch-src-x64-disasm-x64.cc
Normal file
@ -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++) {
|
12
lang/v8-devel/files/patch-src-x64-ic-x64.cc
Normal file
12
lang/v8-devel/files/patch-src-x64-ic-x64.cc
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user