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

Unified Diff: src/x64/lithium-x64.h

Issue 7739018: Inline functions with different contexts in the optimizing code generator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase to current tip-of-tree. Created 9 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/x64/lithium-x64.h
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h
index d169bf6dfc61dcc14e6613a4ec15966dd81e58a9..9903f71408d5043ae62c4766d7133d995f1fb933 100644
--- a/src/x64/lithium-x64.h
+++ b/src/x64/lithium-x64.h
@@ -101,6 +101,7 @@ class LCodeGen;
V(HasCachedArrayIndexAndBranch) \
V(HasInstanceTypeAndBranch) \
V(In) \
+ V(InlinedContext) \
V(InstanceOf) \
V(InstanceOfKnownGlobal) \
V(InstructionGap) \
@@ -1284,6 +1285,15 @@ class LContext: public LTemplateInstruction<1, 0, 0> {
};
+class LInlinedContext: public LTemplateInstruction<1, 0, 0> {
+ public:
+ DECLARE_CONCRETE_INSTRUCTION(InlinedContext, "inlined-context")
+ DECLARE_HYDROGEN_ACCESSOR(InlinedContext)
+
+ Handle<JSFunction> closure() const { return hydrogen()->closure(); }
+};
+
+
class LOuterContext: public LTemplateInstruction<1, 1, 0> {
public:
explicit LOuterContext(LOperand* context) {

Powered by Google App Engine
This is Rietveld 408576698