Index: src/compiler/wasm-linkage.cc |
diff --git a/src/compiler/wasm-linkage.cc b/src/compiler/wasm-linkage.cc |
index 02412eb25b3c7731b6330157fdb5593f7450dc08..14d7e93d84cc029ea066bcc5194c599ca962a466 100644 |
--- a/src/compiler/wasm-linkage.cc |
+++ b/src/compiler/wasm-linkage.cc |
@@ -199,11 +199,7 @@ struct Allocator { |
return type == kAstF32 || type == kAstF64; |
} |
int Words(LocalType type) { |
- // The code generation for pushing parameters on the stack does not |
- // distinguish between float32 and float64. Therefore also float32 needs |
- // two words. |
- if (kPointerSize < 8 && |
- (type == kAstI64 || type == kAstF64 || type == kAstF32)) { |
+ if (kPointerSize < 8 && (type == kAstI64 || type == kAstF64)) { |
return 2; |
} |
return 1; |