| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 087253a6550470ec84731a74f08f295707249e24..fca3aabf3a1dfa27ed5e6410a2437525e4ec00eb 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -337,10 +337,6 @@ class Expression : public AstNode {
|
| // names because [] for string objects is handled only by keyed ICs.
|
| virtual bool IsPropertyName() const { return false; }
|
|
|
| - // True iff the result can be safely overwritten (to avoid allocation).
|
| - // False for operations that can return one of their operands.
|
| - virtual bool ResultOverwriteAllowed() const { return false; }
|
| -
|
| // True iff the expression is a literal represented as a smi.
|
| bool IsSmiLiteral() const;
|
|
|
| @@ -2078,8 +2074,6 @@ class BinaryOperation FINAL : public Expression {
|
| public:
|
| DECLARE_NODE_TYPE(BinaryOperation)
|
|
|
| - bool ResultOverwriteAllowed() const OVERRIDE;
|
| -
|
| Token::Value op() const { return static_cast<Token::Value>(op_); }
|
| Expression* left() const { return left_; }
|
| Expression* right() const { return right_; }
|
|
|