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

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

Issue 2343633002: [interpreter] Add a fast path for dynamic local load (Closed)
Patch Set: Fix extension slot word size in equality test Created 4 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
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter-assembler.h
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h
index 5ae80fdd739f01a80dbd09cf0f16c1b7cfefd11f..9dda20af4877ac58fbafba90b0d91f0578d8d44c 100644
--- a/src/interpreter/interpreter-assembler.h
+++ b/src/interpreter/interpreter-assembler.h
@@ -56,10 +56,15 @@ class InterpreterAssembler : public CodeStubAssembler {
compiler::Node* GetContext();
void SetContext(compiler::Node* value);
- // Context at |depth| in the context chain starting at |context|
+ // Context at |depth| in the context chain starting at |context|.
compiler::Node* GetContextAtDepth(compiler::Node* context,
compiler::Node* depth);
+ // Goto the given |target| if the context chain starting at |context| has any
+ // extensions up to the given |depth|.
+ void GotoIfHasContextExtensionUpToDepth(compiler::Node* context,
+ compiler::Node* depth, Label* target);
+
// Number of registers.
compiler::Node* RegisterCount();
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | src/interpreter/interpreter-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698