| 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 1857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1868 rethrow_stacktrace_var_(*rethrow_stacktrace_var), | 1868 rethrow_stacktrace_var_(*rethrow_stacktrace_var), |
| 1869 catch_handler_index_(catch_handler_index), | 1869 catch_handler_index_(catch_handler_index), |
| 1870 needs_stacktrace_(needs_stacktrace) { | 1870 needs_stacktrace_(needs_stacktrace) { |
| 1871 ASSERT(catch_block_ != NULL); | 1871 ASSERT(catch_block_ != NULL); |
| 1872 ASSERT(handler_types.IsZoneHandle()); | 1872 ASSERT(handler_types.IsZoneHandle()); |
| 1873 ASSERT(context_var != NULL); | 1873 ASSERT(context_var != NULL); |
| 1874 ASSERT(exception_var != NULL); | 1874 ASSERT(exception_var != NULL); |
| 1875 ASSERT(stacktrace_var != NULL); | 1875 ASSERT(stacktrace_var != NULL); |
| 1876 } | 1876 } |
| 1877 | 1877 |
| 1878 SequenceNode* sequence() const { return catch_block_; } |
| 1878 const Array& handler_types() const { return handler_types_; } | 1879 const Array& handler_types() const { return handler_types_; } |
| 1879 const LocalVariable& context_var() const { return context_var_; } | 1880 const LocalVariable& context_var() const { return context_var_; } |
| 1880 const LocalVariable& exception_var() const { return exception_var_; } | 1881 const LocalVariable& exception_var() const { return exception_var_; } |
| 1881 const LocalVariable& stacktrace_var() const { return stacktrace_var_; } | 1882 const LocalVariable& stacktrace_var() const { return stacktrace_var_; } |
| 1882 const LocalVariable& rethrow_exception_var() const { | 1883 const LocalVariable& rethrow_exception_var() const { |
| 1883 return rethrow_exception_var_; | 1884 return rethrow_exception_var_; |
| 1884 } | 1885 } |
| 1885 const LocalVariable& rethrow_stacktrace_var() const { | 1886 const LocalVariable& rethrow_stacktrace_var() const { |
| 1886 return rethrow_stacktrace_var_; | 1887 return rethrow_stacktrace_var_; |
| 1887 } | 1888 } |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2019 const intptr_t try_index_; | 2020 const intptr_t try_index_; |
| 2020 | 2021 |
| 2021 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); | 2022 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); |
| 2022 }; | 2023 }; |
| 2023 | 2024 |
| 2024 } // namespace dart | 2025 } // namespace dart |
| 2025 | 2026 |
| 2026 #undef DECLARE_COMMON_NODE_FUNCTIONS | 2027 #undef DECLARE_COMMON_NODE_FUNCTIONS |
| 2027 | 2028 |
| 2028 #endif // VM_AST_H_ | 2029 #endif // VM_AST_H_ |
| OLD | NEW |