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

Unified Diff: src/compiler/interpreter-assembler.h

Issue 1378523005: [Interpreter] Add support for global declarations and load/store of global variables (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_toplevel
Patch Set: Created 5 years, 3 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/compiler/interpreter-assembler.h
diff --git a/src/compiler/interpreter-assembler.h b/src/compiler/interpreter-assembler.h
index f93dc5a1e2c0546fd713dc437807b1cbd2fdf069..6f5bceae9a82f4e2e96281250ab463c8408ad8f7 100644
--- a/src/compiler/interpreter-assembler.h
+++ b/src/compiler/interpreter-assembler.h
@@ -90,11 +90,8 @@ class InterpreterAssembler {
// Load a field from an object on the heap.
Node* LoadObjectField(Node* object, int offset);
- // Load |slot_index| from a context.
- Node* LoadContextSlot(Node* context, int slot_index);
-
- // Load |slot_index| from the current context.
- Node* LoadContextSlot(int slot_index);
+ // Load |slot_index| from |context|.
+ Node* LoadContextSlot(Node* context, Node* slot_index);
// Load the TypeFeedbackVector for the current function.
Node* LoadTypeFeedbackVector();

Powered by Google App Engine
This is Rietveld 408576698