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

Unified Diff: src/code-stub-assembler.h

Issue 2325013004: [stubs] Port LoadScriptContextFieldStub and StoreScriptContextFieldStub to TurboFan. (Closed)
Patch Set: Rebasing 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 | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stub-assembler.h
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h
index b14a6b0c1c1e80bd6aafab21e3d6bbabb3d9e354..d34f58c4854681062a2afb882b9eaaf3590182b7 100644
--- a/src/code-stub-assembler.h
+++ b/src/code-stub-assembler.h
@@ -274,6 +274,7 @@ class CodeStubAssembler : public compiler::CodeAssembler {
MachineType machine_type = MachineType::Float64());
// Context manipulation
+ compiler::Node* LoadContextElement(compiler::Node* context, int slot_index);
compiler::Node* LoadNativeContext(compiler::Node* context);
compiler::Node* LoadJSArrayElementsMap(ElementsKind kind,
@@ -658,6 +659,9 @@ class CodeStubAssembler : public compiler::CodeAssembler {
EmitKeyedSloppyArguments(receiver, key, value, bailout);
}
+ // Loads script context from the script context table.
+ compiler::Node* LoadScriptContext(compiler::Node* context, int context_index);
+
void LoadIC(const LoadICParameters* p);
void LoadGlobalIC(const LoadICParameters* p);
void KeyedLoadIC(const LoadICParameters* p);
« no previous file with comments | « no previous file | src/code-stub-assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698