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

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

Issue 2782613002: Revert of [wasm][asm.js] Fix and enable several asm.js tests with the new parser. (Closed)
Patch Set: Created 3 years, 9 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/asmjs/asm-parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/asmjs/asm-parser.h
diff --git a/src/asmjs/asm-parser.h b/src/asmjs/asm-parser.h
index ad836b26ff1f3cec9ccf9cd8b42b6e64d86f089f..86aec71636945215fdd008e2c45ad5281b1b97de 100644
--- a/src/asmjs/asm-parser.h
+++ b/src/asmjs/asm-parser.h
@@ -59,8 +59,7 @@
// clang-format on
struct FunctionImportInfo {
- char* function_name;
- size_t function_name_size;
+ std::string name;
SignatureMap cache;
std::vector<uint32_t> cache_index;
};
@@ -81,8 +80,7 @@
};
struct GlobalImport {
- char* import_name;
- size_t import_name_size;
+ std::string import_name;
uint32_t import_index;
uint32_t global_index;
bool needs_init;
@@ -250,7 +248,7 @@
bool ValidateModuleVarImport(VarInfo* info, bool mutable_variable);
void ValidateModuleVarStdlib(VarInfo* info);
void ValidateModuleVarNewStdlib(VarInfo* info);
- void ValidateModuleVarFromGlobal(VarInfo* info, bool mutable_variable);
+ void ValidateModuleVarFloat(VarInfo* info, bool mutable_variable);
void ValidateExport(); // 6.2 ValidateExport
void ValidateFunctionTable(); // 6.3 ValidateFunctionTable
« no previous file with comments | « no previous file | src/asmjs/asm-parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698