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

Unified Diff: src/ast/ast.h

Issue 2398023002: [wasm] asm.js - Parse and convert asm.js to wasm a function at a time. (Closed)
Patch Set: Created 4 years, 2 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
Index: src/ast/ast.h
diff --git a/src/ast/ast.h b/src/ast/ast.h
index a6661becf25a7cdf2d1a95dfacf31a48e66a7034..73598243b154521abb9e68ffa627681e4171c0a3 100644
--- a/src/ast/ast.h
+++ b/src/ast/ast.h
@@ -2578,6 +2578,7 @@ class FunctionLiteral final : public Expression {
void set_raw_name(const AstString* name) { raw_name_ = name; }
DeclarationScope* scope() const { return scope_; }
ZoneList<Statement*>* body() const { return body_; }
+ void set_body(ZoneList<Statement*>* body) { body_ = body; }
void set_function_token_position(int pos) { function_token_position_ = pos; }
int function_token_position() const { return function_token_position_; }
int start_position() const;

Powered by Google App Engine
This is Rietveld 408576698