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

Unified Diff: src/objects.h

Issue 2839623003: [modules] Factor out cell load into helper function. (Closed)
Patch Set: Created 3 years, 8 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/objects.h
diff --git a/src/objects.h b/src/objects.h
index b9366c18acbac87f4a19fb76d7b2e5197129b304..aef9185ff998d52e3b7d636098adf850c4f07d20 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6733,6 +6733,7 @@ class Module : public Struct {
// Implementation of spec operation ModuleEvaluation.
static MUST_USE_RESULT MaybeHandle<Object> Evaluate(Handle<Module> module);
+ static Cell* GetCell(Module* module, int cell_index);
Michael Starzinger 2017/04/27 09:51:02 nit: Since this is an unhandlified method, I would
static Handle<Object> LoadVariable(Handle<Module> module, int cell_index);
static void StoreVariable(Handle<Module> module, int cell_index,
Handle<Object> value);

Powered by Google App Engine
This is Rietveld 408576698