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

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

Issue 2361053004: Revert of [wasm] Master CL for Binary 0xC changes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 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 | « src/asmjs/asm-js.cc ('k') | src/asmjs/asm-typer.cc » ('j') | no next file with comments »
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 4fb402949d8aaa81605b43c34a6806c8bad42062..0d7aa2542076dade88371f9761c913aca1f06a12 100644
--- a/src/asmjs/asm-typer.h
+++ b/src/asmjs/asm-typer.h
@@ -73,25 +73,11 @@
const char* error_message() const { return error_message_; }
AsmType* TypeOf(AstNode* node) const;
- AsmType* TypeOf(Variable* v) const;
StandardMember VariableAsStandardMember(Variable* var);
typedef std::unordered_set<StandardMember, std::hash<int> > StdlibSet;
StdlibSet StdlibUses() const { return stdlib_uses_; }
-
- // Each FFI import has a usage-site signature associated with it.
- struct FFIUseSignature {
- Variable* var;
- ZoneVector<AsmType*> arg_types_;
- AsmType* return_type_;
- FFIUseSignature(Variable* v, Zone* zone)
- : var(v), arg_types_(zone), return_type_(nullptr) {}
- };
-
- const ZoneVector<FFIUseSignature>& FFIUseSignatures() {
- return ffi_use_signatures_;
- }
private:
friend class v8::internal::wasm::AsmTyperHarnessBuilder;
@@ -206,7 +192,7 @@
// Lookup(Delta, Gamma, x)
//
// Delta is the global_scope_ member, and Gamma, local_scope_.
- VariableInfo* Lookup(Variable* variable) const;
+ VariableInfo* Lookup(Variable* variable);
// All of the ValidateXXX methods below return AsmType::None() in case of
// validation failure.
@@ -320,7 +306,6 @@
AsmType* return_type_ = nullptr;
ZoneVector<VariableInfo*> forward_definitions_;
- ZoneVector<FFIUseSignature> ffi_use_signatures_;
ObjectTypeMap stdlib_types_;
ObjectTypeMap stdlib_math_types_;
« no previous file with comments | « src/asmjs/asm-js.cc ('k') | src/asmjs/asm-typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698