| OLD | NEW | 
|   1 // Copyright 2014 the V8 project authors. All rights reserved. |   1 // Copyright 2014 the V8 project authors. All rights reserved. | 
|   2 // Use of this source code is governed by a BSD-style license that can be |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 #ifndef V8_AST_THIS_ACCESS_VISITOR_H_ |   5 #ifndef V8_AST_THIS_ACCESS_VISITOR_H_ | 
|   6 #define V8_AST_THIS_ACCESS_VISITOR_H_ |   6 #define V8_AST_THIS_ACCESS_VISITOR_H_ | 
|   7 #include "src/ast.h" |   7 #include "src/ast.h" | 
|   8  |   8  | 
|   9 namespace v8 { |   9 namespace v8 { | 
|  10 namespace internal { |  10 namespace internal { | 
| (...skipping 12 matching lines...) Expand all  Loading... | 
|  23   bool uses_this_; |  23   bool uses_this_; | 
|  24  |  24  | 
|  25   void VisitIfNotNull(AstNode* node) { |  25   void VisitIfNotNull(AstNode* node) { | 
|  26     if (node != NULL) Visit(node); |  26     if (node != NULL) Visit(node); | 
|  27   } |  27   } | 
|  28  |  28  | 
|  29   DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); |  29   DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); | 
|  30   DISALLOW_COPY_AND_ASSIGN(AstThisAccessVisitor); |  30   DISALLOW_COPY_AND_ASSIGN(AstThisAccessVisitor); | 
|  31 }; |  31 }; | 
|  32 } |  32 } | 
|  33 }  // namespace v8::intrenal |  33 }  // namespace v8::internal | 
|  34 #endif  // V8_AST_THIS_ACCESS_VISITOR_H_ |  34 #endif  // V8_AST_THIS_ACCESS_VISITOR_H_ | 
| OLD | NEW |