Chromium Code Reviews| Index: src/ast.h |
| diff --git a/src/ast.h b/src/ast.h |
| index 13ef6c82a7f3992dd13b70d6da6bf63159371a3a..13502dc2a8082736289c7352ee4d625f50badf35 100644 |
| --- a/src/ast.h |
| +++ b/src/ast.h |
| @@ -1047,6 +1047,8 @@ class Slot: public Expression { |
| virtual bool IsLeaf() { return true; } |
| + bool IsStackAllocated() { return type_ == PARAMETER || type_ == LOCAL; } |
| + |
| // Accessors |
| Variable* var() const { return var_; } |
| Type type() const { return type_; } |