diff options
Diffstat (limited to 'deps/v8/src/rewriter.cc')
-rw-r--r-- | deps/v8/src/rewriter.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/rewriter.cc b/deps/v8/src/rewriter.cc index 4ddf1bf6f1..f253ec5337 100644 --- a/deps/v8/src/rewriter.cc +++ b/deps/v8/src/rewriter.cc @@ -525,8 +525,8 @@ void AstOptimizer::VisitBinaryOperation(BinaryOperation* node) { Variable* rvar = rvar_proxy->AsVariable(); if (lvar != NULL && rvar != NULL) { if (lvar->mode() == Variable::VAR && rvar->mode() == Variable::VAR) { - Slot* lslot = lvar->slot(); - Slot* rslot = rvar->slot(); + Slot* lslot = lvar->AsSlot(); + Slot* rslot = rvar->AsSlot(); if (lslot->type() == rslot->type() && (lslot->type() == Slot::PARAMETER || lslot->type() == Slot::LOCAL) && @@ -692,7 +692,7 @@ class Processor: public AstVisitor { } void Process(ZoneList<Statement*>* statements); - bool result_assigned() const { return result_assigned_; } + bool result_assigned() const { return result_assigned_; } private: VariableProxy* result_; |