Chromium Code Reviews

Unified Diff: src/asmjs/asm-typer.h

Issue 2648353010: [wasm][asm.js] Permit ternary operator in asm.js returns in some cases. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/asmjs/asm-typer.cc » ('j') | src/asmjs/asm-typer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/asmjs/asm-typer.h
diff --git a/src/asmjs/asm-typer.h b/src/asmjs/asm-typer.h
index 20e3a34695617f02eadfd002a0ac0a2113535a96..965137383e861e704fcaeffd91e710127c0e2210 100644
--- a/src/asmjs/asm-typer.h
+++ b/src/asmjs/asm-typer.h
@@ -364,7 +364,7 @@ class AsmTyper final {
AsmType* ParameterTypeAnnotations(Variable* parameter,
Expression* annotation);
// 5.2 ReturnTypeAnnotations
- AsmType* ReturnTypeAnnotations(ReturnStatement* statement);
+ AsmType* ReturnTypeAnnotations(Expression* ret_expr);
// 5.4 VariableTypeAnnotations
// 5.5 GlobalVariableTypeAnnotations
AsmType* VariableTypeAnnotations(
« no previous file with comments | « no previous file | src/asmjs/asm-typer.cc » ('j') | src/asmjs/asm-typer.cc » ('J')

Powered by Google App Engine