Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: src/compiler/linkage.cc

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/compiler/linkage.cc
diff --git a/src/compiler/linkage.cc b/src/compiler/linkage.cc
index 08fef67c1f2b25dcd35a6824332ab94d979e2949..3027872ee0deec01cd968e853ddaa4bb57cd652a 100644
--- a/src/compiler/linkage.cc
+++ b/src/compiler/linkage.cc
@@ -51,11 +51,11 @@ bool CallDescriptor::HasSameReturnLocationsAs(
CallDescriptor* Linkage::ComputeIncoming(Zone* zone, CompilationInfo* info) {
if (info->code_stub() != NULL) {
// Use the code stub interface descriptor.
- CallInterfaceDescriptor descriptor =
- info->code_stub()->GetCallInterfaceDescriptor();
- return GetStubCallDescriptor(info->isolate(), zone, descriptor, 0,
- CallDescriptor::kNoFlags,
- Operator::kNoProperties);
+ CodeStub* stub = info->code_stub();
+ CallInterfaceDescriptor descriptor = stub->GetCallInterfaceDescriptor();
+ return GetStubCallDescriptor(
+ info->isolate(), zone, descriptor, stub->GetStackParameterCount(),
+ CallDescriptor::kNoFlags, Operator::kNoProperties);
}
if (info->function() != NULL) {
// If we already have the function literal, use the number of parameters

Powered by Google App Engine
This is Rietveld 408576698