TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/
616853002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24329
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
template <>
struct StaticParameterTraits<ExternalReference> {
static std::ostream& PrintTo(std::ostream& os, ExternalReference reference) {
- os << reference.address();
+ os << static_cast<const void*>(reference.address());
// TODO(bmeurer): Move to operator<<(os, ExternalReference)
const Runtime::Function* function =
Runtime::FunctionForEntry(reference.address());
case Constant::kFloat64:
return os << constant.ToFloat64();
case Constant::kExternalReference:
- return os << constant.ToExternalReference().address();
+ return os << static_cast<const void*>(
+ constant.ToExternalReference().address());
case Constant::kHeapObject:
return os << Brief(*constant.ToHeapObject());
}