Index: test/cctest/compiler/test-linkage.cc |
diff --git a/test/cctest/compiler/test-linkage.cc b/test/cctest/compiler/test-linkage.cc |
index 6d9453f7c46e48f4be33df3e72e4c0960ff4028b..ff65d6e4d6151a9577421f982f4d0441440628e5 100644 |
--- a/test/cctest/compiler/test-linkage.cc |
+++ b/test/cctest/compiler/test-linkage.cc |
@@ -65,7 +65,7 @@ TEST(TestLinkageJSFunctionIncoming) { |
CallDescriptor* descriptor = linkage.GetIncomingDescriptor(); |
CHECK_NE(NULL, descriptor); |
- CHECK_EQ(1 + i, descriptor->ParameterCount()); |
+ CHECK_EQ(1 + i, descriptor->JSParameterCount()); |
CHECK_EQ(1, descriptor->ReturnCount()); |
CHECK_EQ(Operator::kNoProperties, descriptor->properties()); |
CHECK_EQ(true, descriptor->IsJSFunctionCall()); |
@@ -92,7 +92,7 @@ TEST(TestLinkageJSCall) { |
for (int i = 0; i < 32; i++) { |
CallDescriptor* descriptor = linkage.GetJSCallDescriptor(i); |
CHECK_NE(NULL, descriptor); |
- CHECK_EQ(i, descriptor->ParameterCount()); |
+ CHECK_EQ(i, descriptor->JSParameterCount()); |
CHECK_EQ(1, descriptor->ReturnCount()); |
CHECK_EQ(Operator::kNoProperties, descriptor->properties()); |
CHECK_EQ(true, descriptor->IsJSFunctionCall()); |