Index: test/cctest/compiler/test-linkage.cc |
diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc |
index 252c43133e204c70fc13821a249b036aaea59e71..cbfde03ca665e75e1ea69dc050b0617a56e7dd10 100644 |
--- a/test/cctest/compiler/test-linkage.cc |
+++ b/test/cctest/compiler/test-linkage.cc |
@@ -80,7 +80,7 @@ TEST(TestLinkageCodeStubIncoming) { |
CompilationInfo info(&stub, isolate, &zone); |
CallDescriptor* descriptor = Linkage::ComputeIncoming(&zone, &info); |
CHECK(descriptor); |
- CHECK_EQ(1, static_cast<int>(descriptor->JSParameterCount())); |
+ CHECK_EQ(0, static_cast<int>(descriptor->StackParameterCount())); |
CHECK_EQ(1, static_cast<int>(descriptor->ReturnCount())); |
CHECK_EQ(Operator::kNoProperties, descriptor->properties()); |
CHECK_EQ(false, descriptor->IsJSFunctionCall()); |