Index: test/cctest/test-cpu-profiler.cc |
diff --git a/test/cctest/test-cpu-profiler.cc b/test/cctest/test-cpu-profiler.cc |
index e074732120271fef0cee3bdffc9b5fa38a6ad7e9..23524598fa576251351b04523a3b8bbe5b6f3b7a 100644 |
--- a/test/cctest/test-cpu-profiler.cc |
+++ b/test/cctest/test-cpu-profiler.cc |
@@ -1671,9 +1671,11 @@ static void CheckFunctionDetails(v8::Isolate* isolate, |
int script_id, int line, int column) { |
v8::Local<v8::Context> context = isolate->GetCurrentContext(); |
CHECK(v8_str(name)->Equals(context, node->GetFunctionName()).FromJust()); |
+ CHECK_EQ(0, strcmp(name, node->GetFunctionNameStr())); |
CHECK(v8_str(script_name) |
->Equals(context, node->GetScriptResourceName()) |
.FromJust()); |
+ CHECK_EQ(0, strcmp(script_name, node->GetScriptResourceNameStr())); |
CHECK_EQ(script_id, node->GetScriptId()); |
CHECK_EQ(line, node->GetLineNumber()); |
CHECK_EQ(column, node->GetColumnNumber()); |