mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 07:30:32 -04:00
- Printing non-void pointers with %p. - Left-shifting negative numbers. PR: 202534 Submitted by: dim
29 lines
1 KiB
C++
29 lines
1 KiB
C++
--- src/deoptimizer.cc.orig 2014-06-03 08:52:11 UTC
|
|
+++ src/deoptimizer.cc
|
|
@@ -1920,7 +1920,7 @@ void Deoptimizer::MaterializeHeapObjects
|
|
"Materialized a new heap number %p [%e] in slot %p\n",
|
|
reinterpret_cast<void*>(*num),
|
|
d.value(),
|
|
- d.destination());
|
|
+ reinterpret_cast<void*>(d.destination()));
|
|
}
|
|
Memory::Object_at(d.destination()) = *num;
|
|
}
|
|
@@ -2017,7 +2017,7 @@ void Deoptimizer::MaterializeHeapNumbers
|
|
"for parameter slot #%d\n",
|
|
reinterpret_cast<void*>(*num),
|
|
d.value(),
|
|
- d.destination(),
|
|
+ reinterpret_cast<void*>(d.destination()),
|
|
index);
|
|
}
|
|
|
|
@@ -2034,7 +2034,7 @@ void Deoptimizer::MaterializeHeapNumbers
|
|
"for expression slot #%d\n",
|
|
reinterpret_cast<void*>(*num),
|
|
d.value(),
|
|
- d.destination(),
|
|
+ reinterpret_cast<void*>(d.destination()),
|
|
index);
|
|
}
|
|
|