Revision: 24329
Author: bmeu...@chromium.org
Date: Tue Sep 30 12:49:25 2014 UTC
Log: More follow-up fixes to r24322.
TBR=svenpa...@chromium.org
Review URL: https://codereview.chromium.org/616853002
https://code.google.com/p/v8/source/detail?r=24329
Modified:
/branches/bleeding_edge/src/compiler/common-operator.cc
/branches/bleeding_edge/src/compiler/instruction.cc
=======================================
--- /branches/bleeding_edge/src/compiler/common-operator.cc Tue Sep 30
10:29:32 2014 UTC
+++ /branches/bleeding_edge/src/compiler/common-operator.cc Tue Sep 30
12:49:25 2014 UTC
@@ -36,7 +36,7 @@
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());
=======================================
--- /branches/bleeding_edge/src/compiler/instruction.cc Tue Sep 30 10:29:32
2014 UTC
+++ /branches/bleeding_edge/src/compiler/instruction.cc Tue Sep 30 12:49:25
2014 UTC
@@ -306,7 +306,8 @@
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());
}
--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.