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