| 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 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 857 if (node_id == load_id()) { | 857 if (node_id == load_id()) { |
| 858 return ic_data(); | 858 return ic_data(); |
| 859 } else if (node_id == operator_id()) { | 859 } else if (node_id == operator_id()) { |
| 860 return operator_ic_data_; | 860 return operator_ic_data_; |
| 861 } else { | 861 } else { |
| 862 ASSERT(node_id == store_id()); | 862 ASSERT(node_id == store_id()); |
| 863 return store_ic_data_; | 863 return store_ic_data_; |
| 864 } | 864 } |
| 865 } | 865 } |
| 866 | 866 |
| 867 virtual void SetIcDataArrayAtId(intptr_t node_id, const ICData& value) { | 867 virtual void SetIcDataAtId(intptr_t node_id, const ICData& value) { |
| 868 ASSERT(HasId(node_id)); | 868 ASSERT(HasId(node_id)); |
| 869 if (node_id == load_id()) { | 869 if (node_id == load_id()) { |
| 870 set_ic_data(value); | 870 set_ic_data(value); |
| 871 } else if (node_id == operator_id()) { | 871 } else if (node_id == operator_id()) { |
| 872 operator_ic_data_ = value.raw(); | 872 operator_ic_data_ = value.raw(); |
| 873 } else { | 873 } else { |
| 874 ASSERT(node_id == store_id()); | 874 ASSERT(node_id == store_id()); |
| 875 store_ic_data_ = value.raw(); | 875 store_ic_data_ = value.raw(); |
| 876 } | 876 } |
| 877 } | 877 } |
| (...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1914 const LocalVariable& context_var_; | 1914 const LocalVariable& context_var_; |
| 1915 | 1915 |
| 1916 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); | 1916 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); |
| 1917 }; | 1917 }; |
| 1918 | 1918 |
| 1919 } // namespace dart | 1919 } // namespace dart |
| 1920 | 1920 |
| 1921 #undef DECLARE_COMMON_NODE_FUNCTIONS | 1921 #undef DECLARE_COMMON_NODE_FUNCTIONS |
| 1922 | 1922 |
| 1923 #endif // VM_AST_H_ | 1923 #endif // VM_AST_H_ |
| OLD | NEW |