| 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 RUNTIME_VM_CODE_DESCRIPTORS_H_ | 5 #ifndef RUNTIME_VM_CODE_DESCRIPTORS_H_ |
| 6 #define RUNTIME_VM_CODE_DESCRIPTORS_H_ | 6 #define RUNTIME_VM_CODE_DESCRIPTORS_H_ |
| 7 | 7 |
| 8 #include "vm/ast.h" | 8 #include "vm/ast.h" |
| 9 #include "vm/code_generator.h" | |
| 10 #include "vm/datastream.h" | 9 #include "vm/datastream.h" |
| 11 #include "vm/globals.h" | 10 #include "vm/globals.h" |
| 12 #include "vm/growable_array.h" | 11 #include "vm/growable_array.h" |
| 12 #include "vm/log.h" |
| 13 #include "vm/object.h" | 13 #include "vm/object.h" |
| 14 #include "vm/log.h" | 14 #include "vm/runtime_entry.h" |
| 15 | 15 |
| 16 namespace dart { | 16 namespace dart { |
| 17 | 17 |
| 18 class DescriptorList : public ZoneAllocated { | 18 class DescriptorList : public ZoneAllocated { |
| 19 public: | 19 public: |
| 20 explicit DescriptorList(intptr_t initial_capacity) | 20 explicit DescriptorList(intptr_t initial_capacity) |
| 21 : encoded_data_(initial_capacity), | 21 : encoded_data_(initial_capacity), |
| 22 prev_pc_offset(0), | 22 prev_pc_offset(0), |
| 23 prev_deopt_id(0), | 23 prev_deopt_id(0), |
| 24 prev_token_pos(0) {} | 24 prev_token_pos(0) {} |
| (...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 const CodeSourceMap& map_; | 326 const CodeSourceMap& map_; |
| 327 const Array& functions_; | 327 const Array& functions_; |
| 328 const Function& root_; | 328 const Function& root_; |
| 329 | 329 |
| 330 DISALLOW_COPY_AND_ASSIGN(CodeSourceMapReader); | 330 DISALLOW_COPY_AND_ASSIGN(CodeSourceMapReader); |
| 331 }; | 331 }; |
| 332 | 332 |
| 333 } // namespace dart | 333 } // namespace dart |
| 334 | 334 |
| 335 #endif // RUNTIME_VM_CODE_DESCRIPTORS_H_ | 335 #endif // RUNTIME_VM_CODE_DESCRIPTORS_H_ |
| OLD | NEW |