Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Unified Diff: src/typing-asm.h

Issue 1951013002: [wasm] Refactor handling of variable info in typing-asm.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/typing-asm.cc » ('j') | src/typing-asm.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/typing-asm.h
diff --git a/src/typing-asm.h b/src/typing-asm.h
index c7984b2965c29fe0825343b3140d65319f14bf48..f5d2516fd5f5982951022d282edb94dd1a03398e 100644
--- a/src/typing-asm.h
+++ b/src/typing-asm.h
@@ -151,7 +151,8 @@ class AsmTyper : public AstVisitor {
void SetType(Variable* variable, Type* type);
Type* GetType(Variable* variable);
- VariableInfo* GetVariableInfo(Variable* variable, bool setting);
+ VariableInfo* GetVariableInfo(Variable* variable);
+ VariableInfo* MakeVariableInfo(Variable* variable);
void SetVariableInfo(Variable* variable, const VariableInfo* info);
VariableInfo* LibType(ObjectTypeMap* map, Handle<String> name);
@@ -165,8 +166,6 @@ class AsmTyper : public AstVisitor {
void VisitLiteral(Literal* expr, bool is_return);
- void VisitVariableProxy(VariableProxy* expr, bool assignment);
-
void VisitIntegerBitwiseOperator(BinaryOperation* expr, Type* left_expected,
Type* right_expected, Type* result_type,
bool conversion);
« no previous file with comments | « no previous file | src/typing-asm.cc » ('j') | src/typing-asm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698