| Index: test/cctest/test-log-stack-tracer.cc
|
| diff --git a/test/cctest/test-log-stack-tracer.cc b/test/cctest/test-log-stack-tracer.cc
|
| index 334a2010532bd3373b7547ede2ff4142ea7988e7..032e0c33c669857dcfa0218349ccae62ee0d33bd 100644
|
| --- a/test/cctest/test-log-stack-tracer.cc
|
| +++ b/test/cctest/test-log-stack-tracer.cc
|
| @@ -64,11 +64,11 @@ static bool IsAddressWithinFuncCode(JSFunction* function, Address addr) {
|
|
|
| static bool IsAddressWithinFuncCode(v8::Local<v8::Context> context,
|
| const char* func_name,
|
| - Address addr) {
|
| + void* addr) {
|
| v8::Local<v8::Value> func = context->Global()->Get(v8_str(func_name));
|
| CHECK(func->IsFunction());
|
| JSFunction* js_func = JSFunction::cast(*v8::Utils::OpenHandle(*func));
|
| - return IsAddressWithinFuncCode(js_func, addr);
|
| + return IsAddressWithinFuncCode(js_func, static_cast<Address>(addr));
|
| }
|
|
|
|
|
|
|