| 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..c604bec24e2071ac25208eae958ac02d74298953 100644
|
| --- a/test/cctest/test-log-stack-tracer.cc
|
| +++ b/test/cctest/test-log-stack-tracer.cc
|
| @@ -176,8 +176,11 @@ TEST(CFromJSStackTrace) {
|
| CHECK_GT(sample.frames_count, base + 1);
|
|
|
| CHECK(IsAddressWithinFuncCode(
|
| - context, "JSFuncDoTrace", sample.stack[base + 0]));
|
| - CHECK(IsAddressWithinFuncCode(context, "JSTrace", sample.stack[base + 1]));
|
| + context, "JSFuncDoTrace",
|
| + reinterpret_cast<Address>(sample.stack[base + 0])));
|
| + CHECK(IsAddressWithinFuncCode(
|
| + context, "JSTrace",
|
| + reinterpret_cast<Address>(sample.stack[base + 1])));
|
| }
|
|
|
|
|
| @@ -227,9 +230,12 @@ TEST(PureJSStackTrace) {
|
| // Stack sampling will start from the caller of JSFuncDoTrace, i.e. "JSTrace"
|
| unsigned base = 0;
|
| CHECK_GT(sample.frames_count, base + 1);
|
| - CHECK(IsAddressWithinFuncCode(context, "JSTrace", sample.stack[base + 0]));
|
| CHECK(IsAddressWithinFuncCode(
|
| - context, "OuterJSTrace", sample.stack[base + 1]));
|
| + context, "JSTrace",
|
| + reinterpret_cast<Address>(sample.stack[base + 0])));
|
| + CHECK(IsAddressWithinFuncCode(
|
| + context, "OuterJSTrace",
|
| + reinterpret_cast<Address>(sample.stack[base + 1])));
|
| }
|
|
|
|
|
|
|