| 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 106ac991c1eb93f376d4c0eb49fea2197659043b..8ea9f7901d50de2c6ddb321a36f57ea42f17103d 100644
|
| --- a/test/cctest/test-log-stack-tracer.cc
|
| +++ b/test/cctest/test-log-stack-tracer.cc
|
| @@ -315,6 +315,9 @@ TEST(PureJSStackTrace) {
|
| " JSTrace();"
|
| "};\n"
|
| "OuterJSTrace();");
|
| + // The last JS function called.
|
| + CHECK_EQ(GetGlobalJSFunction("JSFuncDoTrace")->address(),
|
| + sample.function);
|
| CHECK_GT(sample.frames_count, 1);
|
| // Stack sampling will start from the caller of JSFuncDoTrace, i.e. "JSTrace"
|
| CheckRetAddrIsInJSFunction("JSTrace",
|
|
|