Index: src/lithium.h |
diff --git a/src/lithium.h b/src/lithium.h |
index 754f88da82184816de334a89daf09a86a55c1231..439479cb41e43df4398f9530910cfac0c9061f49 100644 |
--- a/src/lithium.h |
+++ b/src/lithium.h |
@@ -52,8 +52,7 @@ class LOperand : public ZoneObject { |
STACK_SLOT, |
DOUBLE_STACK_SLOT, |
REGISTER, |
- DOUBLE_REGISTER, |
- ARGUMENT |
+ DOUBLE_REGISTER |
}; |
LOperand() : value_(KindField::encode(INVALID)) { } |
@@ -63,7 +62,6 @@ class LOperand : public ZoneObject { |
#define LITHIUM_OPERAND_PREDICATE(name, type) \ |
bool Is##name() const { return kind() == type; } |
LITHIUM_OPERAND_LIST(LITHIUM_OPERAND_PREDICATE) |
- LITHIUM_OPERAND_PREDICATE(Argument, ARGUMENT) |
LITHIUM_OPERAND_PREDICATE(Unallocated, UNALLOCATED) |
LITHIUM_OPERAND_PREDICATE(Ignored, INVALID) |
#undef LITHIUM_OPERAND_PREDICATE |
@@ -342,17 +340,6 @@ class LConstantOperand V8_FINAL : public LOperand { |
}; |
-class LArgument V8_FINAL : public LOperand { |
- public: |
- explicit LArgument(int index) : LOperand(ARGUMENT, index) { } |
- |
- static LArgument* cast(LOperand* op) { |
- ASSERT(op->IsArgument()); |
- return reinterpret_cast<LArgument*>(op); |
- } |
-}; |
- |
- |
class LStackSlot V8_FINAL : public LOperand { |
public: |
static LStackSlot* Create(int index, Zone* zone) { |
@@ -679,7 +666,7 @@ class ShallowIterator V8_FINAL BASE_EMBEDDED { |
private: |
bool ShouldSkip(LOperand* op) { |
- return op == NULL || op->IsConstantOperand() || op->IsArgument(); |
+ return op == NULL || op->IsConstantOperand(); |
} |
// Skip until something interesting, beginning with and including current_. |