| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_AST_H_ | 5 #ifndef VM_AST_H_ |
| 6 #define VM_AST_H_ | 6 #define VM_AST_H_ |
| 7 | 7 |
| 8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
| 9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
| 10 #include "vm/growable_array.h" | 10 #include "vm/growable_array.h" |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1219 DECLARE_COMMON_NODE_FUNCTIONS(StoreLocalNode); | 1219 DECLARE_COMMON_NODE_FUNCTIONS(StoreLocalNode); |
| 1220 | 1220 |
| 1221 private: | 1221 private: |
| 1222 const LocalVariable& local_; | 1222 const LocalVariable& local_; |
| 1223 AstNode* value_; | 1223 AstNode* value_; |
| 1224 | 1224 |
| 1225 DISALLOW_IMPLICIT_CONSTRUCTORS(StoreLocalNode); | 1225 DISALLOW_IMPLICIT_CONSTRUCTORS(StoreLocalNode); |
| 1226 }; | 1226 }; |
| 1227 | 1227 |
| 1228 | 1228 |
| 1229 | |
| 1230 class LoadInstanceFieldNode : public AstNode { | 1229 class LoadInstanceFieldNode : public AstNode { |
| 1231 public: | 1230 public: |
| 1232 LoadInstanceFieldNode(intptr_t token_pos, | 1231 LoadInstanceFieldNode(intptr_t token_pos, |
| 1233 AstNode* instance, | 1232 AstNode* instance, |
| 1234 const Field& field) | 1233 const Field& field) |
| 1235 : AstNode(token_pos), instance_(instance), field_(field) { | 1234 : AstNode(token_pos), instance_(instance), field_(field) { |
| 1236 ASSERT(instance_ != NULL); | 1235 ASSERT(instance_ != NULL); |
| 1237 ASSERT(field_.IsZoneHandle()); | 1236 ASSERT(field_.IsZoneHandle()); |
| 1238 } | 1237 } |
| 1239 | 1238 |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2028 const intptr_t try_index_; | 2027 const intptr_t try_index_; |
| 2029 | 2028 |
| 2030 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); | 2029 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); |
| 2031 }; | 2030 }; |
| 2032 | 2031 |
| 2033 } // namespace dart | 2032 } // namespace dart |
| 2034 | 2033 |
| 2035 #undef DECLARE_COMMON_NODE_FUNCTIONS | 2034 #undef DECLARE_COMMON_NODE_FUNCTIONS |
| 2036 | 2035 |
| 2037 #endif // VM_AST_H_ | 2036 #endif // VM_AST_H_ |
| OLD | NEW |