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

Unified Diff: src/interpreter/interpreter.h

Issue 2343633002: [interpreter] Add a fast path for dynamic local load (Closed)
Patch Set: Disable clang format for the new 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
Index: src/interpreter/interpreter.h
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
index fda8b5f387daf032c5633b3beb82883adc3deba3..54581884f369af6667537d2ca3a0e0da797d7eee 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -132,6 +132,11 @@ class Interpreter {
void DoLdaLookupSlot(Runtime::FunctionId function_id,
InterpreterAssembler* assembler);
+ // Generates code to perform a lookup slot load via |function_id| that can
+ // fast path to a context slot load
+ void DoLdaLookupContextSlot(Runtime::FunctionId function_id,
+ InterpreterAssembler* assembler);
+
// Generates code to perform a lookup slot store depending on |language_mode|.
void DoStaLookupSlot(LanguageMode language_mode,
InterpreterAssembler* assembler);

Powered by Google App Engine
This is Rietveld 408576698