Commit b8a95b35 authored by aseemgarg's avatar aseemgarg Committed by Commit bot

[wasm] fix asm.js type for param type annotation statements

R=bradnelson@chromium.org
BUG=v8:5809

Review-Url: https://codereview.chromium.org/2625853003
Cr-Commit-Position: refs/heads/master@{#42207}
parent 96ddbf5b
......@@ -1163,6 +1163,7 @@ AsmType* AsmTyper::ValidateFunction(FunctionDeclaration* fun_decl) {
parameter_types.push_back(type);
SetTypeOf(proxy, type);
SetTypeOf(expr, type);
SetTypeOf(expr->value(), type);
}
if (static_cast<int>(annotated_parameters) != fun->parameter_count()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment