Index: src/asmjs/asm-typer.cc |
diff --git a/src/asmjs/asm-typer.cc b/src/asmjs/asm-typer.cc |
index 40683849dcd22bb129d4a91fab6cf571806f655a..2389551872a8b5e5f63e0da907b1a4aeff1e3f86 100644 |
--- a/src/asmjs/asm-typer.cc |
+++ b/src/asmjs/asm-typer.cc |
@@ -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()) { |