Chromium Code Reviews| Index: src/ia32/lithium-ia32.h |
| diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
| index c97859cfc907a56ccad168f58117581217744b4c..00e766205f39572900d5cbeababa3e2da04eb87e 100644 |
| --- a/src/ia32/lithium-ia32.h |
| +++ b/src/ia32/lithium-ia32.h |
| @@ -88,6 +88,7 @@ class LGapNode; |
| // LGlobalReceiver |
| // LLabel |
| // LLayzBailout |
| +// LLoadContextSlot |
| // LLoadGlobal |
| // LMaterializedLiteral |
| // LArrayLiteral |
| @@ -216,6 +217,7 @@ class LGapNode; |
| V(ClassOfTestAndBranch) \ |
| V(Label) \ |
| V(LazyBailout) \ |
| + V(LoadContextSlot) \ |
| V(LoadElements) \ |
| V(LoadGlobal) \ |
| V(LoadKeyedFastElement) \ |
| @@ -1281,6 +1283,13 @@ class LStoreGlobal: public LUnaryOperation { |
| }; |
| +class LLoadContextSlot: public LInstruction { |
| + public: |
|
fschneider
2010/12/13 19:00:18
Please also implement the PrintDataTo function.
antonm
2010/12/13 22:41:04
Done.
|
| + DECLARE_CONCRETE_INSTRUCTION(LoadContextSlot, "load-context-slot") |
| + DECLARE_HYDROGEN_ACCESSOR(LoadContextSlot) |
| +}; |
| + |
| + |
| class LPushArgument: public LUnaryOperation { |
| public: |
| explicit LPushArgument(LOperand* argument) : LUnaryOperation(argument) {} |