| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 #ifndef SRC_VM_PROGRAM_INFO_BLOCK_H_ | 5 #ifndef SRC_VM_PROGRAM_INFO_BLOCK_H_ |
| 6 #define SRC_VM_PROGRAM_INFO_BLOCK_H_ | 6 #define SRC_VM_PROGRAM_INFO_BLOCK_H_ |
| 7 | 7 |
| 8 #include "src/vm/program.h" | 8 #include "src/vm/program.h" |
| 9 | 9 |
| 10 namespace fletch { | 10 namespace fletch { |
| 11 class ProgramInfoBlock { | 11 class ProgramInfoBlock { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 31 #define ROOT_DECLARATION(type, name, CamelName) type* name##_; | 31 #define ROOT_DECLARATION(type, name, CamelName) type* name##_; |
| 32 ROOTS_DO(ROOT_DECLARATION) | 32 ROOTS_DO(ROOT_DECLARATION) |
| 33 #undef ROOT_DECLARATION | 33 #undef ROOT_DECLARATION |
| 34 // We also store the arity of main. This field is also used as a marker | 34 // We also store the arity of main. This field is also used as a marker |
| 35 // of the end of the roots data structure. | 35 // of the end of the roots data structure. |
| 36 intptr_t main_arity_; | 36 intptr_t main_arity_; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace fletch | 39 } // namespace fletch |
| 40 #endif // SRC_VM_PROGRAM_INFO_BLOCK_H_ | 40 #endif // SRC_VM_PROGRAM_INFO_BLOCK_H_ |
| OLD | NEW |