Index: test/cctest/compiler/test-run-inlining.cc |
diff --git a/test/cctest/compiler/test-run-inlining.cc b/test/cctest/compiler/test-run-inlining.cc |
index 4bbb1eb369b9098aadaa33a0cb5d2b8cbac5185a..19b96bad504afd5277650e147da1e7566da59417 100644 |
--- a/test/cctest/compiler/test-run-inlining.cc |
+++ b/test/cctest/compiler/test-run-inlining.cc |
@@ -25,7 +25,8 @@ static void AssertInlineCount(const v8::FunctionCallbackInfo<v8::Value>& args) { |
frames_seen++; |
it.Advance(); |
} |
- CHECK_EQ(args[0]->ToInt32()->Value(), topmost->GetInlineCount()); |
+ CHECK_EQ(args[0]->ToInt32(args.GetIsolate())->Value(), |
+ topmost->GetInlineCount()); |
} |