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

Unified Diff: src/asmjs/asm-wasm-builder.h

Issue 2583113002: Use preexisting SharedFunctionInfos in the asm-wasm builder (Closed)
Patch Set: comment Created 4 years 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-wasm-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/asmjs/asm-wasm-builder.h
diff --git a/src/asmjs/asm-wasm-builder.h b/src/asmjs/asm-wasm-builder.h
index 0b480733b03b0005237ef8cb627804bf0d032309..a5db096683b696eda52202a72da9c79caf8cae9f 100644
--- a/src/asmjs/asm-wasm-builder.h
+++ b/src/asmjs/asm-wasm-builder.h
@@ -14,8 +14,7 @@
namespace v8 {
namespace internal {
-class FunctionLiteral;
-class Script;
+class CompilationInfo;
namespace wasm {
@@ -27,9 +26,7 @@ class AsmWasmBuilder {
bool success;
};
- explicit AsmWasmBuilder(Isolate* isolate, Zone* zone,
- AstValueFactory* ast_value_factory,
- Handle<Script> script, FunctionLiteral* root);
+ explicit AsmWasmBuilder(CompilationInfo* info);
Result Run(Handle<FixedArray>* foreign_args);
static const char* foreign_init_name;
@@ -38,11 +35,7 @@ class AsmWasmBuilder {
const AsmTyper* typer() { return &typer_; }
private:
- Isolate* isolate_;
- Zone* zone_;
- AstValueFactory* ast_value_factory_;
- Handle<Script> script_;
- FunctionLiteral* literal_;
+ CompilationInfo* info_;
AsmTyper typer_;
};
} // namespace wasm
« no previous file with comments | « src/asmjs/asm-js.cc ('k') | src/asmjs/asm-wasm-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698