Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index 0f7f95de00fd6b78cedb7fa4c1be1c03b4c7b89d..9241d8355f7079691a01d1dc18e3994f93b2ae94 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -1470,7 +1470,7 @@ void CodeGenerator::AssembleReturn() { |
int pop_count = descriptor->IsJSFunctionCall() |
? static_cast<int>(descriptor->JSParameterCount()) |
: 0; |
- __ ret(pop_count * kPointerSize); |
+ __ Ret(pop_count * kPointerSize, rbx); |
} else { |
__ ret(0); |
} |