Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 6a2aa006540f4e295a897932aac3591a6bd264cc..85c04685bad2a90503069ea9ea1747e9f384793a 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -80,7 +80,6 @@ class LCodeGen; |
V(CmpMapAndBranch) \ |
V(CmpT) \ |
V(ConstantD) \ |
- V(ConstantE) \ |
V(ConstantI) \ |
V(ConstantS) \ |
V(ConstantT) \ |
@@ -272,7 +271,7 @@ class LInstruction: public ZoneObject { |
} |
virtual bool HasResult() const = 0; |
- virtual LOperand* result() const = 0; |
+ virtual LOperand* result() = 0; |
bool HasDoubleRegisterResult(); |
bool HasDoubleRegisterInput(); |
@@ -312,9 +311,9 @@ class LTemplateInstruction: public LInstruction { |
public: |
// Allow 0 or 1 output operands. |
STATIC_ASSERT(R == 0 || R == 1); |
- virtual bool HasResult() const { return R != 0 && result() != NULL; } |
+ virtual bool HasResult() const { return R != 0; } |
void set_result(LOperand* operand) { results_[0] = operand; } |
- LOperand* result() const { return results_[0]; } |
+ LOperand* result() { return results_[0]; } |
protected: |
EmbeddedContainer<LOperand*, R> results_; |
@@ -1209,17 +1208,6 @@ class LConstantD: public LTemplateInstruction<1, 0, 1> { |
}; |
-class LConstantE: public LTemplateInstruction<1, 0, 0> { |
- public: |
- DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
- DECLARE_HYDROGEN_ACCESSOR(Constant) |
- |
- ExternalReference value() const { |
- return hydrogen()->ExternalReferenceValue(); |
- } |
-}; |
- |
- |
class LConstantT: public LTemplateInstruction<1, 0, 0> { |
public: |
DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |