Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 7319abe6ddefc7625f68fc47a2f30fe96638ca0d..bfac6e2c149fa6d54adfecb8a68690a9652752b1 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -48,8 +48,6 @@ AstSentinels::AstSentinels() |
// ---------------------------------------------------------------------------- |
// All the Accept member functions for each syntax tree node type. |
-void Slot::Accept(AstVisitor* v) { v->VisitSlot(this); } |
- |
#define DECL_ACCEPT(type) \ |
void type::Accept(AstVisitor* v) { v->Visit##type(this); } |
AST_NODE_LIST(DECL_ACCEPT) |
@@ -414,12 +412,6 @@ bool TargetCollector::IsInlineable() const { |
} |
-bool Slot::IsInlineable() const { |
- UNREACHABLE(); |
- return false; |
-} |
- |
- |
bool ForInStatement::IsInlineable() const { |
return false; |
} |
@@ -566,7 +558,7 @@ bool Conditional::IsInlineable() const { |
bool VariableProxy::IsInlineable() const { |
- return var()->is_global() || var()->IsStackAllocated(); |
+ return var()->IsUnallocated() || var()->IsStackAllocated(); |
} |