Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 15aa385851db47b46233de986c0a7afc9d5c4b42..36ca5efb26c15d4a6229931d1cf7517ebe6f3aca 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -2276,7 +2276,7 @@ class HCallWithDescriptor final : public HInstruction { |
} else { |
int par_index = index - 1; |
DCHECK(par_index < descriptor_.GetEnvironmentLength()); |
- return descriptor_.GetParameterRepresentation(par_index); |
+ return RepresentationFromType(descriptor_.GetParameterType(par_index)); |
} |
} |