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

Unified Diff: src/compiler/ast-graph-builder.h

Issue 1224793002: Loads and stores to global vars are now made via property cell shortcuts installed into parent scri… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressing comments Created 5 years, 5 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/code-stubs-hydrogen.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/ast-graph-builder.h
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h
index 07de774c45bca73e69bc0048888c814d28cdce50..47a6197e5d22409a8b83f21e3f10c1962f2a0330 100644
--- a/src/compiler/ast-graph-builder.h
+++ b/src/compiler/ast-graph-builder.h
@@ -307,10 +307,12 @@ class AstGraphBuilder : public AstVisitor {
const VectorSlotPair& feedback);
// Builders for global variable loads and stores.
- Node* BuildGlobalLoad(Node* global, Handle<Name> name,
- const VectorSlotPair& feedback, ContextualMode mode);
- Node* BuildGlobalStore(Node* global, Handle<Name> name, Node* value,
- const VectorSlotPair& feedback, TypeFeedbackId id);
+ Node* BuildGlobalLoad(Node* script_context, Node* global, Handle<Name> name,
+ const VectorSlotPair& feedback, ContextualMode mode,
+ int slot_index);
+ Node* BuildGlobalStore(Node* script_context, Node* global, Handle<Name> name,
+ Node* value, const VectorSlotPair& feedback,
+ TypeFeedbackId id, int slot_index);
// Builders for accessing the function context.
Node* BuildLoadBuiltinsObject();
« no previous file with comments | « src/code-stubs-hydrogen.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698